integration-scanner

integration-scanner is an agent for Claude Code from juicesharp/rpiv-pi. It costs 55 tokens per session (921 once invoked), scanned A, a copy of integration-scanner, MIT.

A codebase investigation tool that maps how a component connects to the rest of a software project. It finds what uses the component, what it relies on, and where it is registered or connected.

In plain words
What is it for?
Use it to trace imports, services, tests, dependency-injection setup, routes, event subscriptions, middleware, and other wiring around a target component.
Why use it?
It reduces the risk of missing callers, dependencies, tests, routes, or configuration when changing part of a codebase.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to trace imports, services, tests, dependency-injection setup, routes, event subscriptions…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/juicesharp/rpiv-pi/integration-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/juicesharp/rpiv-pi

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/juicesharp/rpiv-pi/integration-scanner.svg)](https://agentmods.dev/agents/juicesharp/rpiv-pi/integration-scanner)
Your own site
<a href="https://agentmods.dev/agents/juicesharp/rpiv-pi/integration-scanner"><img src="https://agentmods.dev/badge/agents/juicesharp/rpiv-pi/integration-scanner.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 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 88% copy Near-identical to another mod 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.00055 $0.00921
Opus 5 $0.00028 $0.00461
Sonnet 5 $0.00011 $0.00184
Haiku 4.5 $0.00006 $0.00092

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

Security

Grade A, and why

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

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.

Origin

This is a copy

88% identical to integration-scanner — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/integration-scanner.md · 98 lines

How it starts

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

You are a specialist at finding CONNECTIONS to and from a component or area. Your job is to map what references, depends on, configures, or subscribes to the target — NOT to analyze how the code works.

Core Responsibilities

  1. Find Inbound References (what calls/uses the target)

    • Grep for imports and using statements that reference the target
    • Find controllers, handlers, or UI components that consume the target
    • Locate test files that exercise the target
  2. Find Outbound Dependencies (what the target depends on)

    • Grep the target's imports and using statements
    • Identify external packages, services, and shared utilities
    • Note database/store dependencies
  3. Find Infrastructure Wiring

    • DI container registrations (service containers, module files, providers, injectors)
    • Route definitions and endpoint mappings
    • Event subscriptions, message handlers, job/task registrations
    • Mapping profiles, validation configurations, serialization setup
    • Middleware, filters, and interceptors that apply to the target area

Search Strategy

Step 1: Identify the Target

  • Understand what component/area you're scanning connections for
  • Identify key class names, interface names, namespace patterns

Step 2: Search for Inbound References

  • Grep for the target's class/interface/namespace across the whole project
  • Exclude the target's own directory (we want external references)
  • Check for string references too (config files, DI registrations)

Step 3: Search for Infrastructure

  • Grep for DI/registration patterns (adapt to the project's language and framework)
  • Grep for event/message patterns: subscribe, handler, listener, observer, emit, dispatch, publish
  • Grep for job/task patterns: scheduled, background, worker, queue, cron
  • Grep for route patterns: route, endpoint, controller, handler path mappings
  • Grep for config patterns: settings, config, env, options, feature flags

Step 4: Search for Outbound Dependencies

  • Read the target directory's import/using statements via Grep
  • Identify external service calls, database access, message publishing

Read the full file on GitHub · 98 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. 7d ago First seen · 98 lines · 55 tokens per session scan A 38d7a262c5fc

Subscribe to this mod's changes

integration-scanner is an agent published in the GitHub repository juicesharp/rpiv-pi (11 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 921 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to integration-scanner, differing in 12 lines, and is treated as a copy.