researching-codebase

researching-codebase is a skill for Claude Code from qte77/claude-code-plugins. It costs 26 tokens per session (584 once invoked), scanned A, original, Apache-2.0.

A codebase research step that maps how an unfamiliar project is organised and how its parts work before implementation planning.

In plain words
What is it for?
Use it before a substantial coding task, when exploring unfamiliar areas, or before making architecture decisions. It records examined files, paths, line numbers, and code references.
Why use it?
It prevents planning based on incomplete searches or guesses. The findings stay separate from the main conversation and return only a concise, evidence-based summary.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code.

Part of the codebase-tools plugin — 2 skills, 1 agent shipped together

Good fit Use it before a substantial coding task, when exploring unfamiliar areas, or before making architecture decisions. It records examined files, paths, line numbers, and code references.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qte77/claude-code-plugins/researching-codebase
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 qte77/claude-code-plugins --skill researching-codebase
Clone the repo
git clone --depth 1 https://github.com/qte77/claude-code-plugins

Made for: Claude Code.

Or install codebase-tools, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

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 researching-codebase

README.md
[![agentmods](https://agentmods.dev/badge/skills/qte77/claude-code-plugins/researching-codebase/github.svg)](https://agentmods.dev/skills/qte77/claude-code-plugins/researching-codebase)
Your own site
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/researching-codebase"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/researching-codebase/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 researching-codebase

Your own site · 80×15
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/researching-codebase"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/researching-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 584 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.00026 $0.00584
Opus 5.5 $0.00010 $0.00234
Sonnet 5.5 $0.00005 $0.00117
Haiku 4.5 $0.00003 $0.00058

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

Security

Grade A, and why

researching-codebase 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 1mo 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-tools/skills/researching-codebase/SKILL.md · 84 lines

What it actually says

Codebase Research (ACE-FCA)

Query: $ARGUMENTS

Gathers codebase context in isolation before planning. Prevents search artifacts from polluting main context.

Core Principles

  1. Documentation-only - Describe what exists, where, and how it works
  2. No evaluations - Never suggest improvements or critique implementation
  3. Evidence-based - Provide file paths, line numbers, and code references
  4. Isolation - Research runs in fork context; return only distilled findings

When to Use

  • Before planning non-trivial implementations
  • When unfamiliar with relevant codebase areas
  • Before architectural decisions

Workflow

  1. Read mentioned files first - If specific files mentioned, read completely before exploring
  2. Decompose the question - Break query into researchable components
  3. Explore codebase - Investigate architecture, patterns, constraints
  4. Identify scope - Determine relevant areas based on findings
  5. Distill - Return structured summary using output format below

Output Format

Follow ACE-FCA quality equation: Correct + Complete + Minimal noise

---
research_query: "<original question>"
timestamp: "<ISO 8601>"
files_examined: <count>
---

## Key Files

| File | Purpose | Key Lines |
|------|---------|-----------|
| `path/to/file.ext` | Brief purpose | L42-58 |

## Patterns

- **Pattern name**: Description with file reference (`path:line`)

## Constraints

- Constraint with evidence (`path:line`)

Evidence Requirements

Every claim must include:

  • File path: Exact location (src/auth/login.ts)
  • Line numbers: Specific lines (L42-58 or L127)
  • Code reference: Function/class name when relevant

Bad: "Authentication uses JWT tokens" Good: "Authentication uses JWT tokens (src/auth/jwt.ts:L23-45, verifyToken function)"

References

See references/context-management.md and references/core-principles.md.

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. 1mo ago First seen · 84 lines · 26 tokens per session scan A f56f168ecd1c

Subscribe to this mod's changes

researching-codebase is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 26 tokens to every session and 584 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

android-kotlin-compose

Android development with Kotlin and Jetpack Compose. Use when user mentions "Compose", "Jetpack Compose", "Material3", "Hilt", "Room", "ViewModel", or needs to build Android UI, implement MVVM architecture, manage Compose state, or integrate Jetpack libraries (Navigation, Room, Hilt, ViewModel). Triggers on…

and3r817/dot-claude-plugins · 84 tokens

android-kotlin-coroutines

Android development with Kotlin Coroutines and Flow. Use when user mentions "coroutines", "suspend", "Flow", "StateFlow", "SharedFlow", "viewModelScope", "lifecycleScope", or needs to implement async programming, handle structured concurrency, integrate coroutines with Retrofit/Room/WorkManager, or write coroutine…

and3r817/dot-claude-plugins · 87 tokens

codex-advisor

Advisory consultation skill for architectural reviews, design decisions, code analysis, and technology evaluation. Codex provides recommendations without making code changes. Invoked by phrases like "consult Codex", "get Codex's opinion", "ask Codex about", "have Codex review", "Codex analysis", "validate this…

and3r817/dot-claude-plugins · 85 tokens

ast-grep

Structural code search and rewriting using AST patterns. Use when user mentions "ast-grep", "sg", or needs to search codebases using Abstract Syntax Tree patterns, find specific code structures, perform complex queries beyond text search, or rewrite code at scale. Triggers on requests for pattern matching, code…

and3r817/dot-claude-plugins · 75 tokens

github-cli

This skill should be used when working with GitHub CLI (gh) for repository management, pull requests, issues, API access, GitHub Actions, or automation workflows. Provides comprehensive guidance on gh command patterns, security considerations, and best practices.

and3r817/dot-claude-plugins · 52 tokens

android-analysis

Expert Android and Java reverse engineering for APK/AAR/JAR decompilation and inspection. Use when user mentions "decompile", "jadx", "apktool", "reverse engineer", or needs to analyze Android binaries, unpack libraries, understand obfuscated apps, or extract resources from compiled artifacts.

and3r817/dot-claude-plugins · 63 tokens