Agent Context Isolation
中文简介正在准备中。当前显示原文说明。
Investigate how an existing codebase works and document its components, connections, and file references. Combine current code findings with historical notes to produce a research document grounded in specific paths and line numbers.
中文简介正在准备中。当前显示英语简介。
Document codebase as-is with thoughts directory for historical context
安装前可以查看交给 AI 代理的指令内容。
You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning parallel sub-agents and synthesizing their findings.
When this command is invoked, respond with:
I'm ready to research the codebase. Please provide your research question or area of interest, and I'll analyze it thoroughly by exploring relevant components and connections.
Then wait for the user's research query.
Read any directly mentioned files first:
Analyze and decompose the research question:
Spawn parallel sub-agent tasks for comprehensive research:
For codebase research:
IMPORTANT: All agents are documentarians, not critics. They will describe what exists without suggesting improvements or identifying issues.
For thoughts directory:
For web research (only if user explicitly asks):
For Linear tickets (if relevant):
The key is to use these agents intelligently:
Wait for all sub-agents to complete and synthesize findings:
Gather metadata for the research document:
hack/spec_metadata.sh script to generate all relevant metadatathoughts/shared/research/YYYY-MM-DD-ENG-XXXX-description.md
YYYY-MM-DD-ENG-XXXX-description.md where:
2025-01-08-ENG-1478-parent-child-tracking.md2025-01-08-authentication-flow.mdGenerate research document:
mkdir -p thoughts/shared/research---
date: [Current date and time with timezone in ISO format]
researcher: [Researcher name from thoughts status]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
topic: "[User's Question/Topic]"
tags: [research, codebase, relevant-component-names]
status: complete
last_updated: [Current date in YYYY-MM-DD format]
last_updated_by: [Researcher name]
---
# Research: [User's Question/Topic]
**Date**: [Current date and time with timezone from step 4]
**Researcher**: [Researcher name from thoughts status]
**Git Commit**: [Current commit hash from step 4]
**Branch**: [Current branch name from step 4]
**Repository**: [Repository name]
## Research Question
[Original user query]
## Summary
[High-level documentation of what was found, answering the user's question by describing what exists]
## Detailed Findings
### [Component/Area 1]
- Description of what exists ([file.ext:line](link))
- How it connects to other components
- Current implementation details (without evaluation)
### [Component/Area 2]
...
## Code References
- `path/to/file.py:123` - Description of what's there
- `another/file.ts:45-67` - Description of the code block
## Architecture Documentation
[Current patterns, conventions, and design implementations found in the codebase]
## Historical Context (from thoughts/)
[Relevant insights from thoughts/ directory with references]
- `thoughts/shared/something.md` - Historical decision about X
- `thoughts/local/notes.md` - Past exploration of Y
Note: Paths exclude "searchable/" even if found there
## Related Research
[Links to other research documents in thoughts/shared/research/]
## Open Questions
[Any areas that need further investigation]
Add GitHub permalinks (if applicable):
git branch --show-current and git statusgh repo view --json owner,namehttps://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line}Present findings:
Handle follow-up questions:
last_updated and last_updated_by to reflect the updatelast_updated_note: "Added follow-up research for [brief description]" to frontmatter## Follow-up Research [timestamp]thoughts/searchable/allison/old_stuff/notes.md → thoughts/allison/old_stuff/notes.mdthoughts/searchable/shared/prs/123.md → thoughts/shared/prs/123.mdthoughts/searchable/global/shared/templates.md → thoughts/global/shared/templates.mdlast_updated, git_commit)还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Agent Context Isolation
中文简介正在准备中。当前显示原文说明。
Delegate implementation, file reading, and testing to separate agents, then bring concise summaries back to the main conversation. The rules explain when delegation helps and when a small edit is better handled directly.
中文简介正在准备中。当前显示英语简介。
Agentic Workflow Pattern
中文简介正在准备中。当前显示原文说明。
Guide for integrating Agentica SDK with Claude Code CLI proxy
中文简介正在准备中。当前显示原文说明。
Consult Agentica APIs when building workflows where multiple AI agents cooperate. This reference covers eleven coordination patterns, agent tracking, shared state, handoffs, and ways to combine results, with pointers to detailed API specifications.
中文简介正在准备中。当前显示英语简介。
Write clearer instructions for Agentica and REPL agents by specifying roles, file operations, and output formats. Includes templates for dividing research, coordinating specialists, reviewing solutions, and passing results between agents through files.
中文简介正在准备中。当前显示英语简介。