lelandg

Repo Doctor — Security skill for Claude Code

Security community

Audit a repo's agent docs — AGENTS.md/CLAUDE.md topology, always-loaded token cost, CodeMap freshness and line-number accuracy, broken pointers, changelog drift.

How to install Repo Doctor

Installs to ~/.claude/commands/lelandg-.claude_code-repo-doctor.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lelandg/.claude_code/HEAD/.claude/commands/repo-doctor.md -o ~/.claude/commands/lelandg-.claude_code-repo-doctor.md

Restart Claude Code, or start a new session, for it to be picked up.

What Repo Doctor does


description: Audit a repo's agent docs — AGENTS.md/CLAUDE.md topology, always-loaded token cost, CodeMap freshness and line-number accuracy, broken pointers, changelog drift. Read-only; offers fixes in dependency order. argument-hint: [path | all] [--fix]

Invoke the `repo-doctor` skill.

Scope from `$ARGUMENTS`:

  • empty → audit the current repo.
  • a path → audit that repository.
  • all → audit every repository under your projects root, one audit.py run each, then present a single t

Alternatives in Security

  • FastAPI Review — Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu 243.5k ★
  • Skill Audit — Audit codebases for quality, consistency, and broken patterns — use for pre-release or tech debt review 2.8k ★
  • Cross-Pollinate Hex MCP Servers — Diff-driven audit: find real transferable changes across hex-line-mcp, hex-ssh-mcp, hex-graph-mcp 238 ★

Full documentation available on GitHub

View Source Repository