setup-diagnosis

setup-diagnosis is a skill for Claude Code from sigistry/marketplace. It costs 91 tokens per session (864 once invoked), scanned A, original, MIT.

A guide for setting up and diagnosing a software project on a local computer. It checks declared runtime versions, package managers, dependencies, services, environment variables, and common setup failures.

In plain words
What is it for?
Use it to bootstrap a development environment, investigate installation and build failures, and check issues involving devcontainers, environment variables, and version mismatches.
Why use it?
A project may fail before development starts because of missing dependencies, incorrect versions, operating-system differences, or missing configuration. This helps trace those problems from the repository's own requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the codebase-navigator plugin — 2 skills, 4 commands, 3 agents shipped together

Good fit Use it to bootstrap a development environment, investigate installation and build failures, and check issues involving devcontainers, environment variables, and version mismatches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sigistry/marketplace/setup-diagnosis
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 sigistry/marketplace --skill setup-diagnosis
Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Made for: Claude Code.

Or install codebase-navigator, the plugin that ships this one along with the rest of its 2 skills, 4 commands, 3 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 setup-diagnosis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sigistry/marketplace/setup-diagnosis"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/setup-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 864 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.00091 $0.00864
Opus 5.5 $0.00036 $0.00346
Sonnet 5.5 $0.00018 $0.00173
Haiku 4.5 $0.00009 $0.00086

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

Security

Grade A, and why

setup-diagnosis 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 2mo 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.

plugins/codebase-navigator/skills/setup-diagnosis/SKILL.md · 49 lines

How it starts

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

Setup Diagnosis

Purpose

The biggest day-one sink is getting a green build: missing dependencies, the wrong runtime version, OS-specific breakage, missing env vars, and silently outdated README steps. This skill provides two things, a map of where a repo declares what it needs (so you stop guessing) and a catalog of the common failure modes and their fixes: so bootstrapping becomes detect → run → diagnose → verify, not trial and error.

Principle: read the declared requirements, don't guess

A repo almost always tells you what it needs, in machine-readable files. Trust those over prose READMEs, which drift. Reconcile pins across files before running anything.

Where requirements live (quick map)

Need Look in
Runtime version .nvmrc, .tool-versions, mise.toml, .python-version, .ruby-version, engines, go.mod, <java.version>
Package manager packageManager field, lockfile kind, Gemfile/poetry.lock/Pipfile.lock
Dependencies package.json, pyproject.toml/requirements*.txt, Gemfile, go.mod, pom.xml/build.gradle, Cargo.toml
Backing services docker-compose.yml, .devcontainer/, infra manifests
Env vars / config .env.example, .env.sample, config/*.example, the code that reads config
The blessed path Makefile/justfile/Taskfile.yml setup targets, scripts/setup, CONTRIBUTING

See setup-signals.md for the full precedence and reconciliation rules.

The bootstrap loop

  1. Detect every requirement from the files above; cite the file for each.
  2. Prefer the project's own setup target (make setup, just bootstrap, ./scripts/setup) over hand-assembled steps.
  3. Establish the runtime first with a version manager, not a global install.
  4. Start backing services, and wait for readiness before install/migrate/seed.
  5. Run install/build/migrate/seed, capturing real output.
  6. On failure, classify then fix (see setup-failures.md); apply the least-invasive safe fix.
  7. Verify boot with a smoke step, then record only confirmed-working steps in SETUP.md.

Read the full file on GitHub · 49 lines

Files

What ships with it

2 files 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. 2mo ago First seen · 49 lines · 91 tokens per session scan A ec5ce23dd08b

Subscribe to this mod's changes

setup-diagnosis is a skill published in the GitHub repository sigistry/marketplace (3 stars, last pushed 3d ago), licensed MIT. It adds 91 tokens to every session and 864 once invoked, about $0.0004 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-09-03.

Related

setup-diagnosis compared with skills from other repositories

setup-diagnosis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-diagnosissigistry/marketplaceSkill33d agoMITA91Claude Code
cold-start-problemwondelai/skillsSkill2.8ktodayMITA168Claude Code
release-itwondelai/skillsSkill2.8ktodayMITA131Claude Code, Codex
dep-vuln-updatesneg55/agent-starterSkill775d agoMITA102Claude Code
team-stackNikiforovAll/claude-code-rulesSkill14329d agoApache-2.0A60Claude Code
pr-contributionxobotyi/cc-foundrySkill23todayMITA51Claude Code
logsqlxobotyi/cc-foundrySkill23todayMITA102Claude Code