/sat-analysis:sat-analysisfrom sat-analysis
Applies intelligence community Structured Analytic Techniques (SAT) to technical analysis: separates observations from interpretations, generates competing hypotheses, and evaluates evidence via ACH matrices. Auto-selects modes for breach detection, crash analysis, fix verification, statement validity, and general hypothesis testing.
Ships in sat-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Apply intelligence community analytic tradecraft to technical analysis problems. Enforces cognitive discipline, generates comprehensive hypotheses, evaluates competing explanations, and produces calibrated assessments.
Technical analysis often suffers from confirmation bias, anchoring on the first plausible explanation, and failure to consider alternative hypotheses. Without structured cognitive discipline, analysts jump from observation to conclusion, skipping rigorous evaluation of competing explanations and producing overconfident, unfalsifiable assessments.
Auto-select based on input:
| Input Pattern | Mode |
|---|---|
| Logs + security question | BREACH_DETECTION |
| Crash/stack trace + cause question | CRASH_ANALYSIS |
| Code diff + fix verification | FIX_VERIFICATION |
| Claim/statement + validity question | STATEMENT_ANALYSIS |
| Ambiguous situation | GENERAL_HYPOTHESIS |
Every analysis follows this sequence:
Critical: Separate observations from interpretations FIRST.
| Test | If Yes → |
|---|---|
| Could a camera record this exactly? | Observation |
| Requires inference or judgment? | Interpretation → becomes hypothesis |
BAD: "Attacker logged in at 3am"
GOOD: "Login recorded for user X at 03:00:00 from IP Y"
BAD: "Malicious PowerShell execution"
GOOD: "powershell.exe spawned by winword.exe at [time]"
Minimum 5 hypotheses before any evaluation.
Generation methods (use ≥2):
Required categories (at least one each):
Rate each evidence-hypothesis pair:
| Rating | Symbol | Meaning |
|---|---|---|
| Strongly Supports | ++ | Evidence predicted by hypothesis |
| Supports | + | Consistent with hypothesis |
| Neutral | N | Neither supports nor contradicts |
| Contradicts | - | Inconsistent with hypothesis |
| Strongly Contradicts | -- | Argues against hypothesis |
Score: ++=+2, +=+1, N=0, -=-1, --=-2
Always provide BOTH verbal term AND numeric range:
| Term | Range | Usage |
|---|---|---|
| Almost Certain | 90-99% | Overwhelming evidence, no alternatives |
| Highly Likely | 80-89% | Strong evidence, alternatives unlikely |
| Likely | 65-79% | Preponderance, alternatives possible |
| Moderate | 50-64% | Genuine uncertainty |
| Unlikely | 20-49% | Evidence against, but possible |
| Remote | 5-19% | Little support |
Every conclusion must include:
## SAT ANALYSIS: [Title]
**Mode**: [Mode]
**Confidence**: [Term] ([X-Y%])
**Techniques**: [List]
---
### OBSERVATIONS
| ID | Observation | Source | Time |
|----|-------------|--------|------|
| O1 | [Pure data] | [Src] | [T] |
### HYPOTHESES
| ID | Hypothesis | Category | Prob |
|----|------------|----------|------|
| H1 | [desc] | [cat] | [%] |
### ACH MATRIX
| Evidence | H1 | H2 | H3 | H4 | H5 |
|----------|----|----|----|----|-----|
| O1 | [rating] | ... |
| **SCORE** | [X] | [X] | [X] | [X] | [X] |
### ASSESSMENT
**Primary**: [Conclusion with confidence]
**Alternatives**: [What else is possible]
### ASSUMPTIONS
1. [Assumption]
### FALSIFICATION
- Would be falsified by: [evidence]
- Would be strengthened by: [evidence]
### LIMITATIONS
- [Gap or caveat]
Required hypothesis categories:
Map to ATT&CK/kill chain where applicable. See references/attack_patterns.md.
Hypothesis dimensions:
Distinguish proximate cause from root cause. See references/crash_patterns.md.
Hypothesis categories:
Trace causal chain from issue to fix. See references/fix_patterns.md.
Evaluate:
Decompose claim → evidence → assumptions → logical structure.
Before ANY output, verify:
Reduce confidence:
| Factor | Adjustment |
|---|---|
| Single source | -10 to -20 |
| No corroboration | -10 to -15 |
| Conflicting evidence | -15 to -25 |
| Limited analysis time | -5 to -15 |
May increase confidence:
| Factor | Adjustment |
|---|---|
| Multiple independent sources | +5 to +15 |
| Direct observation | +5 to +10 |
| Corroboration | +5 to +15 |
Support iterative refinement:
For detailed guidance, see:
references/techniques.md - Full technique documentationreferences/attack_patterns.md - Security indicator patternsreferences/crash_patterns.md - Crash/failure patternsreferences/fix_patterns.md - Fix verification patternsreferences/cognitive_biases.md - Bias detectionscripts/parse_logs.py - Parse common log formatsscripts/timeline.py - Build event timelinesscripts/ach_matrix.py - Generate ACH matrix markdownWhen the user wants the analysis as a polished PDF (briefing for leadership, audit deliverable, archive document), use the pdf-report-formatting skill from this marketplace. It owns layout, typography, cover pages, TOC, running headers, page numbering, and table styling — your job is just to construct the content.
Mapping SAT sections to pdf-report-formatting blocks:
| SAT element | Block type |
|---|---|
| Observations table (O1, O2, ...) | TableBlock with columns ID / Observation / Source |
| Key Assumptions Check | TableBlock with emphasized_rows for the load-bearing assumption |
| Hypotheses table (H1...HN, with priors) | TableBlock |
| ACH matrix | TableBlock with emphasized_rows=[score_row_index] for the raw-score row |
| MPCoA / MDCoA pair | 3-column TableBlock (Dimension / MPCoA / MDCoA) |
| Confidence calibration callout | CalloutBlock(kind="warn", keep_with_previous=True) after the ACH matrix |
| Falsification criteria | BulletsBlock |
| Numbered list of risks (Q7-style ranked output) | OrderedListBlock |
| Recommendation summary | CalloutBlock(kind="warn") |
| Kill criteria | TableBlock |
| Limitations | BulletsBlock |
Driver pattern:
from build_pdf import (
build_report, Section, ParaBlock, TableBlock,
CalloutBlock, BulletsBlock, OrderedListBlock,
)
build_report(
output_path="/path/to/sat_analysis.pdf",
title="SAT Analysis: <subject>",
subtitle="<one-line framing>",
metadata={
"Mode": "STATEMENT_ANALYSIS", # or whichever
"Confidence": "Likely (65–75%)",
"Date": "<YYYY-MM-DD>",
},
sections=[
Section(title="Observation / Interpretation Separation", blocks=[...]),
Section(title="Key Assumptions Check", blocks=[...]),
Section(title="Hypotheses", blocks=[...]),
Section(title="ACH Matrix", blocks=[...]),
Section(title="MPCoA / MDCoA Table", blocks=[...]),
Section(title="Recommendation", blocks=[...]),
Section(title="Assumptions, Falsification, Limitations", blocks=[...]),
],
)
The builder auto-generates the cover page, table of contents, running header, and "Page N of M" footer. Section numbering is automatic — do NOT prefix titles with "1.", "2.". The packing rule (a section that consumed more than half a page is followed by a fresh page for the next section, AND a section whose natural height exceeds remaining space gets a fresh page) handles layout transitions automatically.
When NOT to use pdf-report-formatting:
Theme and layout selection:
The pdf-report-formatting skill exposes two orthogonal axes: theme (visual style) and layout (structural elements).
Themes:
light (default) — black-on-white, formal, print-first. Use for audit deliverables, leadership briefings, anything going to outside parties.cyber — dark navy + cyan/magenta tactical aesthetic, screen-first. Use for internal red-team / threat-intel briefings, security ops dashboards.theme=Theme(...) for a custom palette (e.g., brand colors).Layouts:
formal (default) — cover page + TOC + numbered sections. Use for analytical deliverables and long-form documents.tactical — no cover, no TOC, no numbering; inline title at the top of page 1. Use for short briefings where section titles read as standalone callouts.navigable_tactical — tactical look but TOC retained. Use for SAT analyses long enough (>6 pages) to need navigation while keeping the briefing aesthetic.Recommended pairings for SAT output:
| Audience / use | theme | layout |
|---|---|---|
| Audit, external deliverable, formal report | light | formal |
| Internal threat brief, short tactical analysis | cyber | tactical |
| Internal SAT analysis, long enough to need navigation | cyber | navigable_tactical |
| Cyber-themed cover + TOC (works but feels mixed) | cyber | formal |
Individual flags (cover_page, table_of_contents, numbered_sections) override the layout's defaults if explicitly passed, so combinations like layout="tactical", table_of_contents=True are valid (and equivalent to navigable_tactical).
assets/templates/assessment_full.md (opens in a new tab)references/attack_patterns.md (opens in a new tab)references/cognitive_biases.md (opens in a new tab)references/crash_patterns.md (opens in a new tab)references/fix_patterns.md (opens in a new tab)references/techniques.md (opens in a new tab)scripts/ach_matrix.py (opens in a new tab)scripts/parse_logs.py (opens in a new tab)scripts/timeline.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dmaynor/dmaynor-skills-marketplace --plugin sat-analysis