Index of every page on this site: llms.txt
All skills
kartikkabadi avatar

/repo-inspection

@02a497f
by Kartikkartikkabadi/skills10 stars
Run it yourself

Deep codebase inspection: understand repo structure, read key files, map dependencies, and summarize what is built, partial, missing, and blocked. Use when the user asks to inspect, audit, learn, or go deep on a repo.

Use this Skill: https://skilld.dev/gh/kartikkabadi/skills/repo-inspection

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈59 tokens for metadata: the name and description. ≈655 when used: this file.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈235 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Repo Inspection

Use this skill when the user says "check this repo," "inspect this codebase," "go deep into this project," "learn about this repo," or "what's the state of this project?"

Goal: produce a comprehensive understanding of what exists, what's partially built, and what's missing.

When Not To Use

  • the user wants a specific fix and the affected files are obvious.
  • The repo is tiny; just read it directly.
  • the user already knows the codebase and asked for direct implementation.

Phase 1: Structural Survey

  1. Read nearest AGENTS.md.
  2. Confirm repo root before git operations.
  3. List files with rg --files or find, excluding dependency/build directories.
  4. Read manifests: package.json, pyproject.toml, Cargo.toml, go.mod, etc.
  5. Read README and source-of-truth docs.
  6. Identify the framework and runtime entry points.

Phase 2: Source Of Truth Files

Find and read the files that explain the architecture:

  • data model/schema
  • auth/access control
  • API routes/handlers
  • core business logic
  • config/env examples, without reading secrets
  • product specs/status docs
  • tests and CI

Read in this order: README -> schema -> auth -> API routes -> core logic -> config -> tests. Stop only when you have a coherent mental model.

Phase 3: Frontend Map

If applicable, inspect:

  • route/layout files
  • product components
  • styling/theme tokens
  • state management
  • loading/error/empty states

Distinguish real implementation from shell:

  • shell: hardcoded data, placeholder copy, static demo, "coming soon"
  • real: backend wired, dynamic data, error/loading states, tests or runtime proof

For UI/UX implementation work, follow the user's OpenCode-first preference from AGENTS.md.

Phase 4: Summary Shape

Return:

What This Repo Is
What's Actually Built
What's Partial / Needs Work
What's Missing / Hard Blockers
The Real Bottleneck
Recommended Next Steps
Verification / What Was Read

Exhaustive Mode

If the user asks for a complete audit, optimization audit, security audit, or says to read every file, do not stop at the coherent-model threshold. Read exhaustively within the stated scope, because dead code, duplicate implementations, template remnants, and security issues hide in files that normal inspection would skip.

Multi-Repo Workspaces

Before reading code, map relationships:

  • repo path
  • remote URL
  • branch
  • last commits
  • working tree status
  • whether it is primary, stale, merged, local-only, or separate upstream

Skip source reads for stale/merged snapshots unless the user explicitly wants the historical branch inspected.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    The skill is a codebase inspection and auditing tool designed to analyze repository structures, manifests, and source code. It performs local file discovery and reading to provide summaries of project status. No malicious patterns, external exfiltration, or dangerous command executions were identified.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at 02a497f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago
version
1.0.0-codex
author
Hermes Agent, adapted for Codex
platforms
[
  "linux",
  "macos",
  "windows"
]

README badge

README badge for kartikkabadi/skills/repo-inspection