一键导入
research
Survey external sources on a topic and maintain living research digests. Workspace digest is tracked; project digest lives in the manifest repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Survey external sources on a topic and maintain living research digests. Workspace digest is tracked; project digest lives in the manifest repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Lead reviewer that orchestrates specialist sub-reviews (static analysis, governance, plan drift, adversarial) to evaluate a PR. Scales review depth to change risk. Produces a unified structured report.
Claude Code only — create or enter the worktree for an issue/skill and switch the session into it via the native EnterWorktree tool. Wraps worktree_create.sh / worktree_enter.sh so all project policy (issue checks, branch naming, skill allowlist, --plan-file draft PR, --workflow scaffolding) still applies.
Evaluate PR review comments (human and bot) against local code, principles, and ADRs. Includes CI check status. Classifies each as valid or false positive and presents a fix plan.
Generate a principles-aware work plan for an issue. Saves to `.agent/work-plans/` in the repo that owns the issue and commits as the first step on the feature branch.
Scan project repositories for GitHub issues, categorize them, flag stale items, and cross-reference with workspace tracking.
Read ROADMAP.md files, cross-reference with GitHub issues, detect staleness, and suggest prioritized next work.
| name | research |
| description | Survey external sources on a topic and maintain living research digests. Workspace digest is tracked; project digest lives in the manifest repo. |
/research <topic> # Add to workspace digest (default)
/research --scope project <topic> # Add to project digest
/research --ingest <url> # Extract takeaways from a URL
/research --refresh # Re-survey known topics, prune stale entries
Lifecycle position: Utility — not tied to the per-issue lifecycle. Use any time to survey external sources or maintain research digests.
Maintain living research digests that capture external best practices, emerging
techniques, and relevant developments. This is external research — surveying
sources outside the workspace. For project introspection, use
gather-project-knowledge.
Two digests, each git-tracked so they're shared across agents and sessions:
Location: .agent/knowledge/research_digest.md (git-tracked in the workspace repo;
create with the digest format below if it doesn't exist)
Topics relevant to any project using this workspace:
Location: .agents/workspace-context/research_digest.md (in the project repo,
git-tracked — commit there via a project worktree)
Topics specific to the project domain (varies by project).
# Research Digest: <scope>
<!-- Last full refresh: YYYY-MM-DD -->
<!-- Run /research --refresh periodically to re-survey stale entries -->
## <Topic Title>
**Added**: YYYY-MM-DD | **Last verified**: YYYY-MM-DD | **Sources**: [link1](url), [link2](url)
Key takeaways:
- <concise finding>
- <concise finding>
**Relevance**: <why this matters to the workspace/project>
---
## <Next Topic>
...
Staleness rules: An entry is stale when its Last verified date (or Added
date if never verified) exceeds 30 days. Entries older than 90 days should be
flagged for review or removal. The top-level Last full refresh timestamp
records when --refresh last ran across all entries — it is not updated when
individual topics are added.
The worktree type depends on the scope:
Workspace scope (default): use a --skill research worktree — no issue needed.
.agent/scripts/worktree_create.sh --skill research --type workspace
source .agent/scripts/worktree_enter.sh --skill research --type workspace
Project scope (--scope project): the project digest lives in the project
repo, so you need a GitHub issue and a project worktree.
.agent/scripts/worktree_create.sh --issue <N> --type project
source .agent/scripts/worktree_enter.sh --issue <N> --type project
/research <topic>)Added and
Last verified to today for new entries; update Last verified for existing)git push -u origin HEAD && gh pr create --fill/research --ingest <url>)/research --refresh)Last verified date
(or Added date if never verified):
Last verified date to todayLast full refresh timestamp to todayLast verified. Entries >30 days
are prioritized for refresh; >90 days are flagged for review or removal.
Fast-moving topics may need shorter windows.