Content draft generator

From sundial-org/awesome-openclaw-skills · View interactive version

Content draft generator is an AI agent skill from the GitHub repository sundial-org/awesome-openclaw-skills. Generates new content drafts based on reference content analysis. Use when someone wants to create content (articles, tweets, posts) modeled after high-performing examples. Analyzes reference URLs, extracts patterns, generates context questions, creates a meta-prompt, and produces multiple draft var

How to use this skill

Skill file

Content Draft Generator

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

Reference Documents

For detailed instructions on each subagent, see:

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:
  1. Save to content-anatomy/anatomy-{timestamp}.md
  2. 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:
  1. Save to content-context/context-{timestamp}.md
  2. 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:

Phase 2 - Content Writing:

  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
  1. Proceed to Phase 2: Content Writing

Step 7: Save Content Drafts

  1. Save complete output to content-draft/draft-{timestamp}.md
  2. Include:
  1. Report: "✓ Content drafts saved"

File Naming Convention

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

Examples:

Twitter/X URL Handling

Twitter/X URLs need special handling:

Detection: URL contains twitter.com or x.com

Transform:

Error Handling

Failed URL Fetches

No Valid Content

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.