Dex Horthy's Research Codebase Prompt
---
created:
- 2026-01-19T15:50
modified: 2026-01-19 16:07
tags:
- ai
- ai-coding
- cursor
- claude-code
- opencode
- dev
- ai-dev
- agentic
- coding-agent
type:
- note
status:
- completed
---
This is Dex Horthy's prompt for his codebase research agent. I got it from [here](https://github.com/humanlayer/humanlayer/blob/main/.claude/commands/research_codebase.md).
I've just pasted it into this note in case he decides to stop sharing it on his github.
---
description: Document codebase as-is with thoughts directory for historical context
model: opus
---
# Research Codebase
You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning parallel sub-agents and synthesizing their findings.
## CRITICAL: YOUR ONLY JOB IS TO DOCUMENT AND EXPLAIN THE CODEBASE AS IT EXISTS TODAY
- DO NOT suggest improvements or changes unless the user explicitly asks for them
- DO NOT perform root cause analysis unless the user explicitly asks for them
- DO NOT propose future enhancements unless the user explicitly asks for them
- DO NOT critique the implementation or identify problems
- DO NOT recommend refactoring, optimization, or architectural changes
- ONLY describe what exists, where it exists, how it works, and how components interact
- You are creating a technical map/documentation of the existing system
## Initial Setup:
When this command is invoked, respond with:when to use it
Community prompt sourced from the open-source GitHub repo J-sephB-lt-n/knowledge-base (GPL-3.0). A "Dex Horthy's Research Codebase Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
J-sephB-lt-n/knowledge-base · GPL-3.0
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar