Logo Cody Article Writer

Cody Article Writer

Tổ chức
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.

Tổng quan

Nhà phát hànhibuildwith-ai
Kho mãcody-article-writer
Tên kỹ năngcody-article-writer
Sao
29
Bản fork
2
Tệp đi kèm
7
Giấy phépLICENSE.md
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ibuildwith-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cody Article Writer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ibuildwith-ai/cody-article-writer/tree/main/source/cody-article-writer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cody Article Writer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cody Article Writer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cody Article Writer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Cody Article Writer làm được gì?

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

Vì sao nên dùng Cody Article Writer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cody Article Writer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cody Article Writer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ibuildwith-ai/cody-article-writer/tree/main/source/cody-article-writer. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cody Article Writer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cody Article Writer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cody Article Writer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cody Article Writer có miễn phí không?

Có. Kỹ năng này được ibuildwith-ai phát hành trên GitHub theo giấy phép LICENSE.md. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇