generate-content

generate-content is a skill for Claude Code, Codex from robinsadeghpour/content-workflow. It costs 63 tokens per session (1,448 once invoked), scanned B, original, MIT.

A content workflow that turns a saved idea into draft posts for TikTok in English and German, Instagram, and LinkedIn. It researches the idea, applies a chosen writing style, reviews the drafts, and creates slide images where needed.

In plain words
What is it for?
Use it to create social posts from a saved idea, including TikTok slides, Instagram captions, and LinkedIn content. It can also prepare a GitHub repository image for use in a slide.
Why use it?
It removes the need to research, rewrite, and adapt one idea separately for each platform. It also catches issues through a review step before the drafts are shown.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/robinsadeghpour/content-workflow/generate-content
Any agent
npx skills add robinsadeghpour/content-workflow --skill generate-content
Clone the repo
git clone --depth 1 https://github.com/robinsadeghpour/content-workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinsadeghpour/content-workflow/generate-content.svg)](https://agentmods.dev/skills/robinsadeghpour/content-workflow/generate-content)
Your own site
<a href="https://agentmods.dev/skills/robinsadeghpour/content-workflow/generate-content"><img src="https://agentmods.dev/badge/skills/robinsadeghpour/content-workflow/generate-content.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,448 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.01448
Opus 5 $0.00032 $0.00724
Sonnet 5 $0.00013 $0.00290
Haiku 4.5 $0.00006 $0.00145

Measured 5d ago against content hash ca4104383fd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

generate-content scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

The orchestrator handles everything: research pass, track selection, repo-screenshot dispatch, writer/critic loops, slide rendering via the two new skills, and DB writes. You do NOT run any scripts directly here.
.claude/skills/generate-content/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

generate-content — Full Pipeline Content Generation

One command turns a kept idea into platform-native drafts across 4 channels, with critic review applied before Robin sees anything.

Usage

/generate-content <idea_id>

<idea_id> — UUID of a kept idea from data/content.db.

What It Does

  1. Read the kept idea from data/content.db (must have status = 'kept').
  2. Research pass (D-06) — produces a structured brief at data/research/<idea_id>.md via NotebookLM. Cached on re-runs. Sets research_thin flag if sparse.
  3. Pick slide trackbranded or personal, from idea.visual_approach or inferred from the idea title.
  4. Repo screenshot pre-flight — if the idea references a GitHub repo, the repo-screenshot subagent captures a clean PNG of the repo card for use as an image-overlay slide.
  5. Per platform: spawn writer → run critic loop → render slides → save draft.
    • TikTok EN, TikTok DE: writer produces a slides_spec for the chosen track. Rendered via generate-branded-slides or generate-personal-slides.
    • Instagram: writer produces a caption only. Slides reuse TikTok EN PNGs (cropped if personal track).
    • LinkedIn: always branded. Writer produces a post text + branded slides_spec. Rendered via generate-branded-slides.
  6. Save drafts to data/content.db with status = 'critic_approved'.
  7. Report the summary table to Robin.

Implementation

Spawn the content-orchestrator agent:

Agent(content-orchestrator):
  "Generate content for idea <idea_id>."

The orchestrator handles everything: research pass, track selection, repo-screenshot dispatch, writer/critic loops, slide rendering via the two new skills, and DB writes. You do NOT run any scripts directly here.

Present the orchestrator's summary output to Robin when it completes.

Output to Robin

Content generation complete for idea: <idea_id> — "<title>"
Track: <branded|personal>   Repo screenshot: <yes|no>

Platform      | Slides                | Critic            | Draft ID
------------- | --------------------- | ----------------- | --------
TikTok EN     | personal N slides     | critic_approved   | <uuid>
TikTok DE     | personal N slides     | critic_approved   | <uuid>
Instagram     | reuses TikTok EN      | critic_approved   | <uuid>
LinkedIn      | branded N slides      | critic_approved   | <uuid>

Files: media/output/<idea_id>/

Next: /approve to review and schedule.

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 122 lines · 63 tokens per session scan B ca4104383fd2

Subscribe to this mod's changes

generate-content is a skill published in the GitHub repository robinsadeghpour/content-workflow (55 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 1,448 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens