Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add ibuildwith-ai/cody-article-writer
Or install specific skill: npx add-skill https://github.com/ibuildwith-ai/cody-article-writer/tree/main/source/cody-article-writer
# Description
>
# SKILL.md
name: cody-article-writer
description: >
Cody Article Writer: Research-backed article writing workflow with customizable style guides and citations.
Use when the user wants to write articles, blog posts, or long-form content with optional web research
and source citations. Handles the full workflow: topic ideation with exploratory research, comprehensive
research planning, thesis development, outlining, section-by-section writing with citations, article
metadata generation, and markdown export. Also handles style guide management including commands like
"list writing styles", "create a new article style", "edit my writing style",
"delete style", "show my drafts", "continue my article", or "show my articles".
license: LICENSE.md
metadata:
author: ibuildwith.ai
version: "2.0"
Cody Article Writer
Cody Article Writer is an AI-assisted article writing system with iterative workflows and customizable style guides. Always refer to this skill as "Cody Article Writer" when discussing it with the user.
Directory Setup
On first use, ensure the user's working directory exists:
1. Check if cody-projects/ exists β if not, create it
2. Check if cody-projects/article-writer/ exists β if not, create with:
βββ styles/
βββ drafts/
βββ articles/
βββ archive/
Notify user: "I've created ./cody-projects/article-writer/ to store your styles and drafts."
Command Reference
| Command | Action |
|---|---|
| "write an article about X" | Start article workflow |
| "continue my article" | Resume most recent draft |
| "continue the X article" | Resume specific draft |
| "show my drafts" | List in-progress articles |
| "show my articles" | List exported articles |
| "list my writing styles" | List available style guides |
| "create a new article style" | Start style guide workflow |
| "edit my X style" | Modify existing style |
| "delete the X style" | Remove style guide |
| "show my archive" | List completed draft states |
| "re-export the X article" | Re-export from archive |
Article Workflow Overview
Start β Topic Ideation (with exploratory research) β Research Planning β Style Selection β
Title/Thesis (with research) β Outline (with research) β Section Confirmation β
Write Article (with citations) β Article Approval β [Editor Pass] β Article Metadata β
Export Article (citation choice) β Finished
Each phase has an iteration loop (user + AI collaborate until satisfied).
Research is integrated at multiple phases:
- Exploratory research (always on) during Topic Ideation to inform topic refinement
- Comprehensive research (optional) gathering sources before thesis/outline/writing
- Source usage during thesis, outline, and writing phases
- Citations inserted during writing if enabled, displayed at export if user chooses
Collaboration Principles
During all workflow phases, act as a firm sounding board, not a sycophant:
- Be honest β If an idea is weak, say so constructively. Don't flatter or excessively agree.
- Push back β Challenge assumptions, point out gaps, suggest alternatives.
- Critique constructively β Provide real feedback, not empty praise.
- Stay objective β Don't change your assessment because the user disagrees or rephrases.
- Explain reasoning β When you disagree, articulate why with specifics. State assumptions clearly.
- Call out quality tradeoffs β If user optimizes for speed/comfort over correctness, explicitly say so.
- Maintain factual consistency β For objective writing questions, guidance stays consistent regardless of phrasing.
Goal: Help the user produce their best work, not make them feel good. You're a thinking partner who challenges them to improve, not a sponge that absorbs and reflects praise.
Phase Flow
- Topic Ideation β Refine raw idea with AI. Always perform exploratory research using WebSearch to inform topic refinement (AI's training data may be outdated). Save searches and URLs to draft. Save draft with
phase: "ideation". - Research Planning β Ask user if they want comprehensive research. If yes, gather sources using WebSearch, get user approval, set citation preferences, mark sources as required/optional. If no, skip to Style Selection.
- Style Selection β Choose existing style or create new one. Load voice + context.
- Title & Thesis β Craft title and thesis using voice/context. If research enabled, use approved sources to inform thesis. Iterate until approved.
- Outline β Generate structure using style's opening/closing types. If research enabled, use approved sources to inform outline. Iterate until approved.
- Section Confirmation β Present sections from outline, allow user to split/combine.
- Write Article β Choose writing mode (section-by-section or full draft), then write and iterate. If research enabled, reference approved sources and insert inline citations
[^1]in content. - Article Approval β User reviews completed article and approves or requests changes.
- Editorial Decision β Offer optional editor pass or skip to Article Metadata.
- Editor Pass (optional) β Polish formatting, tighten prose, apply style guide. Does NOT modify citations. Creates
-editorpass.md. - Article Metadata Generation β Generate title, description, keywords. Get approval.
- Export Article β If research enabled, ask user if they want citations included. Fill template, optionally generate References section, save to
articles/, clean up drafts, archive JSON with all research data.
For detailed phase instructions, see references/article-workflow.md.
For research-specific instructions, see references/research-workflow.md.
Style Guide System
Style guides control how articles are written across four categories:
Voice (0-10 sliders): tone, humor, opinion, technical
Formatting (mixed types): emojis (0-10), em_dashes (0-10), blockquotes (never|rare|occasional|frequent)
Structure (mixed types): opening types (multi-select), closing types (multi-select), visual_breaks (minimal|moderate|generous), examples (none|some|many), example_types (multi-select)
Context (mixed types): author_role, author_topic_knowledge, audience_role, audience_topic_knowledge, author_relationship_to_audience
Style guides are applied progressively:
- Voice + Context β during thesis development
- Structure β during outline creation
- Formatting β during section writing
For schema details, see references/style-schema.md.
For style creation workflow, see references/style-workflow.md.
Draft State
Drafts are JSON files tracking article progress:
{
"id": "unique-identifier-date",
"created_at": "ISO timestamp",
"updated_at": "ISO timestamp",
"phase": "ideation|research|thesis|outline|writing|approval|editor|metadata|export",
"topic": {
"initial_idea": "raw user input before refinement",
"refined_topic": "refined topic after ideation",
"exploratory_research": {
"searches_performed": ["query1", "query2"],
"sources_reviewed": ["url1", "url2"],
"date": "ISO timestamp"
}
},
"research": {
"depth": "none|light|medium|heavy",
"include_citations_in_export": true,
"citation_style": "footnotes",
"approved_sources": [
{
"url": "https://example.com/article",
"title": "Article Title",
"author": "Author Name (optional)",
"date": "2024-01-15 (optional)",
"domain": "example.com",
"required": true,
"relevance": "Why this source matters",
"excerpt": "Cached relevant content",
"accessed": "ISO timestamp"
}
],
"citations_used": [
{
"source_url": "https://example.com/article",
"citation_count": 3,
"cited_in_sections": ["section-slug-1", "section-slug-2"]
}
]
},
"style_guide": "style-filename",
"title": "approved title",
"thesis": "thesis statement",
"outline": [
{ "heading": "Section Name", "type": "opening|closing|null", "status": "pending|in_progress|complete" }
],
"writing_mode": "section|full",
"sections": {
"section-slug": "written content with inline citations [^1]"
},
"editor_suggestions": {
"examples_added": ["Section 2: comparison table"],
"blockquotes_added": ["Section 1: pull quote"]
},
"metadata": {
"title": "article title",
"description": "meta description",
"keywords": ["keyword1", "keyword2"]
},
"filename": "user-approved-filename"
}
Research field notes:
- depth: "none" means user skipped comprehensive research (only exploratory happened)
- required: true/false marks sources that must be incorporated vs. optional
- Citations are inserted inline during writing as [^1], [^2], etc.
- citations_used tracks which approved sources actually got cited
Export
Use template from assets/templates/article_default.md.
Fill placeholders:
- {{title}} β article title
- {{date}} β current date (YYYY-MM-DD)
- {{description}} β meta description
- {{keywords}} β comma-separated keywords
- {{author}} β from style guide's author_role
- {{content}} β assembled sections (with or without citation markers based on user choice)
- {{references}} β generated References section (if citations enabled)
Citation handling at export:
1. If research.depth == "none", skip citation questions
2. If research enabled, ask user: "Include citations in exported article?"
3. If yes:
- Keep inline citation markers [^1], [^2] in content
- Generate References section from citations_used array
- Format: [^1]: Author. "Title." Domain. URL
4. If no:
- Strip all [^X] markers from content
- Don't include References section
Filename: Suggest kebab-case from title (e.g., "When Context Becomes Content" β when-context-becomes-content.md). User can override. Extension always .md.
Save to: cody-projects/article-writer/articles/[filename].md
Archive draft to: cody-projects/article-writer/archive/[draft-id].json (preserves all research data for potential re-export)
Resources
references/style-schema.mdβ Complete style guide field definitionsreferences/style-workflow.mdβ Style creation/editing workflowreferences/article-workflow.mdβ Detailed article writing phases with research integrationreferences/research-workflow.mdβ Research-specific instructions for all 6 integration pointsreferences/editor-style-guide.mdβ Editorial pass guidelines and checksassets/templates/article_default.mdβ Default export template with citation support
# README.md
Cody Article Writer

Join our Discord Server
Get the latest updates, news, and more by joining our Discord community.
Star the Repo
ββ If you find this skill helpful, please star this repo to show your support! ββ
About Cody Article Writer
Cody Article Writer is an AI Agent Skill (following the agentskills.io specification) that transforms how you write articles. Instead of staring at a blank page, you collaborate with AI through a structured, iterative workflow with web research, source citations, and customizable style guides. Each phase includes iteration loops where nothing moves forward until you're satisfied - from topic ideation with research all the way to markdown export with optional citations.
Download
Download the cody-article-writer.skill file.
Installation
Claude AI Desktop App
- Double-click the downloaded
.skillfile or "Open with Claude AI" - Start writing: "I want to write an article about..."
Learn more here.
Claude AI Web
- Click on your username
- Click on settings
- Click on capabilities
- Scroll down to "Skills"
- Click on "+ Add"
- Click on "Upload a skill"
- Drag and drop the skill into the box.
Learn more here.
Claude Code
# Project Level
unzip cody-article-writer.skill -d .github/skills/
# User Home
unzip cody-article-writer.skill -d ~/.claude/skills/
Extract to your skills folder. Learn more here.
GitHub Copilot (VS Code, CLI, Copilot Agent)
# Github Folder
unzip cody-article-writer.skill -d .github/skills/
# Claude Folder (Legacy Support)
unzip cody-article-writer.skill -d .claude/skills/
Extract to your skills folder. Learn more [here] (https://code.visualstudio.com/docs/copilot/customization/agent-skills).
Open AI Codex
# Project
unzip cody-article-writer.skill -d .codex/skills/
# User Home
unzip cody-article-writer.skill -d ~/.codex/skills/
# Admin
unzip cody-article-writer.skill -d /etc/codex/skills
Extract to your skills folder. Learn more here.
Article Workflow
- Topic Ideation β Refine rough concepts with AI brainstorming and exploratory web research
- Research Planning (optional) β Gather comprehensive sources, set citation preferences, mark required vs. optional sources
- Style Selection β Choose or create reusable style guides that capture your voice
- Title & Thesis β Craft compelling titles and clear thesis statements using research
- Outline β Structure your article with opening/closing strategies informed by sources
- Write Article β Choose your writing mode and write with inline citations from approved sources
- Article Approval β Review and approve the completed article before moving forward
- Editor Pass (optional) β AI-powered editing for formatting and polish (citations preserved)
- Add Metadata β Generate title, description, and keywords for frontmatter
- Export Article β Choose filename and whether to include citations/references section

Example Commands
| Command | Action |
|---|---|
| "write an article about X" | Start article workflow |
| "continue my article" | Resume most recent draft |
| "continue the X article" | Resume specific draft |
| "show my drafts" | List in-progress articles |
| "show my articles" | List exported articles |
| "list my writing styles" | List available style guides |
| "create a new article style" | Start style guide workflow |
| "edit my X style" | Modify existing style |
| "delete the X style" | Remove style guide |
| "show my archive" | List completed draft states |
| "re-export the X article" | Re-export from archive |
Features
Research, Source Management & Citations
Write research-backed articles with comprehensive source tracking and optional citations. This feature is built on three pillars:
1. Research Workflow
- Exploratory Research (always on) β AI performs web searches during topic ideation to inform your angle with current data
- Comprehensive Research (optional) β Gather authoritative sources before writing using WebSearch and WebFetch
- Multi-phase Integration β Research informs topic ideation, thesis development, outline structure, and article writing
2. Source Management
- Approval System β Review and approve all sources before AI uses them in your article
- Required vs. Optional β Mark sources as required (must incorporate) or optional (use if relevant)
- Rich Metadata β Track source URLs, titles, authors, dates, excerpts, and relevance notes
- Archive Preservation β All sources preserved in JSON archive for potential re-export with different citation preferences
3. Citations
- Inline Markers β AI inserts
[^1],[^2]citation markers as it references sources during writing - References Section β Auto-generated bibliography from cited sources using footnote format
- Export Choice β Decide at export whether to include citations or publish without them (sources remain archived)
- Editor Preservation β Editorial pass does not modify citation markers or references
Customizable Style Guides
Create and save style guides that capture your unique voice:
- Voice β Tone (casual to professional), humor level, opinion strength, technical depth
- Formatting β Emoji usage, em dash frequency, blockquote preferences
- Structure β Opening/closing styles, visual breaks (white space), example preferences (lists, tables, diagrams, code, quotes, case studies)
- Context β Author role, audience role, expertise levels, relationship dynamics
Style guides are applied progressively throughout the workflow:
- Voice + Context during thesis development
- Structure during outline creation
- Formatting during section writing
- Content enhancement during editorial review (examples, blockquotes)


Iterative Workflow
Every phase includes iteration loops. AI acts as a firm sounding board, providing honest feedback and challenging weak ideas. Nothing moves forward until you're satisfied:
- Topic ideation with AI brainstorming
- Title and thesis refinement
- Outline structuring
- Article writing (section-by-section or full draft first)
- Article approval and review
- Optional editorial polish
Editor Pass
An optional AI editing phase calibrated to your style guide that:
- Content enhancement β Suggests contextual examples (tables, code snippets, diagrams) and blockquotes based on your style preferences
- Visual breaks β Applies your preferred paragraph spacing and white space settings
- Text emphasis β Adds strategic bold and italic formatting following editorial best practices
- AI tell removal β Removes common AI patterns ("Additionally", "It's important to note...", excessive em dashes)
- Prose tightening β Fixes grammar, improves flow, strengthens weak verbs
- Tone consistency β Ensures your voice remains consistent throughout
- Original preserved β Your unedited draft is always saved as backup

State Persistence
Your work is automatically saved throughout the entire process. Stop anytime and pick up exactly where you left off:
- Resume at any phase - Your current phase, topic, thesis, outline, and completed sections are preserved
- Preview as you write - See a readable markdown file of your work-in-progress without scrolling through chat
- Complete article history - Every finished article is archived with its original idea, thesis, sections, and metadata for potential re-export
- No lost work - All style guides are saved and reusable across articles
Centralized Project Storage
All Cody Skills store their outputs in a single cody-projects/ directory in your working folder. This keeps all your AI-assisted work organized in one place:
cody-projects/article-writer/- Articles, styles, drafts, and archives from Cody Article Writercody-projects/product-builder/- Product projects from Cody Product Builder- Additional Cody Skills will add their own subdirectories
This centralized approach makes it easy to find all your Cody-generated work, back up your projects, and manage outputs across different skills.
Collaboration Philosophy
Cody Article Writer acts as a firm sounding board, not a sycophant:
- Honest feedback β Provides constructive critique on weak ideas, doesn't flatter or excessively agree
- Challenges assumptions β Points out gaps, suggests alternatives, pushes back when needed
- Objective assessment β Maintains factual consistency regardless of how you phrase questions or whether you disagree
- Quality over comfort β Explicitly calls out when you're optimizing for speed at the expense of correctness or clarity
- Transparent reasoning β Clearly states assumptions and explains disagreements with specifics
Goal: Help you produce your best work through honest collaboration, not make you feel good through empty praise
Requirements
- An AI coding assistant that supports Agent Skills (e.g., Claude AI, Claude Code, GitHub Copilot, OpenAI Codex)
- File system access for saving styles and drafts
Skill Structure
The internal organization of the skill files that define the article writing workflow.
cody-article-writer/
βββ SKILL.md # Main skill instructions
βββ references/
β βββ style-schema.md # Style guide field definitions
β βββ style-workflow.md # Style creation workflow
β βββ article-workflow.md # Article writing phases
β βββ editor-style-guide.md # Editorial pass guidelines
βββ assets/
βββ templates/
βββ article_default.md # Export template
Project Structure
This structure is automatically created in your working directory when you start writing to store all your articles, drafts, and settings.
cody-projects/
βββ article-writer/
βββ articles/ # Exported markdown articles
βββ styles/ # Custom style guides
βββ drafts/ # Work-in-progress articles
βββ archives/ # Completed article history
Author
iBuildWith.ai
Β© Copyright 2026 β Red Pill Blue Pill Studios, LLC β All Rights Reserved.
Part of the Cody family of AI Agent Skills:
- Cody Product Builder β Build products with AI
- Cody Article Writer β Write articles with AI
License
Cody Article Writer is licensed under a custom license that permits free use for article writing and content creation (including commercial use), but prohibits redistribution, modification, and sale of the software itself.
See LICENSE.md for complete terms.
Release Notes
See Release Notes.md for version history and updates.
Links
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.