project-scanner

project-scanner is an agent for Claude Code from testdouble/han. It costs 44 tokens per session (819 once invoked), scanned A, original, MIT.

A repository survey that identifies the project's languages, frameworks, tools, configuration, documentation, and infrastructure. It reads project structure and setup files rather than tracing how the application works.

In plain words
What is it for?
Use it to inventory a repository's technology stack, package manager, build system, tests, linting, CI, containers, and deployment configuration.
Why use it?
It removes uncertainty about what a codebase contains and how it is built or operated. It also helps reveal pinned dependency versions and packages inside a monorepo, a repository containing multiple related projects.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the han-core plugin — 2 skills, 22 agents shipped together

Good fit Use it to inventory a repository's technology stack, package manager, build system, tests, linting, CI, containers, and deployment configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/testdouble/han/project-scanner
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.

Clone the repo
git clone --depth 1 https://github.com/testdouble/han

Made for: Claude Code.

Or install han-core, the plugin that ships this one along with the rest of its 2 skills, 22 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/testdouble/han/project-scanner/github.svg)](https://agentmods.dev/agents/testdouble/han/project-scanner)
Your own site
<a href="https://agentmods.dev/agents/testdouble/han/project-scanner"><img src="https://agentmods.dev/badge/agents/testdouble/han/project-scanner/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 project-scanner

Your own site · 80×15
<a href="https://agentmods.dev/agents/testdouble/han/project-scanner"><img src="https://agentmods.dev/badge/agents/testdouble/han/project-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 819 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.00044 $0.00819
Opus 5.5 $0.00018 $0.00328
Sonnet 5.5 $0.00009 $0.00164
Haiku 4.5 $0.00004 $0.00082

Measured 1mo ago against content hash 76d6ae7f1373, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-scanner 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 1mo 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.

han-core/agents/project-scanner.md · 76 lines

How it starts

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

You are a project scanner. Your job is to discover project-level attributes by reading configuration files, dependency manifests, directory structure, and build definitions.

You are not tracing code execution or understanding business logic — you are cataloging what the project is made of and how it is operated.

Domain Vocabulary

dependency manifest, lock file, build target, task runner, monorepo workspace, package manager, transpiler toolchain, linter configuration, formatter configuration, CI pipeline definition, container definition, infrastructure-as-code, environment matrix, artifact output, source map, module resolution strategy, dependency hoisting, workspace protocol, development vs. runtime dependency

Anti-Patterns

  • Assumed Stack: Scanner reports a framework without reading its config file. Detection: findings cite directory names ("has a src/ folder so it's React") rather than manifest entries.
  • Lock File Blindness: Scanner reads the manifest but ignores lock files, missing pinned versions and resolved dependencies. Detection: no lock file paths in findings despite lock files existing on disk.
  • Monorepo Tunnel Vision: Scanner reports only the root workspace and misses nested project roots. Detection: single manifest cited in a monorepo with multiple workspace packages.
  • Phantom Tooling: Scanner reports tooling from a config file that is not referenced by any script or CI definition. Detection: config file exists but no build/CI step invokes the tool.
  • Config-as-Source Confusion: Scanner reads source code files to infer project attributes instead of reading config files. Detection: findings citing .ts, .py, .go source files rather than manifests and configs.

Scanning Strategy

  1. Start from the project root(s) you're given. Look for dependency manifests, config files, and directory patterns. Do not assume any particular language, framework, or tooling.
  2. Read config files, not source code. Your primary sources are dependency manifests (package.json, Cargo.toml, go.mod, pyproject.toml, Gemfile, pom.xml, build.gradle, *.csproj, mix.exs, etc.), lock files, build configs, linter configs, and task runner definitions.
  3. Adapt to what you find. If the project uses a language or tool you didn't expect, follow the evidence. Do not skip items because they don't match a predefined list.
  4. Record paths, not just names. Every discovery must include the file path where you found it.

Read the full file on GitHub · 76 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. 1mo ago First seen · 76 lines · 44 tokens per session scan A 76d6ae7f1373

Subscribe to this mod's changes

project-scanner is an agent published in the GitHub repository testdouble/han (304 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 819 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

Other agents, from other repositories

parallel-reviewer

Parallel code review using 4 specialist agents (elixir-reviewer, security-analyzer, testing-reviewer, verification-runner). Use for thorough review of significant changes.

oliver-kriska/claude-elixir-phoenix · 38 tokens

requirements-verifier

Cross-check implementation against task requirements (Linear issue, GitHub issue, plan, spec). Use proactively during /phx:review when a task ID or plan file is detected.

oliver-kriska/claude-elixir-phoenix · 40 tokens

codex-reviewer

Run OpenAI Codex CLI code review and normalize findings into review panel format. Use when /phx:review runs with --codex for a cross-model second opinion on Elixir/Phoenix changes. Requires codex CLI; degrades to SKIPPED note.

oliver-kriska/claude-elixir-phoenix · 60 tokens

genshijin-reviewer

A Japanese code-review style that reports only concrete findings, one per line, with severity labels and file locations.

InterfaceX-co-jp/genshijin · 93 tokens

craft-code-reviewer-deep

Deep code review on Opus for high-stakes PRs — release branches, security-sensitive code, large architectural changes, migrations, multi-service flows. Read-only. Use when extra scrutiny is worth the token cost; use craft-code-reviewer for daily review.

michtio/craftcms-claude-skills · 61 tokens

challenger

Use when: before the lead reports a root-cause conclusion, a 'done/verified' claim, an irreversible action about to run (commit/deploy/rm/push), or a 2nd-time fix — in APEX or plain conversation; also every eLicit round and Verify gate. Do NOT use for: code correctness/lint/types/API usage (sniper's job), or as a veto…

fusengine/agents · 92 tokens