Create, edit, and organize Craft.do documents. Use when the user asks to "create a Craft doc", "write to Craft", "append to a Craft document", "move a Craft doc to a folder", or "add formatted content to Craft".
Render mermaid diagrams from .mmd files to ASCII and SVG for Craft.do. Use when the user asks to "render a mermaid diagram", "update diagrams in Craft", or "regenerate ASCII from .mmd files".
Browse and read Craft.do workspace documents. Use when the user asks to "read a Craft doc", "search Craft for X", "list Craft folders", "show recent Craft docs", "check today's Craft daily note", or references a Craft doc ID.
CLI for the Craft.do workspace API. Read, write, and manage docs from the terminal.
git clone https://github.com/gustin/craft-cli.git
cd craft-cli
mise install
mise trust
npm install
Create .mise.local.toml with your Craft API credentials:
[env]
CRAFT_API_KEY = "pdk_your-key-here"
CRAFT_API_BASE = "https://connect.craft.do/links/YOUR_LINK/api/v1"
Get these from Craft Settings > API Connections.
List folders, search docs, read content.
craft folders
craft recent
craft docs --folder Business
craft docs --sort modified --since today
craft search "ontology"
craft search "TODO|FIXME" --folder Product
craft search "query" --title
craft search "pattern" --doc <docId>
craft read <docId>
craft read <docId> --meta
craft today
craft tasks
Create docs, append content, upload files. Pipe content via stdin.
craft create "title" --folder Product
craft append <docId>
craft update <blockId>
craft upload <docId>
craft mv <docId> Product
craft delete <docId>
Operate on individual blocks within a doc.
craft rmblock <blockId>
craft mvblock <blockId> --to <docId>
Manage structured data in Craft collections.
craft collections
craft collection:schema <colId>
craft collection:items <colId>
craft collection:add <colId> "title"
craft collection:update <colId> <itemId>
craft collection:rm <colId> <itemId>
Create, move, and remove folders.
craft mkdir "name" --parent Product
craft mvfolder "Old" "New"
craft rmfolder "Temp"
Render mermaid diagrams from .mmd source files to ASCII (local markdown) and SVG (Craft upload).
craft render docs/ontology.mmd --local-only
craft render docs/ontology.mmd --doc <docId>
Source files use %% diagram:NAME markers to delimit diagrams. The corresponding .md file uses <!-- mermaid:NAME --> markers as injection points for rendered ASCII.
craft open <docId>
craft link <docId>
craft help
Pipe content in via stdin:
echo "# Meeting Notes" | craft create "Weekly Sync" --folder Business
cat docs/ontology.md | craft create "Ontology" --folder Product
Pipe output to Claude CLI:
craft read <docId> | claude "summarize this doc"
craft search "auth" --json | claude "which docs discuss OAuth?"
All commands accept --json for raw API output. Date filters accept ISO dates (2026-01-28) or relative values (today, yesterday, tomorrow).
Install as a Claude Code plugin to use craft across any project:
From the terminal or /plugin within Claude Code:
claude plugin marketplace add gustin/craft-cli
claude plugin install craft@gustin-marketplace --scope project
After pushing new versions, update from the terminal or /plugin:
claude plugin marketplace update gustin-marketplace
claude plugin update craft@gustin-marketplace --scope project
Restart Claude Code after installing or updating for changes to take effect.
The plugin provides skills that let Claude browse, read, write, and render Craft docs. Set CRAFT_API_KEY and CRAFT_API_BASE in your shell environment.
npm install (for mermaid rendering)MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub gustin/craft-cli --plugin craftwiki.yowu.dev 지식 관리 플러그인. WikiJS MCP를 통한 검색, 생성, 수정, 삭제 + 자동 분류/관련 문서 링킹.
Flexible knowledge base scaffolding: personal KB, project docs, team collaboration with configurable entities, microdatabases, and VitePress portal
Main Branch Claude Code skills for running a business from markdown files in git.
Lightweight documentation memory for AI coding agents: scaffold a docs tree, validate it, and auto-load recent context each session.
Inki — research, write, review, submit your docs. A Claude Code plugin encapsulating the Strapi documentation toolkit.
Claude Code skill pack for Webflow (24 skills)