debug-deps

debug-deps is a command for Claude Code from satanyakiv/NutriSport. It costs 0 tokens per session (821 once invoked), scanned A, original, MIT.

A guided process for finding dependency and build failures in Kotlin Multiplatform projects, where one codebase targets multiple platforms. It reads project rules, checks official setup documentation, and searches related GitHub issues.

In plain words
What is it for?
Use it to investigate dependency, plugin, and Gradle build crashes, especially during project setup, compilation, or execution.
Why use it?
It helps avoid guessing when a library, plugin, or Gradle build task fails. It organizes the error details and checks known guidance before suggesting a fix.

Command for Claude Code

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 commands/satanyakiv/nutrisport/debug-deps
Clone the repo
git clone --depth 1 https://github.com/satanyakiv/NutriSport

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 debug-deps

README.md
[![agentmods](https://agentmods.dev/badge/commands/satanyakiv/nutrisport/debug-deps.svg)](https://agentmods.dev/commands/satanyakiv/nutrisport/debug-deps)
Your own site
<a href="https://agentmods.dev/commands/satanyakiv/nutrisport/debug-deps"><img src="https://agentmods.dev/badge/commands/satanyakiv/nutrisport/debug-deps.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 821 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 $0.00000 $0.00821
Opus 5 $0.00000 $0.00411
Sonnet 5 $0.00000 $0.00164
Haiku 4.5 $0.00000 $0.00082

Measured 5d ago against content hash d84b9c3389ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

debug-deps 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 5d 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.

.claude/commands/debug-deps.md · 73 lines

How it starts

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

Read .claude/rules/architecture.md, .claude/rules/conventions.md

Dependency / Build Crash Debugger

$ARGUMENTS

Process

  1. IDENTIFY the failing dependency/plugin:

    • Read the full error message and stacktrace
    • Extract: library name, version, plugin ID, Gradle task that fails
    • Identify the module and build phase (configuration, compilation, execution)
  2. CHECK OFFICIAL DOCUMENTATION — before any fix attempt:

  3. SEARCH GITHUB ISSUES:

    • gh issue list --repo {org}/{repo} --search "{error keywords}" --state all --limit 10
    • gh issue view {number} --repo {org}/{repo} --json body,comments,state,title
    • Common repos:
      • JetBrains/compose-multiplatform — CMP issues
      • Kotlin/kotlinx-kover — coverage
      • GitLiveApp/firebase-kotlin-sdk — Firebase KMP
      • InsertKoinIO/koin — DI
      • coil-kt/coil — image loading
      • ArkiveDev/Mokkery — mocking
      • cashapp/turbine — Flow testing
      • gradle/gradle — Gradle itself
      • google/ksp — KSP issues
  4. CHECK VERSIONS — use Maven deps server:

    • check_maven_version_exists — is the version real?
    • get_latest_release — is there a newer version with a fix?
    • Cross-reference with gradle/libs.versions.toml
  5. DIAGNOSE and present findings:

    • Root cause (with GitHub issue link if found)
    • Official docs reference if pattern changed
    • Available workarounds
    • Recommended fix Wait for "go".

Read the full file on GitHub · 73 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. 5d ago First seen · 73 lines · 0 tokens per session scan A d84b9c3389ee

Subscribe to this mod's changes

debug-deps is a command published in the GitHub repository satanyakiv/NutriSport (11 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 821 tokens. 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.