afc:validate

afc:validate is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 12 tokens per session (794 once invoked), scanned B, original, MIT.

A read-only checker for keeping a feature specification, implementation plan, and task list consistent. It checks project artifacts stored in the repository.

In plain words
What is it for?
Use it before implementation or review to validate specification coverage, plan details, and task alignment.
Why use it?
It finds missing files and disagreements between what a feature should do, how it will be built, and what work remains.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

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

Good fit Use it before implementation or review to validate specification coverage, plan details, and task alignment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhlee0409/all-for-claudecode/validate
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.

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

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 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:validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/validate.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/validate)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/validate"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 794 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00012 $0.00794
Opus 5 $0.00006 $0.00397
Sonnet 5 $0.00002 $0.00159
Haiku 4.5 $0.00001 $0.00079

Measured 7d ago against content hash ac7663a8a1b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

afc:validate 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 7d 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 — run /afc:init first]"`
skills/validate/SKILL.md · 99 lines

How it starts

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

/afc:validate — Artifact Consistency Validation

Validates consistency across spec.md, plan.md, and tasks.md. Read-only — does not modify files.

Project Config (auto-loaded)

!cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND — run /afc:init first]"

Arguments

  • $ARGUMENTS — (optional) limit validation scope (spec-plan, tasks-only)

Execution Steps

1. Load Artifacts

From .claude/afc/specs/{feature}/:

  • spec.md (required), plan.md (required)
  • tasks.md, research.md, context.md (load if present)

Warn about missing files but proceed with what is available. If config is missing: use CLAUDE.md for architecture info; assume "Layered Architecture" as fallback.

No artifacts early-exit: If both spec.md and plan.md are missing (no feature directory exists or directory is empty), output:

Validation skipped — no pipeline artifacts found
├─ spec.md: not found
├─ plan.md: not found
└─ Run /afc:spec followed by /afc:plan to generate artifacts for validation

Exit without running validation categories. Do not produce a degenerate report with empty coverage data.

2. Run Validation

Run all 6 categories defined in validation-categories.md.

If $ARGUMENTS specifies a scope (e.g., spec-plan), run only the relevant categories.

3. Output Results

## Consistency Analysis Results: {feature name}

### Findings
| ID | Category | Severity | Location | Summary | Recommended Action |
|----|----------|----------|----------|---------|-------------------|
| A-001 | COVERAGE | HIGH | spec FR-003 | No mapping in tasks | Add task |

### Coverage Summary
| Mapping | Coverage |
|---------|----------|
| spec → plan | {N}% |
| plan → tasks | {N}% |
| spec → tasks | {N}% |

### Metrics
- Total requirements: {N} / Total tasks: {N}
- Issues: CRITICAL {N} / HIGH {N} / MEDIUM {N} / LOW {N}

### Next Steps
{Concrete action proposals for CRITICAL/HIGH issues}

4. After Validation Fails

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file 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.

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. 7d ago First seen · 99 lines · 12 tokens per session scan B ac7663a8a1b0

Subscribe to this mod's changes

afc:validate is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 12 tokens to every session and 794 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.