Conduct structured analysis on any problem using CIA/IC analytic techniques — assess competing hypotheses, challenge assumptions, stress-test judgments, and produce defensible evidence-based assessments with full citations. Supports 18 techniques including ACH, Key Assumptions Check, What-If, Premortem, Cross-Impact Matrix, Contrasting Narratives, Devil's Advocacy, Red Hat Analysis, Alternative Futures, and Deception Detection.
Apply CIA/IC Structured Analytic Techniques to produce defensible, evidence-based analytical assessments. Every claim must be cited. Every judgment must trace to technique outputs.
/analyze → Adaptive mode (auto-select techniques)
/analyze <technique> → Direct mode (run one technique)
/analyze --guided → Guided mode (walk through all phases)
/analyze --resume <analysis-id> → Resume or update existing analysis
/analyze --iterate <analysis-id> → Re-run full analysis with new evidence
/analyze --iterate <analysis-id> <technique> → Re-run specific technique(s)
/analyze --lean → Lean mode (abbreviated technique set)
/analyze --comprehensive → Comprehensive mode (full rubric, adversarial + deception checks)
/analyze --no-osint → Disable web research
Techniques: customer-checklist, issue-redefinition, restatement, brainstorm, , , , , , , , , , , , , ,
kacachinconsistenciescross-impactwhat-ifpremortemcounterfactualnarrativesbowtieopportunitiesdevils-advocacyred-hatalt-futuresdeceptionFlags combine: /analyze --guided --no-osint is valid.
This skill is integrated into the Q investigation system..
All analysis output goes inside the active case folder, not the project root.
When an active case exists (e.g., investigations/case-001-slug/), replace every reference to analyses/{{ANALYSIS_ID}}/ with:
investigations/<active-case>/output/analyses/{{ANALYSIS_ID}}/
If no active case is identified, ask the user which case this analysis belongs to.
When collecting Tier 2 (local file) evidence, always include the active case's collected intelligence. In addition to generic Glob discovery, explicitly search these directories:
investigations/<active-case>/investigation/targets/ -- target profiles with collection status and gapsinvestigations/<active-case>/investigation/findings/ -- confirmed/assessed findings with confidence levelsinvestigations/<active-case>/investigation/evidence/ -- raw evidence and screenshotsinvestigations/<active-case>/investigation/timelines/ -- chronological event datainvestigations/<active-case>/canonical/scope.md -- hypotheses and collection requirementsThis is the richest local evidence available. Prioritize it over generic file discovery.
After any /analyze run completes, update the active case:
investigation/findings/ (with citation back to the analysis)memory/investigation-state.md with analysis summary and which techniques were runinvestigation-state.md and suggest /q-scope to the user (file authority: canonical/ is only updated via /q-scope)This system uses Apify/Exa/Jina for OSINT collection (not Firecrawl). When the skill needs web research, it should use the built-in WebSearch and WebFetch tools. For deeper collection, use /q-osint or /q-collect first, then run /analyze --no-osint on the collected evidence.
You MUST read the orchestrator protocol before proceeding. It contains mode routing, technique selection logic, and the technique routing table.
Before parsing explicit arguments, scan the conversation history for implicit inputs. Users often invoke /analyze mid-conversation after discussing a problem, providing data, or sharing links.
Extract from conversation context:
--lean), don't want web research (→ --no-osint), or want to walk through everything (→ --guided)?output/analyses/ for the same topic? (→ suggest --resume or --iterate)If context inference produced any results, present them to the user for confirmation before proceeding:
Based on our conversation, here's what I'm picking up:
**Problem**: [inferred problem statement]
**Mode**: [inferred mode + rationale]
**Techniques**: [inferred techniques, if any]
**Flags**: [inferred flags, if any]
**Prior context**: [files, data, or evidence already in conversation]
Does this look right? Adjust anything before I proceed.
If the user provided explicit arguments, those always take precedence — but still surface any useful context (e.g., "You asked for ACH. I also noticed you shared [file] earlier — I'll include that as evidence.").
If no conversation context exists and no arguments were provided, proceed directly to Adaptive mode (the orchestrator will prompt for a problem statement).
protocols/orchestrator.md (relative to this skill's directory){{ANALYSIS_DIR}}/working/protocols/evidence-collector.mdprotocols/report-generator.md Phase A/B architecture{{PLACEHOLDER}} tokens?/analyze --iterate commands. Only fires when actionable flags exist beyond what auto-remediation already addressed. All flags and their statuses are written to next-steps.md in the analysis root — a standalone ledger tracking OPEN, REMEDIATED, RESOLVED, and DEFERRED items across iterations. The --iterate handler reads this file as its primary input.Every claim in every artifact must be cited. No exceptions. Citation methods:
[Source](URL) — Retrieved: YYYY-MM-DD[filename:line_range][User-provided, session context][Derived via technique_name][PRIOR-v{N}: technique_name]OSINT is never presented as fact — always "according to [source]".
For deep background on any technique, read library/00-prime.md (relative to this skill's directory) and the specific library files referenced in each protocol. The library contains the full theoretical foundation, axioms, selection matrices, and empirical critiques underlying this skill.