Skip to content
Agentmart
Submit a tool

opencm_blog

Plan, generate (FR + 4 translations), publish atomically, and verify OpenCM blog articles with immediate error reporting.

Skill by RemiPelloux

IndexedMIT
Write a review

Chalk Labs

Need help deploying opencm_blog?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/remipelloux-opencm-blog

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Plan, generate (FR + 4 translations), publish atomically, and verify OpenCM blog articles with immediate error reporting.

Use cases: writing, marketing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/opencm-blog

What's inside

Skill name
opencm_blog
Description
Plan, generate (FR + 4 translations), publish atomically, and verify OpenCM blog articles with immediate error reporting.
License
MIT
Instructions
88 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (1)

  • SKILL.md

SKILL.md (first lines)

# OpenCM Blog Publisher

Manage articles for `opencm.eu` using the **real** API spec. Every article is published in French (canonical) + EN, ES, IT, DE in a single atomic POST.

## Hard rules

1. Never claim success unless `POST` returned `201` AND `GET /api/articles/{slug}/fr` confirms the article.
2. Report every error immediately with the exact code and message.
3. Never reuse a burned slug — generate a fresh one.
4. `sourceLang: "fr"` must be set on every article.
5. Translations go into the `translations` field of the POST body — not separate PUTs.

## Publish workflow (per article)

1. Load today's entry from the weekly calendar JSON.
2. Verify slug is not already taken (regenerate if needed using keyword, not title).
3. Generate canonical French article via LLM (min 900 words, SEO structure).
4. Generate EN + ES + IT + DE translations in **one LLM call**.
5. **One POST** with `sourceLang`, `translations`, and all canonical fields.
6. Verify via `GET /api/articles/{slug}/fr` (O(1), not a full list scan).
7. Update calendar entry status + save JSON + re-render Markdown.
8. Send Telegram with full report including per-language translation status.

## API endpoints used

| Method | Path | When |
|---|---|---|
| `GET` | `/api/articles` | Weekly calendar — get taken slugs |
| `POST` | `/api/articles` | Publish article + all translations |
| `GET` | `/api/articles/{slug}/fr` | Post-creation verification |
| `PUT` | `/api/articles/{slug}/{lang}` | Manual translation fix only |

## Key API constraints (from spec)

- `slug`: lowercase-kebab-case, ≤ 120 chars, globally unique — **burned on first use**.
- `keywords`: max 30 entries, each ≤ 80 chars.
- `title`: ≤ 300 chars. `description`: ≤ 600 chars.
- `translations.<lang>`: needs all 3 of `title`, `description`, `content`.
- Do NOT include `sourceLang` as a translation key (API returns 409).
- `409` on slug = burned, generate new one — **never retry same slug**.

## SEO keyword pool

130+ keywords organized across 9 categories. Scripts rotate through them weekly, skipping keywords whose slug matches an existing article.

Categories in use: `Guide` · `Business` · `Produit` · `Tutoriel` · `Actus`

Key topics: alternatives (Hootsuite, Loomly, Planable, Agorapulse, Buffer…), white-label, portail client, tarifs freelance, calendrier éditorial, automatisation, gestion Instagram/LinkedIn/Facebook/TikTok, reporting, analytics, lancer agence CM.

## Runtime files

| File | Location |
|---|---|
| `common.py` | `~/blog-automation/common.py` |
| `generate_weekly_calendar.py` | `~/blog-automation/generate_weekly_calendar.py` |
| `publish_daily_article.py` | `~/blog-automation/publish_daily_article.py` |
| Weekly calendar (JSON) | `~/.hermes/data/opencm_blog/weekly-calendar-YYYY-MM-DD.json` |
| Weekly calendar (MD) | `~/.hermes/data/opencm_blog/weekly-calendar-YYYY-MM-DD.md` |
| Logs | `~/.hermes/data/opencm_blog/*.log` |

## Cron schedule

```
0 9 * * 0   generate_weekly_calendar.py   # Every Sunday 09:00
0 11 * * *  publish_daily_article.py      # Every day 11:00
```

## Required env vars (`~/.hermes/.env`)

- `OPENCM_BLOG_API_TOKEN` — Bearer token
- `TELEGRAM_BOT_TOKEN` + `TELEGRAM_HOME_CHANNEL` — for alerts
- `OPENAI_API_KEY` — fallback LLM when OpenIntelligence is unavailable

## Manual commands

```bash
# Generate this week's calendar now
python3 ~/blog-automation/generate_weekly_calendar.py

# Publish today's article now
python3 ~/blog-automation/publish_daily_article.py

# View logs
tail -50 ~/.hermes/data/opencm_blog/daily-publish.log
tail -20 ~/.hermes/data/opencm_blog/weekly-calendar.log
```

From RemiPelloux/molt-official, MIT.

More from RemiPelloux/molt-official

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 2, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from RemiPelloux

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get opencm_blog running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying opencm_blog?

CallGet help
Cite this page

opencm_blog skill. Agent Mart. https://agentmart.dev/skills/remipelloux-opencm-blog (last updated 2026-10-24)