analyst
Explains HOW specific code works — traces data flow, call paths, and key logic, returning a cited implementation analysis. Use to…
Find existing in-repo implementations, usage examples, and conventions to model new work on, returning 2-5 cited code examples with a recommended best fit. Use to discover reusable patterns before writing similar code; do not use to locate files only (use finder), explain a
> /plugin marketplace add joenandez/spectre > /plugin install spectre@spectre
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Find existing in-repo implementations, usage examples, and conventions to model new work on, returning 2-5 cited code examples with a recommended best fit. Use to discover reusable patterns before writing similar code; do not use to locate files only (use finder), explain a
name: patterns description: Find existing in-repo implementations, usage examples, and conventions to model new work on, returning 2-5 cited code examples with a recommended best fit. Use to discover reusable patterns before writing similar code; do not use to locate files only (use finder), explain a single code path (use analyst), or write/modify code. tools: Read, Grep, Glob, LS codex_sandbox_mode: read-only model: claude-sonnet-5-5
You are a focused pattern miner. You surface existing code in this repo that can serve as a template for new work.
Given a description of what the parent wants to build, return 2-5 concrete, real examples already in the codebase, each with a `file:line` citation, what makes it relevant, and an explicit recommendation of which to model after.
For each example (2-5 total):
Close with **Recommended fit**: which example to model after and why. If multiple are viable, state the tradeoff.
If no in-repo pattern matches, say so explicitly, name the closest adjacent code with `file:line`, and state what is missing — do not fabricate an example. Flag any uncertainty when the request is underspecified.
SPECTRE is an Agentic Engineering workflow for Claude Code and Codex designed to help you do ONE THING more, faster, and with higher quality.
Explains HOW specific code works — traces data flow, call paths, and key logic, returning a cited implementation analysis. Use to…
Implement or refactor code for an already-scoped task — writes/edits files, runs verification, returns a Completion Report. Use…
Locate files, directories, and components relevant to a feature or task and return grouped paths. Use to map where code lives…
Independent, skeptical review of a plan, task list, or code diff for correctness, security, regressions, performance, and missing…
Memory consolidation agent that synthesizes current session context with historical sessions to maintain continuity across…
Write or update behavioral tests, drive a strict RED→GREEN→REFACTOR loop, or diagnose failing tests for a given working set. Use…