skills/parallax-investigation/SKILL.md
Use when you need true understanding of a complex system — not a quick answer. Parallax Discovery is a multi-agent, multi-pass investigation methodology that combines three perspectives (code tracing, behavior observation, integration mapping) to produce verified, evidence-backed findings.
npx skillsauth add microsoft/amplifier-bundle-dot-graph parallax-investigationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Parallax Discovery is a multi-agent, multi-pass investigation methodology named after astronomical parallax — just as astronomers triangulate depth by observing stars from multiple positions, this methodology triangulates truth by examining code from multiple perspectives.
Use Parallax Discovery when you need true understanding, not a quick answer:
A single agent reading code produces a single perspective. Parallax produces three, then reconciles them.
Each perspective is a distinct agent role. Together they form a triplicate team. All agents in a team run with fresh context (context_depth='none') — this is non-negotiable. Prior session state contaminates findings.
goToDefinition, incomingCalls, outgoingCalls, findReferencesfindings.md, evidence.md, diagram.dotcatalog.md, patterns.md, findings.md, diagram.dotintegration-map.md, findings.md, diagram.dotDiscrepancies between agents are valuable signals, not failures.
When two agents disagree:
A discrepancy marks exactly where design and reality have separated. Suppressing it destroys the investigation's most valuable finding.
Goal: Cast a wide net. Identify patterns, mechanisms, and boundaries.
Goal: Focused deep dives to resolve discrepancies from Wave 1.
evidence.md with file:line citations is required for every findingGoal: Execution-based stress testing of consolidated findings.
Choose fidelity based on investigation depth required:
| Tier | Agents | Use When | |------|--------|----------| | quick | 1 agent: code-tracer only | Fast initial scan, time-constrained | | standard | 2 agents: code-tracer + integration-mapper | Default for most investigations | | deep | 3 agents: full triplicate (all three) | High-stakes, unfamiliar, or complex systems |
Default fidelity is standard. Use the fidelity context variable to override.
The investigation lens context variable focuses agent attention:
| Frame | Lens Value | Focus |
|-------|-----------|-------|
| Architecture | architecture | System structure, module boundaries, coupling |
| Security | security | Attack surface, data flow, trust boundaries |
| Quality | quality | Code health, anti-patterns, technical debt |
| Onboarding | onboarding | Entry points, key concepts, learning path |
| Debugging | debugging | Failure modes, error paths, state transitions |
Each agent writes to an isolated subdirectory — no shared mutable state between agents.
.discovery/
investigation/
modules/
{slug}/
agents/
code-tracer/
findings.md
evidence.md
diagram.dot
unknowns.md
behavior-observer/
catalog.md
patterns.md
findings.md
diagram.dot
integration-mapper/
integration-map.md
findings.md
diagram.dot
output/
combined.md
overview.dot
synthesis.md
Artifacts are written before reconciliation. The lead-investigator reads all artifacts after the wave completes and produces the reconciliation document.
For full protocol specifications, see:
@parallax-discovery:context/methodology.md — complete methodology reference@parallax-discovery:context/triplicate-pattern.md — triplicate team patterns@parallax-discovery:context/artifact-strategy.md — artifact directory conventions@parallax-discovery:context/wave-protocol.md — wave execution protocoldevelopment
Use when writing or reading DOT/Graphviz code and needing quick syntax reference — node declarations, edge syntax, attributes, subgraphs, HTML labels, and common gotchas
testing
Use when enforcing quality standards on DOT diagrams — checking completeness, structure, and visual clarity before sharing or committing
tools
Use when you need copy-paste DOT templates for common diagram types — start from a working pattern rather than blank canvas
development
Use when you need programmatic graph structure analysis — reachability, cycles, critical paths, and diffs without spending LLM tokens on structural questions code can answer