Logo vun Source Provenance

Source Provenance

Organisatioun
Liberty91LTD
source-provenance

Use when you need to know where reporting actually came from: an article URL with "where does this come from?", "who is the original source?", "is this a rewrite?", or another skill needs the provenance chain before grading or citing. Follows links and attributions back to the originating vendor, government, victim or actor document and returns the chain, the primary's access and confidence language, dates and unresolved hops. Deterministic, no API key. Invoked by /quality-of-information-check, /threat-actor-profiling, /campaign-tracking and /intelligence-writing.

Iwwersiicht

EditeurLiberty91LTD
Repositorycti-skills
Skill-Nummsource-provenance
Stären
37
Forks
10
Matgeliwwert Fichieren
4
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Liberty91LTD op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Source Provenance an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Liberty91LTD/cti-skills/tree/main/skills/source-provenance
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Liberty91LTD/cti-skills.git /tmp/cti-skills
mkdir -p .claude/skills
cp -r /tmp/cti-skills/skills/source-provenance .claude/skills/source-provenance
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Source Provenance an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Source Provenance automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Source Provenance net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

source-provenance

Most CTI reporting that reaches an analyst is derivative. An outlet rewrites another outlet, which summarised a vendor blog, which reported on the vendor's telemetry. Five outlets covering one vendor report look like five sources. They are one.

This skill resolves a URL to its originating source and returns the chain as data. It does not grade anything. Grading is /quality-of-information-check.

Composition. Invokes /lookup-liberty91 when a key is configured. Invoked by /quality-of-information-check, /claim-extraction (for the fetcher), /threat-actor-profiling, /campaign-tracking, /intelligence-writing and /cti-orchestrator.

The rule that matters

The chain comes from data, never from recollection. You may know that a story "was originally a Mandiant report". That knowledge does not go in the output. If the platform or the script did not resolve a hop, the hop is unresolved, and you say so.

Inputs

  • One or more URLs (up to 50 per run).
  • Optional: a Liberty91 event ID, in which case platform data is returned instead of resolving.

Pasted text with no URL cannot be resolved by this skill. Say so and hand it to /quality-of-information-check, which treats it as Tier 3.

Tiers

TierWhenWho resolves the chainprovenance_basis
1LIBERTY91_API_KEY is set and the platform returns provenance fields for the eventLiberty91 ingestion pipeline, across the whole deduplicated eventplatform-resolved
2No key, or the platform has no provenance for this URLscripts/resolve_provenance.py, for the single article givenscript-resolved
3The page cannot be fetched, or the input is pasted textThe model, from the text alone, every field marked unverifiedmodel-judged

Every output carries provenance_basis at the top. Downstream skills carry it through unchanged.

Procedure

1. Try the platform

If LIBERTY91_API_KEY is set, ask /lookup-liberty91 for the event that contains this URL and read its provenance fields (primaries[], independent_primaries, chains[], most_recent_observation, superseded_by). If they are present, return them with provenance_basis: platform-resolved and stop.

If the key is absent, the URL is not an ingested article, or the response carries no provenance fields, continue to step 2. Do not label anything platform-resolved unless the fields were in the response.

2. Run the script

bash
python3 skills/source-provenance/scripts/resolve_provenance.py resolve <url> [<url> ...]

Standard library only, no install. Options:

OptionEffect
--max-hops 1Article to primary only. Default is 2 (article to article to primary), which is also the hard limit.
--no-cacheDo not read or write the local cache.
--cache-dir DIRDefault ~/.cache/cti-skills/provenance, or $CTI_SKILLS_CACHE.

Two helper commands:

bash
# Classify URLs against the source-types table. No network.
python3 skills/source-provenance/scripts/resolve_provenance.py classify <url> [<url> ...]

# Extract an article's body text to the local cache and print the file path.
python3 skills/source-provenance/scripts/resolve_provenance.py text <url>

Exit codes: 0 every input resolved, 2 at least one did not, 3 refused (over 50 URLs or over 2 hops), 1 error.

3. Read the result

For each URL the script returns:

FieldMeaning
statusresolved or unresolved
chain[]Ordered hops, the outlet nearest the user first, the primary last. Each hop has org, type, url, date_published, title, and anchor_in_previous_hop (the sentence in which the previous hop cited this one).
primary_sourceorg, type, title, date_published, url, access, access_evidence[], stated_confidence, confidence_evidence[], hedges[], interest, resolution
other_primaries[]Other originating documents linked from the same article, read where possible. Their claims belong to them.
primary_cites[]Originating organisations the primary itself links to. Not read. A claim the primary relays from one of them belongs to that organisation and needs its own chain.
primary_relaysPresent when the primary attributes a statement to another source. The sentences are in attribution_sentences under the primary's URL. A vendor blog that reports another firm's research is a transmitter for those claims: its own access does not apply to them.
background_references[]Primary-type links published well before the article, or whose date could not be checked and which sit deep in the text. Context, not origin.
unclassified_candidates[]Links to hosts not in the table, and social posts. Not followed.
attribution_sentences[]Sentences where the outlet says where its information came from, with organisations named and links found.
unattributed_sourcing[]"Researchers say", "sources familiar with the matter". Findings, not gaps to fill.
unresolved[]Every field the script could not determine, with the reason.
summaryOne paragraph, generated from the fields above.

fidelity is null on every resolved hop. Judging whether an outlet transmitted the primary faithfully is a model judgement and belongs to /quality-of-information-check.

primary_source.resolution is one of:

ValueMeaning
linkedThe document was linked, fetched and read.
linked_not_readThe document was linked but could not be fetched (robots, paywall, 4xx, PDF). The organisation is known; its access and confidence are not.
named_not_linkedThe outlet names an organisation as its source but links no document. Status stays unresolved.

4. Present the chain

Lead with provenance_basis and the one-paragraph summary. Then the chain, then what was not resolved. Use this shape:

markdown
**Provenance basis:** script-resolved
**Assessed:** 2026-09-27

This GBHackers article traces to a document from Microsoft Threat Intelligence (vendor),
"Storm-3168: ...", published 2026-09-25. Its text indicates access by telemetry; no
confidence statement was found.

| Hop | Organisation | Type | Published | URL |
|---|---|---|---|---|
| 1 | GBHackers | press | 2026-09-26 | https://... |
| 2 (primary) | Microsoft Threat Intelligence | vendor | 2026-09-25 | https://... |

**Primary's stated access:** telemetry ("We observed ..." , paragraph 4)
**Primary's stated confidence:** not stated
**Other primaries linked:** none
**Not resolved:** date of the activity itself (recorded during claim extraction)

If any hop is unresolved, say so in plain words and do not guess. "This article names no source and links none" is a complete and useful answer.

5. Hand off

If the user wants to know how reliable the report is, or whether the outlet changed the primary's meaning, hand off to /quality-of-information-check. Do not judge fidelity or assign grades here.

What "resolved" does and does not mean

resolved means a document from an originating organisation was located and, in most cases, read. It does not mean every statement in the article comes from that document. Articles add quotes, background and the journalist's own framing. /claim-extraction separates those, and /quality-of-information-check compares each claim's wording against the primary.

Check these before relying on a resolved chain:

  • date_check: not verified on the primary. The script could not compare publication dates, so the linked document may be background rather than the origin.
  • More than one primary. A vendor's vulnerability advisory and a second vendor's exploitation report are both primaries, for different claims.
  • access_evidence. Read the sentences. A vendor blog that quotes "CISA said it observed" has matched a telemetry phrase that describes someone else's access.

Rules for what was not established

SituationWhat to output
No primary resolvedprovenance: unresolved. State the reason the script gave. The grade will be capped downstream.
Organisation named, nothing linkednamed_not_linked. Name the organisation, state that its document was not read.
Primary does not say how it knowsaccess: undisclosed. Never inferred from the organisation's reputation.
Primary states no confidencestated_confidence: "not stated". Never invented, never paraphrased.
The primary relays another organisation's researchprimary_relays is set and the organisation appears in primary_cites or, if its host is not in the table, in unclassified_candidates. The script still names the document you gave it as the primary. Run the cited document as its own chain, and grade relayed claims on that.
Tables in the documentKept. Each row is one line in the cached text, cells separated by `
Host not in the tableunknown. Report it under unclassified candidates. Do not classify it from memory. Suggest adding a row.
CorroborationNot assessed by this skill. One chain is one source.

Failure modes

FailureHandling
Paywalled or JavaScript-rendered pageReport the fetch failure. Offer the user the option to paste the text, which drops to Tier 3.
robots.txt disallows the pageReported as blocked_by_robots. There is no override. Offer paste.
Outlets citing each otherThe script detects the cycle and reports "circular press citations, no primary found".
Press release wireClassified as vendor-authored. The issuing organisation is the source, not the wire. Access undisclosed unless the release states it.
PDFNot parsed by the script. The hop is recorded as linked_not_read; route the document to a PDF reader and continue from the text.
Sponsored links in the articleLinks carrying tracking parameters or pointing at product and sales pages are ignored.
More than 50 URLsRefused. Bulk provenance is what the Liberty91 API is for; chains are resolved once at ingest.

Fetcher policy

Fixed. There are no flags to loosen it.

  • User agent cti-skills-provenance/2.0 (+https://github.com/Liberty91LTD/cti-skills).
  • robots.txt honoured.
  • One request in flight per host, two seconds between requests to the same host, four hosts in flight.
  • On 429 or 503: honour Retry-After, otherwise back off from 10 seconds, three attempts, then skip the host for the run.
  • Local cache keyed by URL, revalidated with ETag and Last-Modified. Seven days for press, thirty for primaries. Never uploaded, never committed.
  • 10 second connect timeout, 20 second read timeout, 5 MB size limit.
  • Output contains extracted fields and anchor sentences only. Full text stays in the local cache.

References

Related skills

  • /quality-of-information-check: grades the claims once the chain is known.
  • /claim-extraction: splits the primary into typed, anchored claims.
  • /lookup-liberty91: platform-resolved provenance across a whole deduplicated event.
  • /source-assessment: the Admiralty scale reference. The evidence grade is a different instrument.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Source Provenance?

Use when you need to know where reporting actually came from: an article URL with "where does this come from?", "who is the original source?", "is this a rewrite?", or another skill needs the provenance chain before grading or citing. Follows links and attributions back to the originating vendor, government, victim or actor document and returns the chain, the primary's access and confidence language, dates and unresolved hops. Deterministic, no API key. Invoked by /quality-of-information-check, /threat-actor-profiling, /campaign-tracking and /intelligence-writing.

Firwat Source Provenance op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Source Provenance besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Source Provenance an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Liberty91LTD/cti-skills/tree/main/skills/source-provenance an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Source Provenance benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Source Provenance benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Source Provenance domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Source Provenance gratis?

Jo. De Skill gëtt vum Liberty91LTD ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇