analyze-project

analyze-project is a skill for Claude Code, Codex from henryalouf/ruflow. It costs 38 tokens per session (2,967 once invoked), scanned A, original, MIT.

A forensic analysis guide for reviewing sessions in which an AI coding agent changed a project. It compares the original request with the completed work and classifies the causes of scope changes, rework, and problem areas.

In plain words
What is it for?
Use it for postmortems of coding-agent sessions, prompt reviews, repository health checks, and recommendations for reducing future rework.
Why use it?
It helps teams understand why an AI-assisted coding task became difficult or needed repeated fixes. This separates issues in the request, agent, codebase, task complexity, and testing.

Skill for Claude CodeCodex

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/henryalouf/ruflow/analyze-project
Any agent
npx skills add henryalouf/ruflow --skill analyze-project
Clone the repo
git clone --depth 1 https://github.com/henryalouf/ruflow

Made for: Claude Code, Codex.

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 analyze-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/henryalouf/ruflow/analyze-project.svg)](https://agentmods.dev/skills/henryalouf/ruflow/analyze-project)
Your own site
<a href="https://agentmods.dev/skills/henryalouf/ruflow/analyze-project"><img src="https://agentmods.dev/badge/skills/henryalouf/ruflow/analyze-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00038 $0.02967
Opus 5 $0.00019 $0.01484
Sonnet 5 $0.00008 $0.00593
Haiku 4.5 $0.00004 $0.00297

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

Security

Grade A, and why

analyze-project 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 2d 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.

.agents/skills/analyze-project/SKILL.md · 441 lines

How it starts

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

/analyze-project — Root Cause Analyst Workflow

Analyze AI-assisted coding sessions in ~/.gemini/claude-code/brain/ and produce a report that explains not just what happened, but why it happened, who/what caused it, and what should change next time.

Goal

For each session, determine:

  1. What changed from the initial ask to the final executed work
  2. Whether the main cause was:
    • user/spec
    • agent
    • repo/codebase
    • validation/testing
    • legitimate task complexity
  3. Whether the opening prompt was sufficient
  4. Which files/subsystems repeatedly correlate with struggle
  5. What changes would most improve future sessions

When to Use

  • You need a postmortem on AI-assisted coding sessions, especially when scope drift or repeated rework occurred.
  • You want root-cause analysis that separates user/spec issues from agent mistakes, repo friction, or validation gaps.
  • You need evidence-backed recommendations for improving future prompts, repo health, or delivery workflows.

Global Rules

  • Treat .resolved.N counts as iteration signals, not proof of failure
  • Separate human-added scope, necessary discovered scope, and agent-introduced scope
  • Separate agent error from repo friction
  • Every diagnosis must include evidence and confidence
  • Confidence levels:
    • High = direct artifact/timestamp evidence
    • Medium = multiple supporting signals
    • Low = plausible inference, not directly proven
  • Evidence precedence:
    • artifact contents > timestamps > metadata summaries > inference
  • If evidence is weak, say so

Step 0.5: Session Intent Classification

Classify the primary session intent from objective + artifacts:

  • DELIVERY
  • DEBUGGING
  • REFACTOR
  • RESEARCH
  • EXPLORATION
  • AUDIT_ANALYSIS

Record:

  • session_intent
  • session_intent_confidence

Use intent to contextualize severity and rework shape. Do not judge exploratory or research sessions by the same standards as narrow delivery sessions.

Read the full file on GitHub · 441 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. 2d ago First seen · 441 lines · 38 tokens per session scan A 00d8e345c666

Subscribe to this mod's changes

analyze-project is a skill published in the GitHub repository henryalouf/ruflow (122 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 2,967 once invoked, about $0.0002 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-09-03.