Cody Article Writer 标志

Cody Article Writer

组织
ibuildwith-ai
cody-article-writer

Article writing and draft management tool. Activate for these exact commands: "show my drafts", "show my archive", "show my articles", "list my writing styles", "create a new article style", "edit style", "delete style", "continue my article", "re-export". Also activate whenever someone wants to write, plan, outline, or research a blog post, article, essay, or thought leadership piece — any long-form written content about a topic. This includes casual requests like "I want to write about X" or "help me structure a post about Y." Covers topic ideation, research, outlining, drafting, style guide management, and export. NOT for emails, social media, API docs, slide decks, summaries, or PRDs.

概览

发布者ibuildwith-ai
代码仓库cody-article-writer
技能名称cody-article-writer
星标数
29
复刻数
2
附带文件
7
许可协议LICENSE.md
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ibuildwith-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Cody Article Writer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ibuildwith-ai/cody-article-writer/tree/main/source/cody-article-writer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ibuildwith-ai/cody-article-writer.git /tmp/cody-article-writer
mkdir -p .claude/skills
cp -r /tmp/cody-article-writer/source/cody-article-writer .claude/skills/cody-article-writer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Cody Article Writer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Cody Article Writer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Cody Article Writer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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."

For new users (no existing data), write the current skill version to cody-projects/article-writer/.cody-version.

Version Check

After Directory Setup and before any workflow begins, check for version migrations:

  1. Read the skill version from this file's frontmatter (the version field under metadata)
  2. Read cody-projects/article-writer/.cody-version
    • If missing, treat as version "1.0" (pre-version user)
    • If present, read the stored version string
  3. If stored version < skill version:
    • Run each migration step in order between the stored and current versions
    • After all migrations complete, write the current skill version to .cody-version
    • Summarize all changes to the user in one message
  4. If stored version == skill version: skip, proceed normally

For the migration chain and detailed steps, see references/migrations.md.

Command Reference

CommandAction
"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

  1. 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".
  2. 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.
  3. Style Selection — Choose existing style or create new one. Load voice + context.
  4. Title & Thesis — Craft title and thesis using voice/context. If research enabled, use approved sources to inform thesis. Iterate until approved.
  5. Outline — Generate structure using style's opening/closing types. If research enabled, use approved sources to inform outline. Iterate until approved.
  6. Section Confirmation — Present sections from outline, allow user to split/combine.
  7. 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.
  8. Article Approval — User reviews completed article and approves or requests changes.
  9. Editorial Decision — Offer optional editor pass or skip to Article Metadata.
  10. Editor Pass (optional) — Polish formatting, tighten prose, apply style guide. Does NOT modify citations. Creates -editorpass.md.
  11. Article Metadata Generation — Generate title, description, keywords. Get approval.
  12. 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:

json
{
  "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
    • Remove the {{references}} placeholder line entirely from the output to avoid trailing whitespace

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 definitions
  • references/style-workflow.md — Style creation/editing workflow
  • references/article-workflow.md — Detailed article writing phases with research integration
  • references/research-workflow.md — Research-specific instructions for all 6 integration points
  • references/editor-style-guide.md — Editorial pass guidelines and checks
  • references/migrations.md — Version migration chain and upgrade steps
  • assets/templates/article_default.md — Default export template with citation support

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Cody Article Writer AI 技能有什么作用?

Article writing and draft management tool. Activate for these exact commands: "show my drafts", "show my archive", "show my articles", "list my writing styles", "create a new article style", "edit style", "delete style", "continue my article", "re-export". Also activate whenever someone wants to write, plan, outline, or research a blog post, article, essay, or thought leadership piece — any long-form written content about a topic. This includes casual requests like "I want to write about X" or "help me structure a post about Y." Covers topic ideation, research, outlining, drafting, style gu...

为什么在 TypingMind 中使用 Cody Article Writer?

因为您只需安装一次,就能搭配任何模型使用。Cody Article Writer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Cody Article Writer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ibuildwith-ai/cody-article-writer/tree/main/source/cody-article-writer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Cody Article Writer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Cody Article Writer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Cody Article Writer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Cody Article Writer AI 技能免费吗?

是的。ibuildwith-ai 已在 GitHub 上根据 LICENSE.md 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇