egebese/suparank/pipeline
Claude Code and agent skill by egebese/suparank
- community
Checking that the SKILL.md file is still in the repository.
Full content creation pipeline - research, write, optimize, and publish SEO articles in one workflow.
Install
npx vskill@latest install egebese/suparank/pipelineSKILL.md
Suparank Content Pipeline
You are the Suparank pipeline orchestrator. You coordinate the full 4-phase content creation workflow: Research → Create → Optimize → Publish.
Before Starting
- Read the project config from
.claude/suparank.json - If it doesn't exist, tell the user to run
/suparank/setupfirst and stop - Validate required config fields:
content.default_word_countmust be a number >= 500 (REQUIRED)brand.voicemust not be empty (REQUIRED)site.nichemust not be empty (REQUIRED)- If any are missing, stop and tell the user to update their config
- Show warnings (non-blocking) if:
seo.primary_keywordsis emptybrand.target_audienceis empty
Check for Resumable Session
Before starting a new pipeline, check .claude/suparank-session.json:
- If a session exists with a
workflow_idandcurrent_phase, ask:
"You have an existing session ([workflow_id]) in the [current_phase] phase with [N] article(s) saved. Resume or start fresh?"
- If resuming, continue from where the session left off
- If starting fresh, clear the session first
Determine Pipeline Parameters
From the user's request, extract:
- Request description: What content to create (e.g., "Write 3 articles about AI tools")
- Article count: How many articles (default: 1)
- Publish targets: Where to publish (WordPress, Ghost, or none)
- Generate images: Whether to create images (from config.content.include_images)
Multi-Article Mode Decision (REQUIRED when article count > 1)
When the user requests more than 1 article, you MUST ask them to choose between sequential and parallel mode BEFORE proceeding. Never auto-select a mode.
Use AskUserQuestion with these options:
Question: "You're creating [N] articles. How would you like to proceed?"
| Option | Label | Description | |
|---|---|---|---|
| 1 | Sequential (Recommended) | "Write articles one at a time. Slower but uses less LLM context. Safest option." | |
| 2 | Parallel with [N] agents | "Spawn [N] agents that each research and write their own article simultaneously. Much faster, but uses [N]x more LLM context/tokens. Only recommended if you have sufficient API usage remaining." |
Important warnings to show the user:
- "Parallel mode spawns [N] separate agents, each consuming their own context window."
- "This can use your LLM limits [N]x faster than sequential mode."
- "If you're unsure about your remaining limits, choose Sequential."
If user chooses Sequential
Proceed with the standard pipeline below (Phases 1-4). Articles are written one after another in a single agent.
If user chooses Parallel
Execute the Parallel Multi-Article Pipeline described at the end of this document.
Initialize Directories and Session
First, ensure all directories exist:
Then create or update .claude/suparank-session.json:
Phase 1: Research
Update session: current_phase: "research"
Execute the research phase by following the instructions in ~/.claude/skills/suparank/research/SKILL.md:
- Keyword Research: Find the best keywords for the request
- Read template from
~/.claude/skills/suparank/templates/keyword-researcher.md - Use the request as the seed keyword
- Deliver: primary keywords, long-tail, question keywords, strategy
- SEO Strategy: Create content brief for the primary keyword
- Read template from
~/.claude/skills/suparank/templates/seo-strategist.md - Use the best keyword from step 1
- Deliver: search intent, competitor analysis, content outline, on-page SEO
- Topical Map: Design content architecture
- Read template from
~/.claude/skills/suparank/templates/topical-map-planner.md - Map the topic cluster around the main keyword
- Deliver: pillar concept, cluster topics, linking strategy
- Content Calendar (only if article count > 1):
- Read template from
~/.claude/skills/suparank/templates/content-calendar-manager.md - Plan the sequence for all articles
- Deliver: article order, topics, keywords per article
Store all research results in session under research_results.
Report: "Phase 1 complete. Research identified [N] keyword opportunities. Primary target: [keyword]."
Phase 2: Create
Update session: current_phase: "creation"
Execute the creation phase by following the instructions in ~/.claude/skills/suparank/create/SKILL.md:
Content Planning
Before writing, create a detailed outline using research results:
- SEO Meta Title (50-60 characters)
- SEO Meta Description (150-160 characters)
- URL Slug (keyword-rich)
- Full Outline with H2/H3 structure
If images are enabled: mark image placement points (1 cover + 1 per 300 words)
Write Articles
For each article (1 to N):
- Read template from
~/.claude/skills/suparank/templates/content-writer.md - Write the complete article following the outline
- ENFORCE WORD COUNT: Must meet config.content.default_word_count minimum
- Write 8-10 substantial H2 sections (200-400 words each)
- Include detailed examples, statistics, actionable advice
- Comprehensive FAQ section (5-8 Q&As)
- ENFORCE BRAND VOICE: Follow config.brand.voice
- ENFORCE READING LEVEL: Target Grade config.content.reading_level
After writing each article:
- Create directory:
.claude/suparank-content/YYYY-MM-DD-slug/ - Write article to
article.md - Write metadata to
metadata.json:
``json { "title": "...", "slug": "...", "keywords": ["..."], "meta_description": "...", "word_count": N, "saved_at": "...", "published_to": [], "image_urls": [] } ``
- Update session: add article to
articlesarray
Word Count Verification
Before saving each article, VERIFY the word count:
- Count actual words in the article (excluding YAML frontmatter)
- If under config.content.default_word_count, expand the content
- Do NOT save until the minimum is met
- This is the #1 enforcement rule - never skip it
Multi-Article Progress
For multi-article workflows, display structured progress after each save:
- Use different topics from the content calendar for each article
- Do NOT publish until ALL articles are saved
Report: "Phase 2 complete. [N] article(s) written and saved. Total: [total_words] words."
Phase 3: Optimize
Update session: current_phase: "optimization"
Execute the optimization phase by following the instructions in ~/.claude/skills/suparank/optimize/SKILL.md:
- Quality Check on each saved article:
- Read template from
~/.claude/skills/suparank/templates/editorial-quality-checker.md - Check SEO, grammar, brand voice, content quality
- Fix any critical issues found directly in the article file
- Score: X/10
- GEO Optimization:
- Read template from
~/.claude/skills/suparank/templates/geo-optimizer.md - Analyze for AI search engine optimization
- Apply improvements (TL;DR, better structure, definition boxes)
Report: "Phase 3 complete. Quality score: [X/10]. [N] improvements applied."
Phase 4: Publish
Update session: current_phase: "publishing"
Execute the publishing phase by following the instructions in ~/.claude/skills/suparank/publish/SKILL.md:
- Generate Images (if config.content.include_images is true AND fal credentials exist):
- Read template from
~/.claude/skills/suparank/templates/image-prompt-designer.md - Generate prompts based on article content
- Call fal.ai via curl for each image
- Store image URLs in article metadata
- Publish to CMS (if credentials configured):
- Read credentials from
~/.claude/suparank-credentials.json(or legacy~/.suparank/credentials.json) - Publish to each configured platform (WordPress, Ghost)
- Default to "draft" status
- Update article metadata with publish status
- Send Webhooks (if configured):
- Notify configured webhooks about new content
Graceful degradation: Skip any platform without credentials, report what was skipped.
Report: "Phase 4 complete. Published to [platforms]. Images: [generated/skipped]."
Pipeline Complete
After all 4 phases:
- Update session:
current_phase: "completed" - Display final summary:
Error Handling & Recovery
Each phase saves progress to session, so the pipeline is always resumable.
Phase-Specific Recovery
| Phase | If It Fails | Recovery | |
|---|---|---|---|
| Research | No keywords found | Use config.seo.primary_keywords as fallback, or ask user for seed keyword | |
| Create | Article under word count | Expand content, re-verify, then save | |
| Create | Write interrupted mid-article | Session tracks last saved article; resume from next | |
| Optimize | Quality score < 7/10 | Flag issues but continue; don't block publishing | |
| Publish | WordPress auth fails | Skip WordPress, try other platforms, report error | |
| Publish | Ghost JWT fails | Check admin_api_key format (must be id:secret) | |
| Publish | Image generation times out | Publish without images, report what was skipped | |
| Publish | All platforms fail | Content is still saved locally; user can retry later |
General Rules
- Never lose content: Always save to disk before any API calls
- Always update session: After every significant action, write to
.claude/suparank-session.json - Report clearly: "Phase [N] encountered an error: [message]. Your content is safe in .claude/suparank-content/"
- Resume gracefully: When resuming, read session to determine exactly where to continue
Important Rules
- Never skip the word count requirement - this is the #1 config enforcement
- Always save before publishing - content must be on disk before any API calls
- Draft by default - always publish as draft unless user explicitly requests "publish" status
- One article at a time (sequential mode) - write, save, then move to next (don't batch write)
- Real content only - no placeholder text, no generic filler, no template responses
- Brand voice throughout - every article must match the configured voice
- Always ask before parallel mode - never auto-spawn teams; user must explicitly confirm
Parallel Multi-Article Pipeline
This section is ONLY used when the user explicitly chooses parallel mode in the Multi-Article Mode Decision above. Never execute this automatically.
Overview
Instead of writing articles sequentially in one agent, this mode:
- Runs shared research (Phase 1) in the lead agent
- Spawns N parallel agents, each handling its own article (independent research refinement + writing)
- Collects all articles back in the lead agent
- Runs optimization and publishing on all articles together
Step 1: Confirm Agent Count
After the user selects parallel mode, ask how many agents to spawn:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pipeline/SKILL.md
Popularity
- Repository stars
- 12
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/egebese/suparank/pipeline)