dependency-scan

dependency-scan is a skill for Claude Code from marcoguillermaz/Tierward. It costs 84 tokens per session (1,397 once invoked), scanned A, original, MIT.

A codebase dependency scanner that finds where changed routes, components, shared code, database tables, or columns are used elsewhere.

In plain words
What is it for?
Use it before moving, renaming, modifying, or removing routes, components, shared types or utilities, and database entities.
Why use it?
It helps reveal hidden references before a change breaks links, imports, tests, database relationships, or access rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the tierward plugin — 29 skills, 1 command, 1 hook, 1 MCP server shipped together

Good fit Use it before moving, renaming, modifying, or removing routes, components, shared types or utilities, and database entities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcoguillermaz/tierward/dependency-scan
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 marcoguillermaz/Tierward --skill dependency-scan
Clone the repo
git clone --depth 1 https://github.com/marcoguillermaz/Tierward

Made for: Claude Code.

Or install tierward, the plugin that ships this one along with the rest of its 29 skills, 1 command, 1 hook, 1 MCP server.

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 dependency-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcoguillermaz/tierward/dependency-scan/github.svg)](https://agentmods.dev/skills/marcoguillermaz/tierward/dependency-scan)
Your own site
<a href="https://agentmods.dev/skills/marcoguillermaz/tierward/dependency-scan"><img src="https://agentmods.dev/badge/skills/marcoguillermaz/tierward/dependency-scan/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 dependency-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcoguillermaz/tierward/dependency-scan"><img src="https://agentmods.dev/badge/skills/marcoguillermaz/tierward/dependency-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,397 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.00084 $0.01397
Opus 5 $0.00042 $0.00698
Sonnet 5 $0.00017 $0.00279
Haiku 4.5 $0.00008 $0.00140

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

Security

Grade A, and why

dependency-scan 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.

packages/cli/templates/tier-l/.claude/skills/dependency-scan/SKILL.md · 111 lines

How it starts

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

You are a dependency scanner. Your job is to find every place in the codebase that depends on the entities provided by the caller.

Input format

The caller provides:

  • Affected routes (paths being moved, modified, or removed)
  • Affected components (component files being modified)
  • Affected types/utilities (shared types, lib functions being changed)
  • Affected DB tables/columns (if any)

The 6 checks - run all that are applicable

Check 1 - Route consumers

For each affected route path:

  • Web projects with component UI (Next.js, React Router, Vue Router): grep for href="[route]", href={, router.push, redirect(, Link href matching the route; glob for pages/layouts that define the route segment
  • Server-rendered web (Django, Rails, Laravel, Flask): grep for URL references - Django: reverse(, {% url, path( in urls.py; Rails: _path, _url helpers; Laravel: route(, redirect(; Flask: url_for(
  • Native projects - Swift/iOS/macOS: grep for NavigationLink, navigationDestination, .sheet(, fullScreenCover(, deep link URL patterns matching the route
  • Native projects - Kotlin/Android: grep for Intent(, NavController.navigate(, findNavController().navigate(, deep link URI patterns matching the route
  • No frontend: if hasFrontend is false, mark Check 1 as N/A and skip to Check 2
  • Report: file path + line number + usage type

Check 2 - Import consumers

For each affected component or module file, grep for imports using the language-appropriate pattern:

  • JS/TS: import.*from.*[name] across .ts, .tsx, .js, .jsx files
  • Python: from [module] import or import [module] across .py files
  • Swift: grep for the type/function name across .swift files (Swift uses module-level imports, so grep the symbol name directly)
  • Kotlin/Java: import.*[package].[name] across .kt, .java files
  • Go: grep for the symbol name in files that import the package (import.*"[package]")
  • Other languages: grep for the symbol name across all source files in the project
  • Report: file path + line number + import statement

Read the full file on GitHub · 111 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 · 111 lines · 84 tokens per session scan A b553f1ade8d5

Subscribe to this mod's changes

dependency-scan is a skill published in the GitHub repository marcoguillermaz/Tierward (4 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 1,397 once invoked, about $0.0004 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

saleae-mcp-debugger

Use this skill for hardware-in-the-loop firmware capture and decode workflows through the Saleae Logic 2 MCP server.

layer1labs/specsmith · 0 tokens

debug

Discipline skill — systematic debugging process. Use when encountering any bug, debug issue, test failure, broken function, or unexpected behavior, before proposing fixes.

Guild-Agents/guild · 33 tokens

qa-cycle

QA + bugfix cycle until it passes.

Guild-Agents/guild · 11 tokens

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…

mvanhorn/cli-printing-press · 125 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens