Dossier

From borghei/Claude-Skills · View interactive version

Dossier is an AI agent skill from the GitHub repository borghei/Claude-Skills. Structured intelligence dossiers on companies, people, markets, or domains, with source triangulation and fact/inference discipline. Use when preparing a deal-prep dossier, executive briefing, or due-diligence overview.

How to use this skill

Skill file

Intelligence Dossier

A research skill for producing structured intelligence dossiers — the

kind of document a CEO reads before a meeting, a PM reads before

market-entry, or an investor reads before due diligence.

When to use this skill

Inputs the advisor expects

Clarify First

Before building the dossier, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

python3 research/dossier/scripts/dossier_outline_generator.py --subject-type company --purpose deal-prep --format markdown
python3 research/dossier/scripts/research_note_checker.py --input research/dossier/assets/sample_research_note.md

Workflows

Workflow 1 — Generate dossier outline

  1. Specify subject type + purpose.
  2. Run dossier_outline_generator.py to produce a structured outline

tailored to subject + purpose.

  1. Assign owners + research targets per section.
python3 dossier/scripts/dossier_outline_generator.py \
  --subject-type company --purpose deal-prep --format markdown

Workflow 2 — Validate source triangulation

  1. Capture claims with supporting sources.
  2. Run source_triangulation_validator.py to check each claim has

multiple independent supporting sources + source reliability.

  1. Flag thinly-sourced claims for additional research.
python3 dossier/scripts/source_triangulation_validator.py \
  --input claims_with_sources.json --format markdown

Workflow 3 — Separate facts from inferences

  1. Capture dossier statements.
  2. Run fact_inference_separator.py to classify each statement and

flag unsupported inferences.

python3 dossier/scripts/fact_inference_separator.py \
  --input dossier_statements.json --format markdown

Workflow 4 — Repo research note [RECOMMENDED]

A narrow dossier for engineering work: one technical question (how an API behaves at its

limits, what a spec requires, which version changed a behaviour) answered from primary

sources and committed as a cited markdown note next to the work it informs. Full method:

references/repo-research-notes.md.

  1. Write the question as one sentence, plus the decision it unblocks.
  2. Hand the reading to a background agent or sub-agent with fresh context, so the current

session keeps working and the researcher is not anchored on the current design. Give it

the question, where to look first, the source rules, the save location and a time box.

  1. Trace every claim to the party that owns the behaviour: the provider's docs and

changelog, the specification text, the library's source at the pinned version, our code

at a named commit. Secondary sources corroborate only; a claim supported only by them

goes to Open questions.

  1. Fill assets/research_note_template.md: Answer first, then Findings (facts, each cited

[n]), Inference (conclusions, naming the findings they rest on), Open questions,

numbered Sources with an access date, version or commit.

  1. Save it where the repo keeps such notes (docs/research/, docs/notes/, the ADR folder);

if there is no convention, use docs/research/<slug>.md and say where it went. Link it

from the spec, ticket or PR it informs.

  1. Validate with the checker, then spot-check the citations behind the Answer.
python3 research/dossier/scripts/research_note_checker.py \
  --input docs/research/<slug>.md --max-uncited 0.1 --format text

Decision frameworks

The dossier hierarchy

A useful structure for any dossier:

  1. Executive summary (1 page, lead with takeaway)
  2. Subject overview (facts: what they are)
  3. Context (market, history, environment)
  4. Capabilities + assets (what they can do)
  5. People + leadership (who runs it)
  6. Performance + trajectory (numbers, trends)
  7. Relationships + ecosystem (who they're with)
  8. Risks + open questions (what we don't know)
  9. Implications + recommendations (so what)
  10. Sources + methodology (how we know)

Fact vs inference discipline

Three categories per statement:

| Category | Definition | Example |

|----------|------------|---------|

| Fact | Verifiable, sourced | "Founded 2018; HQ in Chicago" |

| Inference | Reasoned from facts | "Likely targeting enterprise segment based on hiring pattern" |

| Speculation | No supporting evidence | "Might pivot to AI next year" |

A trustworthy dossier separates these clearly. Mixing them = loss of credibility.

Source reliability scoring (Admiralty Code adapted)

| Reliability | Code | Description |

|-------------|------|-------------|

| Completely reliable | A | Established, history of completely reliable info |

| Usually reliable | B | History of mostly reliable info |

| Fairly reliable | C | History of reliable info with notable errors |

| Not usually reliable | D | Limited history; mixed accuracy |

| Unreliable | E | Known for inaccurate info |

| Cannot be judged | F | New / unknown source |

| Information credibility | Code | Description |

|--------------------------|------|-------------|

| Confirmed | 1 | Confirmed by other independent sources |

| Probably true | 2 | Not confirmed; consistent with other info |

| Possibly true | 3 | Not confirmed; reasonable but unsupported |

| Doubtful | 4 | Inconsistent with other info |

| Improbable | 5 | Contradicted by other info |

| Cannot be judged | 6 | New info; no validation possible |

A "B-2" rated claim is "usually reliable source, probably true" — workable. An "F-6" claim is "unknown source, unverified" — barely worth including.

Triangulation principle

For each significant claim:

"Independent" means not derived from the same underlying source. Two news

articles citing the same press release ≠ 2 independent sources.

Common engagements

"Build a dossier on company X before our acquisition meeting"

  1. Run outline generator (subject=company, purpose=deal-prep).
  2. Pull: financials, leadership, products, customers, IP, tech stack,

regulatory posture.

  1. Identify red flags: undisclosed litigation, key person dependencies,

customer concentration, regulatory risk.

  1. Recommendations: questions to ask in meeting; deal structure implications.

"Executive briefing for senator's office meeting"

  1. Run outline (subject=person/organization, purpose=briefing).
  2. Pull: voting record, recent statements, committee assignments,

donor profile, alignment with our position.

  1. Anticipate likely questions; prepare positions.

"Market-entry analysis for [country]"

  1. Run outline (subject=market, purpose=market-entry).
  2. Pull: market size, growth, competitive landscape, regulatory,

distribution, cultural / business norms, talent.

  1. Compare entry options (direct, partner, acquisition).

Anti-patterns to avoid

The Blog-Sourced Fact

Mistake: A research note or dossier claim rests on a tutorial, Q&A answer or summary article.

Why it happens: Secondary write-ups rank higher in search and read faster than the owner's documentation.

Instead: Follow the claim to the party that owns it — the vendor's reference, the spec, the source code at the pinned version — and cite that with a date or version. Keep the secondary source only to flag that it disagrees.

The Anchored Researcher

Mistake: The same session that designed the feature researches whether the design is valid.

Why it happens: The context is already loaded, so it seems efficient.

Instead: Give the question to a fresh-context agent or person. A researcher holding the design looks for support; one holding only the question looks for the answer.

The Undated Snapshot

Mistake: A note or dossier with no date and no source versions, still trusted two years later.

Why it happens: Facts feel permanent when they are written down.

Instead: Date the document, version every source, and set a review trigger (a dependency upgrade, a vendor docs change, a fixed date).

Also avoid:

Scope & Limitations

In Scope:

Out of Scope:

Important Caveats:

Files

| File | Purpose |

|------|---------|

| scripts/dossier_outline_generator.py | Outline tailored to subject type and purpose |

| scripts/source_triangulation_validator.py | Checks claims for independent, reliable sources |

| scripts/fact_inference_separator.py | Classifies statements as fact, inference or speculation |

| scripts/research_note_checker.py | Checks a repo research note: claims cited, citations resolve, primary sources dominate, required sections present |

| assets/research_note_template.md | Template for a repo research note |

| assets/sample_research_note.md | Complete sample note that passes the checker |

Tools Overview

research_note_checker.py exits 0 when the note passes, 1 on any error (uncited claims over

--max-uncited, a citation with no source, mostly secondary sources, a missing Question,

Answer or Sources section), and 2 when the file cannot be read. It never fetches links.

Reference Documentation

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.