afc:implement

afc:implement is a skill for Claude Code, Codex from jhlee0409/all-for-claudecode. It costs 18 tokens per session (2,521 once invoked), scanned B, original, MIT.

A code implementation tool that carries out planned features, refactors, or other changes in dependency-aware phases.

In plain words
What is it for?
Use it to implement a whole plan or run a specific task or phase, with parallel work available for highly independent phases.
Why use it?
It turns an existing plan into concrete code changes while organizing the work into tasks and phases.

Skill for Claude CodeCodex

Part of the afc plugin — 31 skills, 12 agents, 19 hooks shipped together

Install

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.

agentmods
npx agentmods add skills/jhlee0409/all-for-claudecode/implement
Any agent
npx skills add jhlee0409/all-for-claudecode --skill implement
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/all-for-claudecode

Made for: Claude Code, Codex.

Or install afc, the plugin that ships this one along with the rest of its 31 skills, 12 agents, 19 hooks.

Wrote 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.

agentmods badge for afc:implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/implement.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/implement)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/implement"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.02521
Opus 5 $0.00009 $0.01260
Sonnet 5 $0.00004 $0.00504
Haiku 4.5 $0.00002 $0.00252

Measured 5d ago against content hash 358bd155e03e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

afc:implement scanned grade B 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

!`cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Create it with /afc:init."`
skills/implement/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/afc:implement — Execute Code Implementation

Executes implementation phase by phase with dependency-aware scheduling. Generates tasks.md automatically from plan.md if absent. Swarm mode activates for high-parallelism phases.

Arguments

  • $ARGUMENTS — (optional) Specific task ID or phase to run (e.g., T005, phase3)

Project Config (auto-loaded)

!cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Create it with /afc:init."

Config Load

Always read .claude/afc.config.md first (read manually if not auto-loaded above).

If config file is missing:

  1. Ask the user: ".claude/afc.config.md not found. Run /afc:init to set up the project?"
  2. If user accepts → run /afc:init, then restart this command with the original $ARGUMENTS
  3. If user declines → abort

Execution Steps

0. Safety Snapshot

Before starting implementation, create a rollback point:

git tag -f afc/pre-implement
  • On failure: immediately rollback with git reset --hard afc/pre-implement
  • Tag is automatically overwritten on the next /afc:implement run
  • Skip if running inside /afc:auto pipeline (the afc/pre-auto tag already exists)

Standalone safety activation (skip if inside /afc:auto): If no active pipeline state exists, activate it for the duration of this command:

"${CLAUDE_SKILL_DIR}/../../scripts/afc-pipeline-manage.sh" start {feature-name-from-plan.md}
"${CLAUDE_SKILL_DIR}/../../scripts/afc-pipeline-manage.sh" phase implement

This enables Stop Gate and CI Gate hooks during standalone implementation. Release on completion (Step 7) or failure rollback.

1. Load Context

  1. Current branchBRANCH_NAME
  2. Load from .claude/afc/specs/{feature}/:
    • plan.md (required) — abort if missing: "plan.md not found. Run /afc:plan first."
    • spec.md (for reference)
    • research.md (if present)
    • tasks.md (if present — may be generated in Step 1.3)
  3. Recent changes: run git log --oneline -20
  4. Smoke test: run {config.gate} before starting:
    • Fails → diagnose before implementing (fix first or report to user)
  5. Baseline test (if {config.test} is non-empty): run {config.test}:
    • Fails → ask user: "(1) Proceed anyway (2) Fix first (3) Abort"
    • Empty → skip

Read the full file on GitHub · 219 lines

Changes

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.

  1. 5d ago First seen · 219 lines · 18 tokens per session scan B 358bd155e03e

Subscribe to this mod's changes

afc:implement is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 2,521 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

issue-triage

Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.

rtk-ai/rtk · 70 tokens

performance

CLI performance optimization - startup time, memory usage, token savings benchmarking.

rtk-ai/rtk · 13 tokens

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

moai-workflow-worktree

Git worktree management for parallel SPEC development with isolated workspaces, automatic branch registration, and seamless MoAI-ADK integration. Use when setting up parallel development environments.

modu-ai/moai-adk · 41 tokens

moai-kanban-foreman

One unattended kanban foreman iteration: watch the backlog queue, dispatch the next operator-picked card to an isolated worker, collect completion evidence on read (not on claims), and report. This is the body the project's loop.md driver invokes each iteration of a bare /loop; it can also be invoked directly to test…

modu-ai/moai-adk · 76 tokens

moai-workflow-thinking

Sequential Thinking MCP for structured step-by-step analysis via --deepthink flag. Separate from UltraThink which is Claude's native extended reasoning mode. Use for multi-step analysis or architecture decisions.

modu-ai/moai-adk · 43 tokens