con un clic
spectre-research
👻 | Research codebase with parallel agents - primary agent
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
👻 | Research codebase with parallel agents - primary agent
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
👻 | Transform requirements into executable tasks - primary agent
👻 | Independent multi-lens review of plan.md and/or tasks.md — finds overengineering, missing verification, hallucinated deps, weak references
👻 | Unified planning entry point - researches, assesses complexity, routes to workflow - primary agent
👻 | Transform requirements into executable tasks - primary agent
👻 | Independent multi-lens review of plan.md and/or tasks.md — finds overengineering, missing verification, hallucinated deps, weak references
👻 | Unified planning entry point - researches, assesses complexity, routes to workflow - primary agent
| name | spectre-research |
| description | 👻 | Research codebase with parallel agents - primary agent |
| user-invocable | true |
Treat the current command arguments as this workflow's input. When invoked from a slash command, use the forwarded $ARGUMENTS value.
TASK_DIR/research/{topic}_{date}.md, ready for task formalization or planning.Optional user input to seed this workflow.
$ARGUMENTSgit rev-parse HEAD)git rev-parse --abbrev-ref HEAD)branch_name=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)target_dir/path → OUT_DIR={that value}OUT_DIR=docs/tasks/{branch_name}mkdir -p "OUT_DIR/research"# Research: [User's Question/Topic]docs/ (look for /research directories))git branch --show-current and git statusgh repo view --json owner,namehttps://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line}{OUT_DIR}/research/.
{research_topic}_{MMDDYY}.md{OUT_DIR}/research/{filename}last_updated, last_updated_by, add last_updated_note: "Added follow-up research for [brief description]"## Follow-up Research [timestamp]Skill(spectre-guide) skill (contains format template and spectre command options)See Skill(spectre-guide) skill for footer format and command options.
Immediate reply sent; research topic requested (Step 1 - no tool calls)
User research query received
Output directory determined inline (OUT_DIR) using branch name or user-specified path
Directly mentioned files read FULLY in main context before decomposition
Research question decomposed into composable areas with ultra-thinking about patterns/connections
Research plan created using TodoWrite to track subtasks
Specialized sub-agents spawned in parallel (finder, analyst, patterns, web-research as needed, linear agents if relevant)
Agent strategy followed (locator → analyzer → parallel execution)
Web research agents instructed to return LINKS (if used)
ALL sub-agents completed before synthesis
Findings compiled with live codebase prioritized as source of truth
Results include specific file paths and line numbers
Cross-component connections and patterns highlighted
Concrete evidence provided for user's questions
Metadata gathered for frontmatter (date/time ISO, commit hash, branch, repo name)
Research document created with YAML frontmatter at top
Frontmatter fields consistent (snake_case for multi-word: git_commit, last_updated)
Document includes all 9 required sections in order
GitHub permalinks generated if on main/master or pushed commit
Local file references replaced with permalinks (when applicable)
Document saved to {OUT_DIR}/research/{topic}_{MMDDYY}.md
Concise findings summary presented to user with key file references
Follow-up questions handled with document updates (frontmatter updated, new section added)
Next steps guide read and relevant options sourced for footer