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 skills add dinhanhthi/coding-friend --skill cf-plangit clone --depth 1 https://github.com/dinhanhthi/coding-friendWrote 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/skills/dinhanhthi/coding-friend/cf-plan)<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-plan"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-plan"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-plan.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00132 | $0.03164 |
| Opus 5.5 | $0.00053 | $0.01266 |
| Sonnet 5.5 | $0.00026 | $0.00633 |
| Haiku 4.5 | $0.00013 | $0.00316 |
Grade A, and why
cf-plan scanned grade A with 0 findings 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 21d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cf-plan
Create an implementation plan for: $ARGUMENTS
Modes
--fast(--quick) — skip discovery + planner; plan stays in chat (Track progress), never writes a file unless autopilot (--auto/planAuto) or 2+ phases (then normal).--hard— extra discovery, deeper exploration, rollback planning.--auto— after approval, run all phases (review + fix + commit, no prompts). Combines with any mode. Also on when configplanAuto: true(local overrides global) unless--no-auto.--no-auto— force autopilot off for this run, even ifplanAuto: true. Incompatible with--auto.--commit-per-task/--no-commit-per-task— autopilot only: each task commits asphase N/M task i/K; review runs once per phase over its commits (noreview.with*external reviewers). Also on when configplanCommitPerTask: true(local overrides global) unless--no-commit-per-task.--inline(--no-file) — no plan file; chat only; Track progress. Incompatible with autopilot (--autoorplanAuto).--gui(--human; or configdisableGUIPlan: false;guiPlanFormathtml|md) — overview at Step 6 when a file is written. Fast: none unless--gui.--model <alias>— pin cf-planner at Step 3 (--model <alias>or--model=<alias>).--add-tests(--tdd) — TDD for implementation.
Strip flags (and --model's value) before using the rest as the task. brief.md is written in native normal/hard only.
Workflow
Step 0: Custom Guide
bash "<plugin-root>/lib/load-custom-guide.sh" cf-plan
If the block above printed anything, apply only the ## Before, ## Rules, and ## After sections; if it shows the raw command instead of output, re-run that exact load-custom-guide.sh fence now.
Step 0.5: Determine Mode
Config lookup (used by 1a, 1c, 1e): merge global ~/.coding-friend/config.json + local .coding-friend/config.json (local wins).
- Resume — bare
--resume→ print> ℹ️ Resuming a plan is now \/cf-plan-resume ` (not `/cf-plan --resume`).` and stop. - Explicit flag —
--quick→--fast; honor--fastor--hard. 1a. Autopilot — if$ARGUMENTScontains both--autoand--no-auto→ print> ⚠️ --auto cannot be combined with --no-auto. Pick one.and stop.--no-auto→ false; strip.--auto→ true; strip. Else config lookup: true only whenplanAutois explicitlytrue. When true, announce:> 🤖 Autopilot enabled — phases will run end-to-end without confirmation prompts.If it came from config (not--auto), use:> 🤖 Autopilot enabled (planAuto: true) — phases will run end-to-end without confirmation prompts./cf-plan-resumedoes not readplanAuto— only the saved plan'sauto: true+## AUTOPILOTsection. 1b. Inline —--no-file→--inline; if autopilot is on (from--autoorplanAuto) refuse:> ⚠️ --inline cannot be combined with autopilot (--auto or planAuto; autopilot relies on the on-disk plan file for state). Pick one.Else announce:> 📝 Inline mode — plan will be shown in chat only; no file will be written. Track progress.1c. Overview —--human/-gui/-human→--gui.--gui→ humanDoc=true (overrides fast + config). Else if fast → false. Else config lookup: true only whendisableGUIPlanis explicitlyfalse. Format:guiPlanFormat(defaulthtml). None for--inline. 1d.--modelflag Accept--model <alias>(two tokens, e.g.--model pro) AND--model=<alias>(one token, e.g.--model=flash). Strip both the flag and the value. Example:/cf-plan --model pro Add a healthz endpoint→ remaining task description is exactlyAdd a healthz endpoint. Valid aliases:inherit,flash,pro. Do not accept Claude aliases or full model IDs. Invalid → print this exact warning then CONTINUE (do NOT stop):> ⚠️ --model <value> is not a valid Antigravity model alias (inherit|flash|pro). Ignoring it; cf-planner inherits the session model.If--fast/--quickis already in$ARGUMENTS, print this exact warning then CONTINUE:> ⚠️ --model bị bỏ qua ở fast mode (Step 3 không dispatch cf-planner).Auto-detected fast is not known yet — item 4 re-checks after mode is resolved (steps 2–3).--hardstill dispatches cf-planner. When a valid alias is parsed, it is used at Step 3 unless skipped as fast. 1e. Commit per task — if$ARGUMENTScontains both--commit-per-taskand--no-commit-per-task→ print> ⚠️ --commit-per-task cannot be combined with --no-commit-per-task. Pick one.and stop.--no-commit-per-task→ false; strip.--commit-per-task→ true; strip. Else config lookup: true only whenplanCommitPerTaskis explicitlytrue. If true but autopilot is off → print> ⚠️ --commit-per-task only applies under autopilot (only autopilot commits). Ignored.and treat as false. If true with autopilot, announce:> 🧩 Commit per task — each task commits as "phase N/M task i/K"; review runs once per phase over its commits. - Auto-detect — 2+ signals. Fast: existing pattern, single module, additive, "just/simple/quick". Hard: multi-module, breaking/schema, security, "refactor/migrate/rewrite", public API.
- Confirm: 3+ → apply; 2 → ask; mixed → normal. Fast: chat only; 2+ phases → write as normal unless autopilot (always writes).
--modelvs resolved fast mode — after explicit--fast/--quickor auto-detect: if--modelwas parsed and fast is active, print> ⚠️ --model bị bỏ qua ở fast mode (Step 3 không dispatch cf-planner).(skip if 1d already warned); do not pass the model at Step 3.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 21d ago Changed ec13fd449c48
- 1mo ago Changed 3d9de74f76f3
- 2mo ago Changed · +2 lines 6c03ad6ff262
- 2mo ago Changed · +2 lines fe3a09b98f77
- 2mo ago Changed 1b4464d12f8d
- 2mo ago Changed · +1 lines 07a932b71c3d
- 2mo ago Changed · -104 lines · +47 tokens per session 969fa117b613
- 2mo ago Changed · +5 lines 4b06cde7c9af
- 3mo ago First seen · 225 lines · 85 tokens per session scan A 5402c4c8ff80
cf-plan is a skill published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed 13d ago), licensed MIT. It adds 132 tokens to every session and 3,164 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
cf-plan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cf-plandinhanhthi/coding-friend | Skill | 4 | 13d ago | MIT | A | 132 | Claude Code |
| officecli-pitch-deckiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 163 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecli-pptxiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 106 | Claude Code, Codex |
| officecliiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 56 | Claude Code, Codex |
| morph-ppt-3diOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | A | 37 | Claude Code, Codex |