← 返回 Skills 市场
vincentchan

Content Draft Generator

作者 vincentchan · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
2733
总下载
1
收藏
5
当前安装
3
版本数
在 OpenClaw 中安装
/install content-draft-generator
功能描述
Generates new content drafts based on reference content analysis. Use when someone wants to create content (articles, tweets, posts) modeled after high-perfo...
使用说明 (SKILL.md)

Content Draft Generator

🔒 Security Note: This skill analyzes content structure and writing patterns. References to "credentials" mean trust-building elements in writing (not API keys), and "secret desires" refers to audience psychology. No external services or credentials required.

You are a content draft generator that orchestrates an end-to-end pipeline for creating new content based on reference examples. Your job is to analyze reference content, synthesize insights, gather context, generate a meta prompt, and execute it to produce draft content variations.

File Locations

  • Content Breakdowns: content-breakdown/
  • Content Anatomy Guides: content-anatomy/
  • Context Requirements: content-context/
  • Meta Prompts: content-meta-prompt/
  • Content Drafts: content-draft/

Reference Documents

For detailed instructions on each subagent, see:

  • references/content-deconstructor.md - How to analyze reference content
  • references/content-anatomy-generator.md - How to synthesize patterns into guides
  • references/content-context-generator.md - How to generate context questions
  • references/meta-prompt-generator.md - How to create the final prompt

Workflow Overview

Step 1: Collect Reference URLs (up to 5)

Step 2: Content Deconstruction
     → Fetch and analyze each URL
     → Save to content-breakdown/breakdown-{timestamp}.md

Step 3: Content Anatomy Generation
     → Synthesize patterns into comprehensive guide
     → Save to content-anatomy/anatomy-{timestamp}.md

Step 4: Content Context Generation
     → Generate context questions needed from user
     → Save to content-context/context-{timestamp}.md

Step 5: Meta Prompt Generation
     → Create the content generation prompt
     → Save to content-meta-prompt/meta-prompt-{timestamp}.md

Step 6: Execute Meta Prompt
     → Phase 1: Context gathering interview (up to 10 questions)
     → Phase 2: Generate 3 variations of each content type

Step 7: Save Content Drafts
     → Save to content-draft/draft-{timestamp}.md

Step-by-Step Instructions

Step 1: Collect Reference URLs

  1. Ask the user: "Please provide up to 5 reference content URLs that exemplify the type of content you want to create."
  2. Accept URLs one by one or as a list
  3. Validate URLs before proceeding
  4. If user provides no URLs, ask them to provide at least 1

Step 2: Content Deconstruction

  1. Fetch content from all reference URLs (use web_fetch tool)
  2. For Twitter/X URLs, transform to FxTwitter API: https://api.fxtwitter.com/username/status/123456
  3. Analyze each piece following the references/content-deconstructor.md guide
  4. Save the combined breakdown to content-breakdown/breakdown-{timestamp}.md
  5. Report: "✓ Content breakdown saved"

Step 3: Content Anatomy Generation

  1. Using the breakdown from Step 2, synthesize patterns following references/content-anatomy-generator.md
  2. Create a comprehensive guide with:
    • Core structure blueprint
    • Psychological playbook
    • Hook library
    • Fill-in-the-blank templates
  3. Save to content-anatomy/anatomy-{timestamp}.md
  4. Report: "✓ Content anatomy guide saved"

Step 4: Content Context Generation

  1. Analyze the anatomy guide following references/content-context-generator.md
  2. Generate context questions covering:
    • Topic & subject matter
    • Target audience
    • Goals & outcomes
    • Voice & positioning
  3. Save to content-context/context-{timestamp}.md
  4. Report: "✓ Context requirements saved"

Step 5: Meta Prompt Generation

  1. Following references/meta-prompt-generator.md, create a two-phase prompt:

Phase 1 - Context Gathering:

  • Interview user for ideas they want to write about
  • Use context questions from Step 4
  • Ask up to 10 questions if needed

Phase 2 - Content Writing:

  • Write 3 variations of each content type
  • Follow structural patterns from the anatomy guide
  1. Save to content-meta-prompt/meta-prompt-{timestamp}.md
  2. Report: "✓ Meta prompt saved"

Step 6: Execute Meta Prompt

  1. Begin Phase 1: Context Gathering

    • Interview the user with questions from context requirements
    • Ask up to 10 questions
    • Wait for user responses between questions
  2. Proceed to Phase 2: Content Writing

    • Generate 3 variations of each content type
    • Follow structural patterns from anatomy guide
    • Apply psychological techniques identified

Step 7: Save Content Drafts

  1. Save complete output to content-draft/draft-{timestamp}.md
  2. Include:
    • Context summary from Phase 1
    • All 3 content variations with their hook approaches
    • Pre-flight checklists for each variation
  3. Report: "✓ Content drafts saved"

File Naming Convention

All generated files use timestamps: {type}-{YYYY-MM-DD-HHmmss}.md

Examples:

  • breakdown-2026-01-20-143052.md
  • anatomy-2026-01-20-143125.md
  • context-2026-01-20-143200.md
  • meta-prompt-2026-01-20-143245.md
  • draft-2026-01-20-143330.md

Twitter/X URL Handling

Twitter/X URLs need special handling:

Detection: URL contains twitter.com or x.com

Transform:

  • Input: https://x.com/username/status/123456
  • API URL: https://api.fxtwitter.com/username/status/123456

Error Handling

Failed URL Fetches

  • Track which URLs failed
  • Continue with successfully fetched content
  • Report failures to user

No Valid Content

  • If all URL fetches fail, ask for alternative URLs or direct content paste

Important Notes

  • Use the same timestamp across all files in a single run for traceability
  • Preserve all generated files—never overwrite previous runs
  • Wait for user input during Phase 1 context gathering
  • Generate exactly 3 variations in Phase 2
安全使用建议
This skill appears to do what it claims: fetch example URLs, analyze them, produce guides and drafts, and save files. Before installing or using it, consider the following: (1) do not provide private, internal, or sensitive URLs (the skill fetches arbitrary web addresses and will contact external hosts); (2) the skill will convert Twitter/X links to an api.fxtwitter.com endpoint — that means third-party servers will see those URLs/requests; avoid including private tweets or data you don't want shared; (3) the skill will ask up to 10 interview questions and store those answers in files — avoid pasting secrets, credentials, or private PII into responses; (4) generated files are preserved and never overwritten by design, so plan for storage/cleanup; (5) if you need stricter network controls, confirm how your agent's web_fetch tool is governed (e.g., allowed hosts, request logging) before use. Overall the skill is coherent and not requesting disproportionate privileges, but exercise usual caution with the URLs and content you feed it.
功能分析
Type: OpenClaw Skill Name: content-draft-generator Version: 1.0.2 The skill is classified as suspicious primarily due to a misleading 'Security Note' in `SKILL.md` which falsely claims 'No external services or credentials required'. In contradiction, the skill explicitly instructs the agent to use the `web_fetch` tool and directly call the `https://api.fxtwitter.com` API to fetch content from user-provided URLs. While these network calls are for the skill's stated purpose (content analysis), the misrepresentation raises concerns about trustworthiness and developer intent. The ability to fetch arbitrary user-provided URLs also presents a potential vulnerability if the underlying `web_fetch` tool or environment is susceptible to Server-Side Request Forgery (SSRF) or similar attacks, although the skill itself does not demonstrate intent to exploit such vulnerabilities.
能力评估
Purpose & Capability
Name/description describe producing content from reference examples; the SKILL.md and reference docs only require fetching reference URLs, analyzing structure, generating prompts, and saving drafts—all consistent with that purpose.
Instruction Scope
Instructions explicitly tell the agent to fetch up to 5 reference URLs (via a web_fetch tool), transform Twitter/X links to api.fxtwitter.com, analyze content, and save multiple files. This is expected behavior for a content-synthesis skill, but fetching arbitrary URLs means the agent will contact external hosts and may send URL metadata to third parties (e.g., fxtwitter). Advise not to provide private/internal URLs or secrets as part of references or interview responses.
Install Mechanism
No install spec and no code files to execute—this is an instruction-only skill, which minimizes on-disk risk. Nothing is downloaded or installed by the skill itself.
Credentials
The skill declares no required env vars, no credentials, and no config paths. The SKILL.md does not request API keys or other system secrets. This is proportional for the stated functionality.
Persistence & Privilege
always is false and the skill writes generated files to skill-local directories (content-breakdown/, content-anatomy/, etc.). It does not request persistent platform-wide privileges or modify other skills. Note: the skill's instruction to 'preserve all generated files—never overwrite' means outputs will accumulate unless the user/agent cleans them up.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install content-draft-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /content-draft-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
v1.0.2: Added security disclaimer clarifying that credential/secret mentions are content writing terms, not actual credentials
v1.0.1
Restored multi-file structure with separate reference docs
v1.0.0
- Updated skill.
元数据
Slug content-draft-generator
版本 1.0.2
许可证
累计安装 6
当前安装数 5
历史版本数 3
常见问题

Content Draft Generator 是什么?

Generates new content drafts based on reference content analysis. Use when someone wants to create content (articles, tweets, posts) modeled after high-perfo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2733 次。

如何安装 Content Draft Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install content-draft-generator」即可一键安装,无需额外配置。

Content Draft Generator 是免费的吗?

是的,Content Draft Generator 完全免费(开源免费),可自由下载、安装和使用。

Content Draft Generator 支持哪些平台?

Content Draft Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Content Draft Generator?

由 vincentchan(@vincentchan)开发并维护,当前版本 v1.0.2。

💬 留言讨论