← ClaudeAtlas

generate-contentlisted

Generate draft text for one or more social platforms from a topic or URL. Wraps `postall-agent generate`. Activates when the user wish includes a content topic plus a publishing intent ("write a tweet about X", "draft a LinkedIn post on Y", "summarize this URL into a wechat article").
qingxuantang/tar-engine · ★ 0 · AI & Automation · score 68
Install: claude install-skill qingxuantang/tar-engine
# Generate Content Skill Produce platform-specific draft text using PostAll's generator. ## Inputs The planner provides these args (read from `args`): - `topic` (required) — what the content is about, in plain language. - `platforms` (required) — comma-separated list, e.g. `twitter,linkedin,wechat`. - `style` (optional) — `professional` / `casual` / `technical` / `playful`. Default: `professional`. - `url` (optional) — if the wish included a URL, pass it so postall extracts content from it. If `topic` or `platforms` is missing, return an error final message and do not call postall-agent. ## Execution Invoke `postall-agent` via `run_bash`. Build the command from the args: ```bash postall-agent generate \ --topic "<TOPIC>" \ --platforms "<PLATFORMS>" \ [--style "<STYLE>"] \ [--url "<URL>"] ``` The CLI prints a JSON object to stdout. Capture it. ## Output handling Parse the JSON. Key fields you must return to the user: - `draft_id` — needed by downstream skills (image, publish). - `platforms` — confirmation of which platforms got drafts. - `content_preview` — first 200 chars of each platform's draft for the user to skim. Return a single concise final message in this shape: ``` Draft created. draft_id: <ID> platforms: <PLATFORMS> Twitter: <first ~200 chars> LinkedIn: <first ~200 chars> ``` If `postall-agent` returns `success: false`, surface the error message to the user verbatim and do NOT pretend the draft was created. ## Composability notes Othe