A lean, opinionated toolkit that makes your AI coding agent work like a disciplined engineer.
Website · Releases · Report Bug · Discussions
Coding Friend adds skills, agents, and hooks to the agent you already use. You get plan → implement → review → commit, with project knowledge in docs/ and learn notes in ~/.coding-friend/learn/. One install covers Claude Code (principal); pass --agent for Codex, oh-my-pi, Cursor, Grok CLI, Antigravity, or Devin CLI (beta).
Read more in website/src/content/index.md.
| Host | Support | Install |
|---|---|---|
| Claude Code | 100% | cf install |
| omp | 95% | cf install --agent omp |
| Devin CLI (beta) | 86% | cf install --agent devin |
| Codex CLI | 77% | cf install --agent codex |
| Antigravity | 73% | cf install --agent agy |
| Cursor / Grok CLI | comes with Claude Code | |
| ZCode | install via github marketplace |
% = Claude is a baseline with all skills, agents, hooks. Some are Claude only: statusline, session save/restore (/cf-session), and task tracking. Other hosts ship their own equivalents, so they are not counted.
Copy and paste this prompt into your AI agent — it will read the documentation and set up everything automatically:
Install Coding Friend from https://cf.coprimal.dev on my system. First read the installation documentation to understand what Coding Friend is and how to install it properly. Check if I have Node.js 20+, install coding-friend-cli globally, then install the plugin for my current AI agent (auto-detect: Claude Code, Codex, oh-my-pi, Antigravity, Devin CLI, etc.). After installation, initialize the project with
cf init. Guide me through the entire process and verify everything works correctly.
Requires Node.js 20+ and a supported host.
npm i -g coding-friend-cli
# If `cf` is taken, use `cdf`
cf install # Claude Code (default)
cf install --agent codex # or 'omp', 'agy', 'devin'
cf init # per project: docs/, .coding-friend/config.json
cf update # later: pull the newest plugin
# Need help?
cf help
# Get Started in any project
cf initclaude plugin marketplace add Coprimal/coding-friend
claude plugin install coding-friend@coding-friend-marketplace
# Or inside Claude Code session:
/plugin marketplace add Coprimal/coding-friend
/plugin install coding-friend@coding-friend-marketplaceCodex CLI note: Codex v0.130.0 can register/upgrade marketplaces from the terminal, but plugin install still requires one manual step inside Codex: open codex, run /plugins, then install coding-friend.
Devin CLI note (beta): devin plugins install Coprimal/coding-friend#plugin-devin installs the generated plugin directly; inside Devin invoke skills bare or namespaced — /cf-plan or /coding-friend:cf-plan.
coding-friend-mods is a second plugin in the same marketplace. It needs the main plugin and works only in Claude Code (tested with 2.1.318; the mods API is early access).
cf install --mods
# or inside a Claude Code session:
/plugin install coding-friend-mods@coding-friend-marketplace| Feature | Plugin + CLI | Only with Claude Code mods |
|---|---|---|
| Quota | statusline writes the snapshot, cf status shows it, tasks use it |
toast and band at 80/90/95%, also writes it |
| Review / phase | report in the chat | toast when /cf-review or a plan phase is done |
| Plan progress | Progress tables in docs/plans/<slug>/ |
/cf-plan-status pane |
| MCP health | cf doctor |
band when a CF MCP server fails |
- Plan with autopilot (
/cf-plan --auto) - TDD, opt-in (
--add-tests) - Systematic debugging
- Code review + cross-agent review
- Conventional commits & ship
- Persistent memory, 3-tier search (
cf memory) - Learn & teach (
/cf-learn,/cf-teach,cf learn host,cf mcp) - Research (
/cf-research) - Auto-approve (Codex, Antigravity, Devin)
- Prompt-injection defense
- Custom skill guides
- Sessions & checkpoints
- Statusline (Claude only)
🧠 Opus (1M) cf v0.42.1 | 📂 MyProject (⎇ main) | 👤 Coprimal (contact@coprimal.dev) ctx 42% | [5h] 30% → 2:30pm | [7d] 10% → mar 15, 2:30pm 🆔 a1b2c3d4-e5f6-7890-abcd-ef1234567890 📋 Tasks: 2/5 | 🤖 Agent: cf-reviewer
Details: website/src/content/index.md#-features
/cf-advise, /cf-ask, /cf-checkpoint, /cf-checkpoint-from, /cf-commit, /cf-design, /cf-fix, /cf-help, /cf-later, /cf-later-do, /cf-learn, /cf-optimize, /cf-plan, /cf-plan-review, /cf-plan-resume, /cf-remember, /cf-research, /cf-review, /cf-review-in, /cf-review-out, /cf-scan, /cf-session, /cf-ship, /cf-showcase, /cf-teach, /cf-warm
Auto-invoked: cf-tdd, cf-sys-debug, cf-verification
Details: website/src/content/index.md#-features
cf-explorer, cf-implementer, cf-planner, cf-reviewer, cf-reviewer-plan, cf-reviewer-quality, cf-reviewer-reducer, cf-reviewer-rules, cf-reviewer-security, cf-reviewer-tests, cf-writer, cf-writer-deep
Details: website/src/content/index.md#-agents
cf (coding-friend-cli) manages install/init/update/memory/learn/statusline, and cf doctor checks the setup (read-only); host flags --agent codex|omp|agy|devin (aliases --codex/--omp/--agy/--devin). See cli/README.md and docs/cli-requirements.md.
Scripts and agents can pass --json (status, version, doctor, config, memory, project, session, sync, task, supervisor, chef, ask, reply, done, …) for one machine-readable envelope on stdout; cf project lists the projects Coding Friend has seen.
cf session list|show|export|save|load|status reads Claude Code and Codex sessions and exports them as redacted Markdown (tool output left out by default; redaction is best effort). save copies a Claude Code session verbatim (not redacted) into one global store, session.dir (default ~/.coding-friend/sessions), and load puts it back into a project for claude --resume; /cf-session needs the CLI for this. There is no sync engine: point session.dir and learn.outputDir at a cloud folder, and cf sync status shows what that folder holds (the global config and the project list are not synced).
Decision layer (opt-in, off by default): an optional small model behind cf session export --redact-model/--summary and an opt-in /cf-review shadow log, configured with cf config set --global decision.*. See cli/README.md#decision-layer.
cf task run|list|show|cancel dispatches Claude Code / Codex workers in their native sandbox (or OpenCode as a read-only worker) without a daemon; a worker asks with cf ask, you answer with cf reply, and it finishes with cf done. On a usage limit the task pauses, then resumes after the reset or switches provider (task.onQuota, --no-fallback); cf supervisor install|uninstall|status|tick adds a macOS launchd tick that picks up paused tasks whose runner died. cf chef start|say|status|inbox|show|stop|resume gives one plan to a read-only chef that the tick wakes to dispatch tasks and commit checked changes.
An optional macOS app (app/) is a window onto the CLI: it calls cf … --json and keeps no logic or data of its own, so the plugin and the CLI remain the full product. It needs the plugin and cf (with cf doctor). Doctor and Version/Update are views of cf doctor --json and cf update --check|--yes --json; only in the app: the project dashboard, the menu bar item and the app's own signed self-update. Releases are tagged app-vX.Y.Z and published from a Mac with .coding-friend/skills/cf-ship-custom/scripts/release-app-local.sh.
CONTRIBUTING.md — how local dev works and what to do after each change.
MIT © Coprimal