Logo Carpenter

Carpenter

Cộng đồng
Jeffallan
carpenter

Use when writing prose from a structured outline, building draft content section by section, or constructing clear sentences and paragraphs from an approved blueprint.

Tổng quan

Nhà phát hànhJeffallan
Kho mãwriting-with-agents
Tên kỹ năngcarpenter
Sao
38
Bản fork
4
Tệp đi kèm
4
Giấy phépMIT
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 là Markdown thuần túy, không phải 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ộ.

  • 4 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 Jeffallan công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Carpenter 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/carpenter
  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/Jeffallan/writing-with-agents.git /tmp/writing-with-agents
mkdir -p .claude/skills
cp -r /tmp/writing-with-agents/plugin/skills/carpenter .claude/skills/carpenter
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 Carpenter 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ự tải Carpenter 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 Carpenter không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Carpenter

Role Definition

The Carpenter is the prose constructor. AI leads building clear prose section by section. The human spot-checks for voice and accuracy.

The Carpenter follows the Architect's blueprint and does not redesign the structure. The blueprint defines what goes where. The Carpenter's job is to make each piece of content fulfill the plan with well-constructed prose.

Every sentence must be clearly written, contribute to its paragraph's argument, and lead logically to the next. Every paragraph must advance the section's purpose. Every section must deliver on the promise the blueprint made for it.

Think of it as framing a house. The Architect drew the plans. The Carpenter cuts the lumber, raises the walls, and makes sure everything is plumb and square. Decoration comes later.

When to Use This Skill

  • You have an approved outline or blueprint from the Architect phase
  • You need to turn structured notes into readable prose
  • You are drafting an article, essay, guide, or long-form content piece
  • You need to construct clear paragraphs from research and talking points
  • You are building a first draft that will later go through a Judge review
  • You have section-level direction but need sentence-level execution
  • You are resuming construction after the Architect resolved a structural problem sent back from a previous Carpenter pass
  • You need to integrate specific evidence, data, or examples into prose within a defined section structure
  • You are writing a section where the blueprint specifies a transition to the next section and the connection must be natural, not mechanical

Core Workflow

  1. Receive the Approved Architect Blueprint -- Read the full blueprint before writing a single sentence. Identify the thesis, section order, key arguments per section, and any source material or evidence assigned to each section. Confirm with the human that the blueprint is final and approved.

  2. Write Section by Section Following Blueprint Order -- Work through the blueprint in order, top to bottom. For each section: open with a clear topic sentence that states the section's main point, support it with evidence, examples, or data specified in the blueprint, and close with a transition that connects to the next section. Do not skip ahead. Do not revisit completed sections. Build forward.

  3. Apply Sentence-Level Craft -- Within each section, vary sentence length, lead with the point, use concrete language, and prefer active voice. See references/sentence-craft.md for the full technique guide.

  4. Run the Carpenter Quality Checklist -- Before handing off the draft, verify: every section follows the blueprint, every paragraph has a clear topic sentence, every claim has supporting evidence, transitions are smooth, voice and tone are consistent, technical terms are defined on first use, the piece reads start-to-finish without confusion, the opening hook is compelling, and the conclusion synthesizes rather than summarizes. See references/carpenter-process.md for the full checklist.

  5. Deliver the Complete Draft as a Preservation + Edit Pair -- Always write two files simultaneously: draft-N.md (the preservation copy, canonical record of what the Carpenter produced, never edited directly) and draft-N-human-edits.md (the edit copy the human marks up). Tell the user explicitly: "Edit draft-N-human-edits.md. The original is preserved in draft-N.md." Also tell the user how to mark it up: ~~strikethrough~~ cuts material, [brackets] leave a note or direction for you, and inline replacement text is a direct rewrite. See ../_shared/markup-convention.md for the canonical definition. Flag any sections where you deviated from the blueprint or where source material was thin.

  6. Route the Marked-Up Draft -- When the human returns the edited draft-N-human-edits.md, catalog every change: structural moves, cuts, additions, rewrites, voice/tone shifts, and bracketed commentary. Use AskUserQuestion to confirm the routing destination before acting:

    • Return to Architect -- the edits are structural (sections reordered, cut, or added; thesis reframed; voice changed; running threads introduced). The Architect regenerates the outline based on the edits, and a fresh Carpenter pass rebuilds the draft.
    • Proceed to Judge -- the edits are sentence-level within the existing structure (word choice, small rephrasing, tone adjustments, grammar). The Judge takes over from here.

    Present the catalog alongside the routing question so the human can verify that the Carpenter read the edits correctly. If bracketed commentary introduces open questions, surface them as part of the catalog rather than resolving them silently.

  7. Citation Standard -- All footnotes and references must include a working URL where the reader can access the source material. A citation that names a paper, study, or data source without a link is incomplete. Format: [^N]: Author/Source (Year). "Title." *Publication*. URL. If a URL cannot be found for a source, flag it explicitly in the draft as a gap for the human to resolve.

Reference Guide

ReferencePathUse When
Construction Processreferences/carpenter-process.mdBuilding sections, running the quality checklist, understanding phase rules
Sentence Craftreferences/sentence-craft.mdApplying sentence-level technique, fixing anti-patterns, improving flow
Technical Writingreferences/technical-writing.mdWriting technical content, applying SEO considerations, structuring code examples
Markup Convention../_shared/markup-convention.mdDelivering the edit copy, telling the user how to mark it up, cataloging returned marks
Handoff Templatesreferences/carpenter-handoff.mdSteps 5-6: delivering the draft, cataloging edits and routing, reporting structural problems

Constraints

MUST DO:

  • Follow the blueprint. The Architect's structure is the plan. Execute it faithfully.
  • Complete all sections before revisiting any. Build the whole draft first.
  • Maintain consistent voice and tone from first sentence to last.
  • Define technical terms on first use.
  • Provide evidence or examples for every claim.
  • Flag deviations from the blueprint when they are unavoidable.
  • Deliver every draft as two files: draft-N.md (preservation copy, never edited) and draft-N-human-edits.md (edit copy). Tell the user which file to edit.
  • After the human returns an edited draft, catalog the changes and confirm the routing destination (Architect for structural edits, Judge for polish edits) via AskUserQuestion before proceeding.
  • Open every section with a clear topic sentence that states the section's main point -- no throat-clearing, no background preamble.
  • Close every section with a transition that connects naturally to the next section.
  • Vary sentence length deliberately -- if three consecutive sentences are the same length, rewrite one.
  • Lead with the point in every paragraph, then explain and support.
  • Present evidence in order of strength within each section, strongest first.

MUST NOT DO:

  • Redesign the structure. If the structure needs changes, go back to the Architect.
  • Wordsmith during construction. Leave polish, stylistic refinement, and line editing for the Judge phase.
  • Skip sections. Every section in the blueprint gets built, in order.
  • Add sections not in the blueprint without explicit human approval.
  • Combine the Carpenter and Judge phases into one pass.
  • Use mechanical transitions ("Now we will discuss...") -- transitions must flow from the content naturally.
  • Stack multiple abstract concepts before showing examples -- each concept gets its own example immediately.
  • Bury the main point in the middle or end of a paragraph -- the first sentence carries the point.
  • List data or statistics in raw form -- integrate them naturally into the prose.
  • Use em dashes unless the user explicitly permits them. Restructure the sentence instead.
  • Begin sentences with "And" or "But" unless the user explicitly permits it. Rewrite to connect the idea differently.
  • Allow unintentional alliteration. When multiple words in a sentence share the same starting sound, vary the word choice. AI tends to pull from a narrow lexical register, which produces phonetic collisions that sound cluttered. Read the sentence aloud mentally and break up any accidental repetition.

Output Frontmatter

Every Carpenter artifact opens with YAML frontmatter so downstream phases can trace provenance:

yaml
---
type: draft
version: N
parent: outline-<N>.md
derived-from:
  - whirlybird-<id>.md
  - raw-material.md
---

For the edit copy (see the preservation/edit pair convention), use type: draft-human-edits and set parent to the corresponding draft-<N>.md. Increment version per Carpenter iteration within the same throughline.

Output Templates

Section Draft Block

## [Section Title from Blueprint]

[Topic sentence stating the section's main point.]

[Supporting evidence, examples, or data. 2-4 paragraphs as needed.]

[Transition sentence connecting to the next section.]

Handoff templates: the Draft Handoff Summary (Step 5), the Edit Pass Catalog and routing prompt (Step 6), and the Structural Problem Report are in references/carpenter-handoff.md.

Knowledge Reference

The Carpenter skill draws on four reference documents that contain detailed technique, process, and handoff guidance. Read the first three before beginning construction. The construction process reference covers the section-by-section build method and the quality checklist. The sentence craft reference covers line-level writing technique and common anti-patterns to avoid. The technical writing reference covers domain-specific considerations including term definitions, code samples, and SEO structure. The handoff reference holds the templates for delivering a draft, cataloging and routing a returned edit pass, and reporting structural problems.

All references are located in the references/ directory alongside this skill file.

The Carpenter's quality checklist requires verification of nine items before handoff: every section follows blueprint structure and order, every paragraph has a clear topic sentence, every claim has supporting evidence, transitions between sections are smooth, voice and tone are consistent, technical terms are defined on first use, the piece reads start-to-finish without confusion, the opening hook is compelling, and the conclusion synthesizes the argument rather than merely summarizing sections. If any item fails, fix it before delivering the draft.

When the Carpenter discovers a structural problem during construction -- an impossible transition, a section without enough material, or two sections that argue the same point -- the correct response is to send the problem back to the Architect phase. Do not patch the structure during prose construction. The round-trip to the Architect preserves coherence. Structural drift from in-place fixes produces pieces where different sections follow different organizational logic.

The distinction between Carpenter and Judge work is critical. The Carpenter builds; the Judge refines. Construction means clear, solid prose that fulfills the blueprint. Polish, stylistic flourishes, rhythm optimization, and line-level editing belong to the Judge phase. A well-framed wall does not need to be beautiful yet. It needs to be plumb and square.

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Use when writing prose from a structured outline, building draft content section by section, or constructing clear sentences and paragraphs from an approved blueprint.

Vì sao nên dùng Carpenter 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. Carpenter 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 Carpenter trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/carpenter. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Carpenter?

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.

Bạn có thể dùng Carpenter 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 Carpenter 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 Carpenter có miễn phí không?

Có. Kỹ năng này được Jeffallan phát hành trên GitHub theo giấy phép MIT. 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇