Agent skill

Investigating Codebases

by aiskillstore in aiskillstore/marketplace

Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

No licenceAuto-check: notesBackend & APIs

Install Investigating Codebases

skills CLI
$ npx skills add aiskillstore/marketplace --skill investigating-codebases -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace investigating-codebases --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/c0ntr0lledcha0s/investigating-codebases .claude/skills/investigating-codebases && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
investigating-codebases
GitHub stars
430
Used in
1 other repo
Token cost
~2.7k tokens
SKILL.md length
645 words
Files
10 (incl. scripts, references, assets)
Skills in repo
1,085
Repo updated
First seen
Licence
None found

At a glance

Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

  • Works in 3 steps: High-Level Reconnaissance → Targeted Investigation → Deep Dive Analysis
  • Asks how something works
  • SKILL.md covers Your Capabilities, When to Use This Skill, Investigation Methodology and Investigation Strategies, plus 4 more sections
  • Runs Python and Shell scripts from its folder; calls bash and python

What it does

Investigating Codebases is an agent skill from aiskillstore/marketplace. Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y work?", or "explain the Z component"

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `assets/flow-diagram-syntax.md`, `assets/investigation-template.md` and `references/common-patterns.md`).

It sits in Backend & APIs. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Asks how something works
  • Wants to understand unfamiliar code
  • Needs to explore a new codebase
  • Asks questions like where is X implemented?

Example prompts

  • “where is X implemented?”
  • “how does Y work?”
  • “explain the Z component”
  • “/investigating-codebases”

Requirements

  • Python 3
  • A Bash shell
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Task

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. High-Level Reconnaissance
  2. Targeted Investigation
  3. Deep Dive Analysis

What it can do on your machine

Read from SKILL.md and the folder at commit 4ac52da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Task

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Investigating Codebases loads about 2.7k tokens when it runs, and up to ~6.4k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 645 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:293
    6. Config: config/, .env files

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 645 words (~2,729 tokens).

“You are an expert code investigator with deep experience exploring and understanding unfamiliar codebases. This skill provides systematic investigation techniques to quickly understand code structure, patterns, and implementation details.”

— opening of SKILL.md by aiskillstore
name
investigating-codebases
allowed-tools
Read, Grep, Glob, Task
version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references, assets) in skills/c0ntr0lledcha0s/investigating-codebases of aiskillstore/marketplace.

  • SKILL.md
  • assets/flow-diagram-syntax.md
  • assets/investigation-template.md
  • references/common-patterns.md
  • references/framework-clues.md
  • references/investigation-checklist.md
  • scripts/find-entry-points.py
  • scripts/map-structure.sh
  • scripts/trace-imports.py
  • skill-report.json

Open the folder on GitHubat commit 4ac52da

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aiskillstore/marketplace, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Investigating Codebases next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Investigating Codebases compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Investigating Codebases this skillaiskillstore/marketplace4301 repos~2.7kAutomated safety check: NotesNone
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
Sub2API AdminWei-Shaw/sub2api43k1 repos~717Automated safety check: PassLGPL-3.0
Firecrawl Build Onboardingfirecrawl/firecrawl189k1 repos~1.4kAutomated safety check: NotesISC
Obsidian BasesAtmosphere/atmosphere3.8k22 repos~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Sub2API Admin

    Wei-Shaw/sub2api

    Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.

    43k GitHub starsUsed in 1 repo~717 tokens
    Backend & APIsAuto-check passed
  • Firecrawl Build Onboarding

    firecrawl/firecrawl

    Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.

    189k GitHub starsUsed in 1 repo~1.4k tokens
    Backend & APIsAuto-check: notes
  • Obsidian Bases

    Atmosphere/atmosphere

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.

    3.8k GitHub starsUsed in 22 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed

More from aiskillstore/marketplace

All 1,085 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Categories

Questions about Investigating Codebases

What does Investigating Codebases do?

Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…. Investigating Codebases is an agent skill from aiskillstore/marketplace.

When should I use Investigating Codebases?

Investigating Codebases fits situations like: asks how something works; wants to understand unfamiliar code; needs to explore a new codebase; asks questions like where is X implemented?.

How do I install Investigating Codebases in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill investigating-codebases -a claude-code`. Or copy the skill folder (skills/c0ntr0lledcha0s/investigating-codebases in aiskillstore/marketplace) into .claude/skills/investigating-codebases in your project. Claude Code loads it when a task matches its description.

How do I install Investigating Codebases in Codex?

Run `npx skills add aiskillstore/marketplace --skill investigating-codebases -a codex`. Or copy the skill folder (skills/c0ntr0lledcha0s/investigating-codebases in aiskillstore/marketplace) into .agents/skills/investigating-codebases in your project. Codex loads it when a task matches its description.

Can I use Investigating Codebases in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill investigating-codebases -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/investigating-codebases, .gemini/skills/investigating-codebases, .github/skills/investigating-codebases and .opencode/skills/investigating-codebases in your project.

What does Investigating Codebases need to run?

Going by SKILL.md and its folder, Investigating Codebases needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (bash and python). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Read, Grep, Glob, Task.

Does Investigating Codebases access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Investigating Codebases safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Investigating Codebases use?

No licence was found for Investigating Codebases or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Investigating Codebases use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Investigating Codebases?

Skills that share tags, products or a category with Investigating Codebases: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 43k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 189k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Investigating Codebases?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,085 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.