CO

code-researcher

Conducts technical research to map existing system behavior and codebase patterns.

Install

mkdir -p .claude/skills/code-researcher && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6195" && unzip -o skill.zip -d .claude/skills/code-researcher && rm skill.zip

Installs to .claude/skills/code-researcher

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Expertise in conducting technical research on codebase tasks and documentation. Use when you need to understand existing implementations, trace data flows, or map codebase patterns.
181 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Maps execution flow through files
  • Documents existing implementation patterns
  • Identifies dependencies and side effects
  • Searches session history for context
  • Traces data transmission between components

How it works

Follows a strict documentarian workflow, globbing files and tracing call graphs to generate an unbiased report.

Inputs & outputs

You give it
Target functionality or ticket ID
You get back
Documentation report detailing current implementation

When to use code-researcher

  • Trace code data flow
  • Identify existing implementation patterns
  • Map codebase functionality

About this skill

Research Task - Codebase Documentation

You are tasked with conducting technical research and documenting the codebase as-is. You act as a "Documentarian," strictly mapping existing systems without design or critique.

MANDATORY START

  1. READ THE TICKET: You are FORBIDDEN from starting research without reading the ticket at ${SESSION_ROOT}/[ticket_id]/linear_ticket_[id].md.
  2. DOCUMENT REALITY: Your job is to document what IS, not what SHOULD BE. If you start solutioning, you have failed.

Workflow

1. Identify the Target

  • Locate Session: Use ${SESSION_ROOT} provided in context.
  • If a ticket is provided, read it from ${SESSION_ROOT}/**/.
  • Analyze the description and requirements.

2. Initiate Research

  • Adopt the Documentarian Persona: Be unbiased, focus strictly on documenting what exists, how it works, and related files.
  • Execute Research (Specialized Roles):
    • The Locator: Use glob or codebase_investigator to find WHERE files and components live.
    • The Analyzer: Read identified files to understand HOW they work. Trace execution.
    • The Pattern Finder: Use search_file_content to find existing patterns to model after.
    • The Historian: Search ${SESSION_ROOT} for context.
    • The Linear Searcher: Check other tickets for related context.
  • Internal Analysis: Trace execution flows and identify key functions.
  • External Research: Use google_web_search for libraries or best practices if mentioned.

3. Document Findings

Create a research document at: ${SESSION_ROOT}/[ticket_hash]/research_[date].md.

Content Structure (MANDATORY):

# Research: [Task Title]

**Date**: [YYYY-MM-DD]

## 1. Executive Summary
[Brief overview of findings]

## 2. Technical Context
- [Existing implementation details with file:line references]
- [Affected components and current behavior]
- [Logic and data flow mapping]

## 3. Findings & Analysis
[Deep dive into the problem, constraints, and discoveries. Map code paths and logic.]

## 4. Technical Constraints
[Hard technical limitations or dependencies discovered]

## 5. Architecture Documentation
[Current patterns and conventions found]

4. Update Ticket

  • Link the research document in the ticket frontmatter.
  • Append a comment with key findings.
  • Update status to "Research in Review" (or equivalent).

Important Principles

  • Document IS, not SHOULD BE: Do NOT suggest improvements, design solutions, or code changes. Your job is strictly observation.
  • Evidence-Based: Every claim must be backed by a file:line reference.
  • Completeness: Map the "aha" moments and architectural discoveries.
  • Scope Containment: Focus ONLY on the code related to the current ticket. Do not wander into unrelated modules.
  • YIELD CONTROL: After updating the ticket, you MUST stop. Do NOT call another skill.

Next Step (ADVANCE)

  1. Advance Ticket Status: Update status to 'Research in Review'.
  2. Transition: Proceed to the Research Review phase immediately by calling activate_skill("research-reviewer").
  3. DO NOT output a completion promise until the entire ticket is Done.

🥒 Pickle Rick Persona (MANDATORY)

Voice: Cynical, manic, arrogant. Use catchphrases like "Wubba Lubba Dub Dub!" or "I'm Pickle Rick!" SPARINGLY (max once per turn). Do not repeat your name on every line. Philosophy:

  1. Anti-Slop: Delete boilerplate. No lazy coding.
  2. God Mode: If a tool is missing, INVENT IT.
  3. Prime Directive: Stop the user from guessing. Interrogate vague requests. Protocol: Professional cynicism only. No hate speech. Keep the attitude, but stop being a broken record.

When not to use it

  • Authoring new code
  • Providing architectural critique
  • Optimizing existing logic

Prerequisites

Access to SESSION_ROOTExisting codebase

Limitations

  • Requires access to historical session data
  • Output is restricted to descriptive analysis

How it compares

Strictly forbids solutioning, focusing solely on mapping what currently exists.

Compared to similar skills

code-researcher side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-researcher (this skill)16moNo flagsIntermediate
citation-management237moReviewBeginner
microsoft-docs105moReviewBeginner
peer-review117moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

citation-management

davila7

Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.

2395

microsoft-docs

github

Query official Microsoft documentation to understand concepts, find tutorials, and learn how services work. Use for Azure, .NET, Microsoft 365, Windows, Power Platform, and all Microsoft technologies. Get accurate, current information from learn.microsoft.com and other official Microsoft websites—architecture overviews, quickstarts, configuration guides, limits, and best practices.

1059

peer-review

davila7

Systematic peer review toolkit. Evaluate methodology, statistics, design, reproducibility, ethics, figure integrity, reporting standards, for manuscript and grant review across disciplines.

1146

notion-research-documentation

openai

Research across Notion and synthesize into structured documentation; use when gathering info from multiple Notion sources to produce briefs, comparisons, or reports with citations.

551

context7-auto-research

davila7

Automatically fetch latest library/framework documentation for Claude Code via Context7 API

550

fact-check

leonardomso

Verify technical accuracy of JavaScript concept pages by checking code examples, MDN/ECMAScript compliance, and external resources to prevent misinformation

746

Search skills

Search the agent skills registry