agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-provenance/SKILL.md

llm-wiki-provenance

Skill3 starsChanged 5 months agoMITView on GitHub

Inspect and repair evidence links before adding stable IDs. Use when pages have unsupported claims, generated summaries cite other summaries, raw-source links are missing, support labels are wrong, or the user wants a provenance gap report; route deterministic ID insertion to llm-wiki-claim-anchors.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not use this skill to insert stable IDs.

    line 25
  2. Distinctive:

    Use the smallest useful level:

    line 38
  3. Very specific:

    Use extracted for claims directly stated in inspected sources.

    line 56
  4. Distinctive:

    Search source pages and raw sources.

    line 60
  5. Distinctive:

    Do not fabricate citations or anchors.

    line 107
  6. Distinctive:

    Do not mark unsupported claims as verified.

    line 108
  7. Distinctive:

    Do not silently rewrite claims to fit available evidence.

    line 109
  8. Distinctive:

    Do not expose sensitive source excerpts unnecessarily.

    line 110
  9. Very specific:

    If evidence conflicts, hand off to llm-wiki-conflict-resolver.

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LLM-Wiki Provenance

Goal

Make important wiki claims traceable to raw sources or clearly mark them as unsupported, inferred, or ambiguous.

When to use

  • A page has claims with no visible link back to raw/ sources or source pages.
  • A generated summary cites another generated summary instead of an original source.
  • Support labels (extracted, inferred, synthesis, unsupported) look wrong or are missing.
  • The user asks for a provenance gap report before assigning stable IDs.
  • Current-state or status claims need re-verified evidence rather than an assumed link.
  • Do not use this skill to insert stable IDs; hand that off to llm-wiki-claim-anchors.

Inputs

  • Target pages or folders.
  • raw/ and wiki/ locations.
  • Existing source pages, hashes and frontmatter if present.
  • Desired mode: report-only or patch.

Procedure

1. Select provenance level

Use the smallest useful level:

LevelMeaning
source-levelPage links to the source page or raw source.
claim-levelIndividual claims link to supporting source sections or anchors.
audit-readyClaims include source path, hash, date, model, confidence and review state.

2. Extract claims

For each target page, identify factual claims, recommendations, current-state statements and synthesis claims.

Classify support:

extracted | inferred | ambiguous | synthesis | unsupported | conflicting

Use extracted for claims directly stated in inspected sources. Use synthesis only for editorial conclusions drawn across sources; keep the source links visible.

3. Locate evidence

Search source pages and raw sources. Do not invent evidence. If evidence is not found, mark a gap instead of rewriting the claim.

4. Produce provenance patches

In patch mode, add backlinks near claims using the vault's preferred style. Examples:

- Claim text. Source: [[sources/source-title#section]]

or frontmatter:

source_paths:
  - raw/sources/example.md

5. Create a gap report

Group gaps by severity:

  • high-impact unsupported claims;
  • generated pages citing generated pages;
  • stale current-state claims;
  • inferred claims presented as extracted;
  • ambiguous claims outside review queues.

Output

## Provenance summary

## Pages inspected

## Claims classified

## Provenance added or proposed

## Unsupported claims

## Conflicts and ambiguities

## Suggested next sources

Safety gates

  • Do not fabricate citations or anchors.
  • Do not mark unsupported claims as verified.
  • Do not silently rewrite claims to fit available evidence.
  • Do not expose sensitive source excerpts unnecessarily.
  • If evidence conflicts, hand off to llm-wiki-conflict-resolver.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.