hack23/cia/intelligence-analysis-techniques

Claude Code and agent skill by hack23/cia

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Structured analytic techniques including ACH, SWOT, Devil's Advocacy, Red Team analysis for political intelligence

Install

npx vskill@latest install hack23/cia/intelligence-analysis-techniques

SKILL.md

The same SKILL.md was published earlier as hack23/cia/intelligence-analysis-techniques.

Intelligence Analysis Techniques Skill

Purpose

This skill provides comprehensive structured analytic techniques (SATs) for intelligence analysis in the CIA platform. It implements proven methodologies from the intelligence community to reduce cognitive bias, improve analytical rigor, and produce defensible intelligence assessments on Swedish political actors, parties, and democratic institutions.

When to Use This Skill

Apply this skill when:

  • ✅ Analyzing complex political situations with multiple competing hypotheses
  • ✅ Assessing coalition formation scenarios and government stability
  • ✅ Evaluating politician behavior patterns and risk indicators
  • ✅ Conducting strategic assessments of party positions
  • ✅ Identifying analytical assumptions and challenging conventional wisdom
  • ✅ Preparing high-confidence intelligence products for stakeholders
  • ✅ Mitigating cognitive biases in analysis (confirmation bias, anchoring)

Do NOT use for:

  • ❌ Simple data aggregation or reporting (use query tools instead)
  • ❌ Real-time operational decisions (SATs require deliberate analysis)
  • ❌ Situations requiring immediate answers without time for structured analysis

Structured Analytic Techniques Framework

CIA Platform Analytics Categories
mermaid
graph TB
subgraph "Data Foundation"
A[OSINT Collection] --> B[Data Integration]
B --> C[Quality Validation]
end
subgraph "Structured Analytic Techniques"
C --> D["Decomposition & Visualization"]
C --> E[Idea Generation]
C --> F["Hypothesis Generation & Testing"]
C --> G["Scenarios & Indicators"]
C --> H[Challenge Analysis]
end
subgraph "Technique Categories"
D --> D1[Key Assumptions Check]
D --> D2[Issue Redefinition]
E --> E1[Brainstorming]
E --> E2[Red Team Analysis]
F --> F1[Analysis of Competing Hypotheses]
F --> F2[Diagnostic Reasoning]
G --> G1[Alternative Futures]
G --> G2[Indicators Development]
H --> H1[Devil's Advocacy]
H --> H2[Team A/Team B]
end
subgraph "Intelligence Products"
D1 & D2 & E1 & E2 & F1 & F2 & G1 & G2 & H1 & H2 --> I[Risk Assessments]
I --> J[Political Scorecards]
I --> K[Coalition Analysis]
I --> L[Trend Reports]
end
style A fill:#e1f5ff
style F1 fill:#ffeb99
style H1 fill:#ffcccc
style I fill:#ccffcc

1. Analysis of Competing Hypotheses (ACH)

Purpose: Systematically evaluate multiple explanations to reduce confirmation bias and identify the most likely scenario.

When to Use:

  • Coalition formation predictions
  • Politician defection risk assessment
  • Party strategy interpretation
  • Policy position shifts

CIA Platform Application:

Example: Coalition Formation After 2022 Election

Question: Which coalition is most likely to form the government?

Hypotheses:

H1: Center-right coalition (M, KD, SD, L) - 176 seats
H2: Center-right minority (M, KD, L) with SD support - 116 + 73 external
H3: Center-left coalition (S, V, MP, C) - 159 seats (minority)
H4: Grand coalition (S, M, C) - 159 seats
H5: Sweden Democrats lead coalition (SD, M, KD) - 141 seats

Evidence Matrix:

sql
-- Generate ACH Evidence Matrix from voting patterns and party statements
WITH party_alignment AS (
SELECT
p1.party as party_a,
p2.party as party_b,
COUNT(CASE WHEN p1.vote = p2.vote THEN 1 END) as agreement_votes,
COUNT(*) as total_votes,
ROUND(100.0 * COUNT(CASE WHEN p1.vote = p2.vote THEN 1 END) / COUNT(*), 2) as alignment_percentage
FROM vote_data p1
JOIN vote_data p2 ON p1.ballot_id = p2.ballot_id AND p1.party < p2.party
WHERE p1.vote_date >= '2022-09-11' -- Current parliament
AND p1.vote IN ('Ja', 'Nej')
AND p2.vote IN ('Ja', 'Nej')
GROUP BY p1.party, p2.party
)
SELECT * FROM party_alignment
WHERE alignment_percentage > 70 -- Strong alignment threshold
ORDER BY alignment_percentage DESC;

ACH Implementation:

java
@Service
public class CompetingHypothesesAnalyzer {
public ACHResult analyzeCoalitionFormation(List<Hypothesis> hypotheses, List<Evidence> evidence) {
// 1. Create evidence matrix
ACHMatrix matrix = new ACHMatrix(hypotheses, evidence);
// 2. Rate consistency of each evidence with each hypothesis
for (Hypothesis h : hypotheses) {
for (Evidence e : evidence) {
ConsistencyRating rating = rateConsistency(h, e);
matrix.setCell(h, e, rating);
}
}
// 3. Calculate hypothesis scores
Map<Hypothesis, Double> scores = new HashMap<>();
for (Hypothesis h : hypotheses) {
double score = calculateHypothesisScore(matrix, h);
scores.put(h, score);
}
// 4. Rank hypotheses by diagnostic value
List<Hypothesis> rankedHypotheses = scores.entrySet().stream()
.sorted(Map.Entry.<Hypothesis, Double>comparingByValue().reversed())
.map(Map.Entry::getKey)
.collect(Collectors.toList());
// 5. Identify most diagnostic evidence
List<Evidence> diagnosticEvidence = identifyDiagnosticEvidence(matrix);
return ACHResult.builder()
.matrix(matrix)
.rankedHypotheses(rankedHypotheses)
.diagnosticEvidence(diagnosticEvidence)
.confidence(calculateConfidence(scores))
.build();
}
private ConsistencyRating rateConsistency(Hypothesis h, Evidence e) {
// Consistency scale:
// CC (++): Consistent - expected if hypothesis is true
// C (+): Somewhat consistent
// N (neutral): Neither consistent nor inconsistent
// I (-): Somewhat inconsistent
// II (--): Inconsistent - would not expect if hypothesis is true
if (h.getName().equals("Center-right coalition") &&
e.getType().equals("VOTING_ALIGNMENT") &&
e.getParties().containsAll(Arrays.asList("M", "KD", "L"))) {
return ConsistencyRating.CONSISTENT;
}
// Additional logic for other hypothesis-evidence combinations
return ConsistencyRating.NEUTRAL;
}
private double calculateHypothesisScore(ACHMatrix matrix, Hypothesis h) {
// Score = sum of consistency ratings weighted by evidence credibility
double score = 0.0;
for (Evidence e : matrix.getEvidence()) {
ConsistencyRating rating = matrix.getCell(h, e);
score += rating.getValue() * e.getCredibility();
}
return score;
}
}

ACH Output Example:

EvidenceH1H2H3H4H5
M-KD-L voting alignment >80%++++--++
SD explicitly supports M-led govt++++----+
S refuses SD cooperation----+N--
C rejects left-wing coalition++++--+--
L historically opposed SDN+NN--
Parliamentary math (176 seats)+++--N--
TOTAL SCORE+9+7-80-4

Conclusion: H1 (Center-right coalition with SD) most consistent with evidence. Confidence: HIGH (80%).

2. SWOT Analysis

Purpose: Systematically assess Strengths, Weaknesses, Opportunities, and Threats for strategic planning.

CIA Platform Application:

Example: Party Strategic Assessment - Social Democrats (S)
sql
-- Generate SWOT data from CIA platform views
WITH party_metrics AS (
SELECT
party,
AVG(total_days_served) as avg_experience_days,
AVG(percent_yes + percent_no) as avg_participation_rate,
COUNT(DISTINCT person_id) as party_size
FROM view_riksdagen_politician_summary
WHERE party = 'S'
GROUP BY party
),
party_performance AS (
SELECT
party,
AVG(percentage_won) as win_rate,
COUNT(DISTINCT ballot_id) as ballots_participated
FROM view_riksdagen_party_ballot_support_annual_summary
WHERE party = 'S' AND election_year >= EXTRACT(YEAR FROM CURRENT_DATE) - 4
GROUP BY party
),
coalition_potential AS (
SELECT
'S' as party,
SUM(parliament_seats) as potential_coalition_seats
FROM sweden_political_party
WHERE party_name IN ('S', 'V', 'MP', 'C')
)
SELECT
pm.*,
pp.win_rate,
pp.ballots_participated,
cp.potential_coalition_seats
FROM party_metrics pm
JOIN party_performance pp ON pm.party = pp.party
CROSS JOIN coalition_potential cp;

SWOT Matrix Implementation:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
235
Repository forks
56
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hack23/cia/intelligence-analysis-techniques/badge)](https://verified-skill.com/skills/hack23/cia/intelligence-analysis-techniques)

Something wrong with this skill or its page? Tell us.