一键导入
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 职业分类
Host orchestrator that drives an issue through the full per-issue lifecycle — dispatches each phase (review-issue → plan-task → review-plan → implement → review-code → triage-reviews → address-findings) as a fresh-context sub-agent, reads each phase's progress.md entry to choose the next action, and pauses at user checkpoints. Local-first: the PR is created at the end, never auto-pushes or auto-merges without confirmation.
Evaluate a GitHub issue against workspace principles and ADRs before work begins. Records findings in progress.md and best-effort posts them as a comment on the issue.
Independent evaluation of a committed work plan before implementation begins. Checks scope, approach, principle alignment, consequences, and ROS conventions.
Activate deployment mode for a live field deployment. Discovers the project's deployment config, detects dev/field side via field_mode.sh, and either creates a new deployment, first-activates an existing one (worktree/main-tree + per-host log + issue-sync push), or resumes an ongoing one. Loads the urgency contract (sterile-cockpit / mitigate-before-diagnose / time-box) into the current agent session.
Close out a field deployment. Verifies dev-side access, finds the open deployment issue, collects field logs, interviews the operator for corrections, consolidates the dev log, reconciles field code via SHA-preserving merge and /import-field-changes, opens the wrap-up PR (Closes
Lead reviewer that orchestrates specialist sub-reviews (static analysis, governance, plan drift, adversarial) to evaluate a PR or pre-push diff. Scales review depth to change risk. Produces a unified structured report and persists findings to progress.md.
| 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:
Write path: .agents/workspace-context/research_digest.md (in the manifest repo,
where the file is git-tracked — commit there)
Read path: .agent/project_knowledge/research_digest.md (workspace symlink to
manifest repo's .agents/workspace-context/; may not exist until setup_layers.sh creates the symlink)
Topics specific to the project domain:
# Research Digest: <scope>
<!-- Last updated: YYYY-MM-DD -->
<!-- If older than 30 days, consider running /research --refresh; entries older than 90 days should be flagged for review -->
## <Topic Title>
**Added**: YYYY-MM-DD | **Sources**: [link1](url), [link2](url)
Key takeaways:
- <concise finding>
- <concise finding>
**Relevance**: <why this matters to the workspace/project>
---
## <Next Topic>
...
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
Project scope (--scope project): the project digest lives in the manifest
repo, so you need a GitHub issue and a layer worktree targeting that repo.
.agent/scripts/worktree_create.sh --issue <N> --type layer --layer <layer> --packages <manifest-repo>
source .agent/scripts/worktree_enter.sh --issue <N>
cd <layer>_ws/src/<manifest-repo>
/research <topic>)git push -u origin HEAD && gh pr create --fill/research --ingest <url>)/research --refresh)