afc:analyze

afc:analyze is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 22 tokens per session (881 once invoked), scanned A, original, MIT.

A read-only codebase analysis tool for tracing flows, inspecting components, auditing consistency, and investigating problems.

In plain words
What is it for?
Use it to trace login or data flows, understand system structure, find the likely cause of a bug, and inspect component relationships.
Why use it?
It helps explain how code works or why it behaves unexpectedly without modifying project files.

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 to trace login or data flows, understand system structure, find the likely cause of a bug, and inspect component relationships.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/analyze/github.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/analyze)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/analyze"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/analyze/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.

agentmods 80×15 button for afc:analyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/analyze"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00022 $0.00881
Opus 5 $0.00011 $0.00441
Sonnet 5 $0.00004 $0.00176
Haiku 4.5 $0.00002 $0.00088

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

Security

Grade A, and why

afc:analyze 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 9d 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.

skills/analyze/SKILL.md · 104 lines

How it starts

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

/afc:analyze — Code Analysis

Performs general-purpose codebase exploration and analysis based on a natural-language prompt. Read-only — does not modify any files.

Arguments

  • $ARGUMENTS — (required) description of what to analyze (e.g., "trace the login flow", "root cause of rendering bug", "how does the hook system work")

Config Load

Architecture, Code Style, and Project Context are auto-loaded via .claude/rules/afc-project.md. Read .claude/afc.config.md if CI commands are needed.

If neither rules file nor config exists: read CLAUDE.md for architecture info. Proceed without config if neither exists.

Execution Steps

1. Parse Analysis Intent

Read the user's question semantically. What does the user actually want to understand? Select the mode that best serves their learning goal.

Mode When to select Focus
Root Cause User wants to understand WHY something is broken, failing, or behaving unexpectedly — the goal is diagnosing a problem Error trace → data flow → hypothesis
Structural User wants to understand HOW a system is built or how components relate — the goal is comprehension of design or flow Component relationships, call graphs, data flow
Exploratory User wants to discover WHAT exists in the codebase — the goal is finding, listing, or locating things File/function discovery, pattern matching
Comparative User wants to understand the DIFFERENCE between two or more things — the goal is contrast and tradeoff evaluation Side-by-side analysis of implementations

If the question spans multiple modes, select the PRIMARY mode that best matches the user's core learning goal, and note secondary aspects to incorporate during analysis.

If the intent doesn't clearly match a single mode, default to Exploratory.

2. Codebase Exploration

Based on the classified mode:

  1. Identify scope: determine which files/directories are relevant to $ARGUMENTS
  2. Read code: read relevant files using Read tool (prioritize by relevance)
  3. Trace connections: follow imports, function calls, and data flow
  4. Gather evidence: collect specific code references (file:line) for findings

Read the full file on GitHub · 104 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. 9d ago First seen · 104 lines · 22 tokens per session scan A bfad0f10995f

Subscribe to this mod's changes

afc:analyze is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 881 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

design-patterns

Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.

FlorianBruniaux/claude-code-ultimate-guide · 59 tokens

page-prototype

An HTML wireframe tool for making a rough, clickable model of one page or screen. A wireframe shows structure and interactions with simple gray boxes rather than finished visual design.

VKirill/claude-lane-stack · 86 tokens

landing-page-generator

Generate complete, deploy-ready landing pages from any repository. Use when creating a homepage for an open-source project, building a project website, converting a README into a marketing page, or standardizing landing pages across multiple repos.

FlorianBruniaux/claude-code-ultimate-guide · 48 tokens

accessibility-a11y

WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.

travisjneuman/.claude · 26 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens