ZCF is a command-line setup tool for configuring Claude Code and Codex with agents, instructions, skills, hooks, commands, and settings. It is for developers who want to install and personalize these coding-agent workflows through an interactive setup.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/ufomiao/zcf/claude-mdgit clone --depth 1 https://github.com/UfoMiao/zcfWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ufomiao/zcf/claude-md)<a href="https://agentmods.dev/instructions/ufomiao/zcf/claude-md"><img src="https://agentmods.dev/badge/instructions/ufomiao/zcf/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.12396 | $0.12396 |
| Opus 5 | $0.06198 | $0.06198 |
| Sonnet 5 | $0.02479 | $0.02479 |
| Haiku 4.5 | $0.01240 | $0.01240 |
Grade A, and why
zcf CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
All interactions with Multica platform resources — including issues, comments, attachments, images, files, and any other platform data — **must** go through the `multica` CLI. Do NOT use `curl`, `wget`, or any other HTTP How it starts
The opening of the file, as written. The whole thing — 642 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Last Updated: Thu Dec 25 01:53:27 CST 2025
Project Overview
ZCF (Zero-Config Code Flow) is a CLI tool that automatically configures Claude Code environments. Built with TypeScript and distributed as an npm package, it provides one-click setup for Claude Code including configuration files, API settings, MCP services, and AI workflows. The current version v3.4.3 features advanced i18next internationalization, enhanced engineering templates, intelligent IDE detection, comprehensive multi-platform support including Termux compatibility, sophisticated uninstallation capabilities with advanced conflict resolution, and API provider preset system for simplified configuration. The project also integrates multi code tool support, enabling Claude Code, Codex, and CodeBuddy environment configuration, with consolidated template architecture for shared resources.
Architecture Overview
ZCF follows a modular CLI architecture with strict TypeScript typing, comprehensive i18next-based internationalization, and cross-platform support. The project is built using modern tooling including unbuild, Vitest, ESM-only configuration, and @antfu/eslint-config for code quality. The architecture emphasizes robust error handling, user-friendly interfaces, and extensive testing coverage with advanced tool integration including CCR proxy, Cometix status line, and CCusage analytics. Version 3.4.x introduces consolidated template architecture with shared resources in templates/common/ for output styles, git workflows, and sixStep workflows, enabling code reuse between Claude Code, Codex, and CodeBuddy.
Module Structure Diagram
graph TD
A["🚀 ZCF Root (v3.4.3)"] --> B["src/commands"];
A --> C["src/utils"];
A --> D["src/i18n"];
A --> E["src/types"];
A --> F["src/config"];
A --> G["templates"];
A --> H["tests"];
B --> B1["init.ts - Full initialization"];
B --> B2["menu.ts - Interactive UI"];
B --> B3["update.ts - Workflow updates"];
B --> B4["ccr.ts - Router management"];
B --> B5["ccu.ts - Usage analysis"];
B --> B6["check-updates.ts - Tool updates"];
B --> B7["uninstall.ts - ZCF uninstallation"];
B --> B8["config-switch.ts - Config switching"];
C --> C1["config.ts - Configuration management"];
C --> C2["installer.ts - Claude Code installation"];
C --> C3["mcp.ts - MCP services"];
C --> C4["platform.ts - Cross-platform support"];
C --> C5["workflow-installer.ts - Workflow management"];
C --> C6["ccr/ - CCR integration"];
C --> C7["cometix/ - Status line tools"];
C --> C8["tools/ - Tool integration"];
C --> C9["uninstaller.ts - Advanced uninstaller"];
C --> C10["trash.ts - Cross-platform trash"];
C --> C11["code-tools/ - Codex and CodeBuddy integration"];
D --> D1["locales/zh-CN/ - Chinese translations"];
D --> D2["locales/en/ - English translations"];
D --> D3["index.ts - i18next system"];
D --> D4["Advanced namespace organization"];
D --> D5["uninstall.json - Uninstall translations"];
E --> E1["workflow.ts - Workflow types"];
E --> E2["config.ts - Configuration types"];
E --> E3["ccr.ts - CCR types"];
E --> E4["claude-code-config.ts - Claude Code types"];
E --> E5["toml-config.ts - TOML types"];
F --> F1["workflows.ts - Workflow definitions"];
F --> F2["mcp-services.ts - MCP configurations"];
G --> G1["claude-code/ - Claude Code templates"];
G --> G2["codex/ - Codex templates"];
G --> G3["common/ - Shared templates (output-styles, git, sixStep)"];
H --> H1["commands/ - Command tests"];
H --> H2["utils/ - Utility tests"];
H --> H3["unit/ - Unit test suites"];
H --> H4["integration/ - Integration tests"];
H --> H5["edge/ - Edge case tests"];
H --> H6["i18n/ - I18n tests"];
H --> H7["templates/ - Template tests"];
click B "./src/commands/CLAUDE.md" "View commands module"
click C "./src/utils/CLAUDE.md" "View utils module"
click D "./src/i18n/CLAUDE.md" "View i18n module"
click E "./src/types/CLAUDE.md" "View types module"
click F "./src/config/CLAUDE.md" "View config module"
click G "./templates/claude-code/CLAUDE.md" "View templates module"
click H "./tests/CLAUDE.md" "View tests module"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 642 lines · 12,396 tokens per session scan A 86dd7322f6fc
zcf CLAUDE.md is an instructions file published in the GitHub repository UfoMiao/zcf (6,083 stars, last pushed 5d ago), licensed MIT. It adds 12,396 tokens to every session, about $0.0620 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
SeekMoney-ai CLAUDE.md
Claude Code instructions for zykooooooooo/SeekMoney-ai, covering claude.md, project overview, development commands, development and production.
ai-workflow AGENTS.md
Instructions for cunhaax/ai-workflow, covering ai workflow template, rules — non-negotiable, project overview, commands and architecture.
claude-sessions CLAUDE.md
Instructions for gapmiss/claude-sessions, covering claude sessions — obsidian plugin, development, file structure, code exploration (cymbal) and conventions.
embedded-systems-architect AGENTS.md
Instructions for Zachariah9420/embedded-systems-architect: This repository ships an agent skill for embedded-systems and edge-AI development work.
delphi-spec-kit AGENTS.md
Instructions for delphicleancode/delphi-spec-kit, covering delphi ai spec-kit — agents.md, language and stack, naming conventions — pascal guide, general rule and mandatory prefixes.
contexture AGENTS.md
AGENTS.md instructions for AcKeskin/contexture, covering agents.md, stance (how to engage), commands, testing and project structure.