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

wiki-ingest

Skill3 starsChanged 5 months agoMITView on GitHub

Convert trusted raw sources into reviewable LLM-Wiki pages. Use when adding PDFs, articles, transcripts, notes, repository docs, web captures, or other source material into a raw/wiki/schema vault while preserving provenance, ambiguity, links, index updates, and log entries.

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use wiki-capture, cross-linker and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jehrhardtSkill

    wiki-capture

    Quickly capture raw thoughts, links, images, or notes to today's Obsidian daily note from anywhere in Pi. Use when the user wants to jot something down for later wiki processing.

    Also in 4 projects that use this

  • thoreinsteinSkill

    cross-linker

    Use when the user wants to find and insert missing wikilinks across vault notes. Triggers on "cross-link", "find missing links", "weave links", "unlinked mentions", "add wikilinks", or "link notes together".

    Also in 3 projects that use this

  • justvinhhereSkill

    wiki-review

    Use when the user runs /review, says "show pending changes", "what's uncommitted", or wants an audit of uncommitted wiki edits before they land in history. Narrates uncommitted changes, flags structural issues scoped to those changes, and commits them with a conventional subject. Fully automatic.

    Also in 5 projects that use this

  • Ivy-Chen1999Skill

    wiki-setup

    Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.

    Also in 3 projects that use this

  • javatarzSkill

    wiki

    Access and manage the local GitHub Wiki clone. Use this skill when you need to read wiki content (architecture, design docs, guides), update wiki documentation, check wiki status, or push wiki changes. The wiki contains high-level system design and architectural documentation.

    Also in 4 projects that use this

  • joeseesunSkill

    defuddle

    Extract clean article content from web pages or local HTML files. Removes clutter (ads, sidebars, nav) and returns readable content with metadata.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 5

    Distinctive

    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:

    create/update wiki/comparisons/* when explicitly useful.

    line 39
  2. Very specific:

    write low-confidence material to _agent/drafts/ or mark it review_required: true.

    line 42
  3. Distinctive:

    Not allowed unless explicitly requested:

    line 44
  4. Distinctive:

    Do not collapse competing claims into a single conclusion.

    line 86
  5. Distinctive:

    When updating existing pages:

    line 123
  6. Distinctive:

    keep source backlinks near the claims they support.

    line 127
  7. Very specific:

    Update wiki/index.md only with pages important for navigation.

    line 132
  8. Distinctive:

    Stop and ask for review if:

    line 166

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “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

Wiki Ingest

Goal

Convert raw source material into reviewable wiki updates while preserving provenance, uncertainty and human-owned synthesis.

When to use

  • A trusted raw source (PDF, article, transcript, notes, repo doc, web capture) should become reviewable wiki pages.
  • Sorted inbox material was approved for ingestion after wiki-triage.

Route unsorted captures to wiki-triage first. A filled input-to-output example ships in assets/worked-example.md.

Inputs

  • One or more files under raw/ or inbox/.
  • Optional user goal: why the source matters.
  • Existing wiki/index.md and wiki/log.md.
  • Existing AGENTS.md, CLAUDE.md and schemas if present.

Write permissions

Allowed:

  • create/update wiki/sources/*;
  • create/update wiki/entities/*;
  • create/update wiki/concepts/*;
  • create/update wiki/comparisons/* when explicitly useful;
  • append to wiki/log.md;
  • update wiki/index.md;
  • write low-confidence material to _agent/drafts/ or mark it review_required: true.

Not allowed unless explicitly requested:

  • edit raw/ files;
  • delete source material;
  • overwrite ## My synthesis or human-owned sections;
  • mark generated pages as verified;
  • perform bulk rewrites unrelated to the source.

Procedure

1. Read the schema layer

Inspect AGENTS.md, CLAUDE.md, _meta/taxonomy.md, _meta/schemas/* and wiki/index.md when present.

2. Analyze before writing

Produce a short analysis plan before editing:

## Ingest analysis

- Source path:
- Source type:
- Likely page type:
- Candidate entities:
- Candidate concepts:
- Possible existing pages to update:
- Ambiguities:
- Review risks:

3. Extract claims

Classify claims using the shared support vocabulary:

  • extracted: directly present in the source;
  • inferred: reasoned from the source;
  • ambiguous: plausible but unresolved, requires human review;
  • synthesis: editorial conclusion — human-owned, do not generate during ingest;
  • unsupported: no inspected source currently supports the claim;
  • conflicting: inspected sources disagree about the claim.

Do not collapse competing claims into a single conclusion. Search the vault for existing pages on the same entities or concepts and re-verify each extracted claim against the raw source before writing it, so newly generated pages do not silently contradict already-verified material.

4. Write source page

Recommended source page structure:

---
type: source
status: draft
source_paths: []
ai_generated: true
ai_confidence: 0.0
review_required: true
---

# Source title

## Abstract

## Key extracted claims

## Entities

## Concepts

## Inferred implications

## Ambiguities and caveats

## Open questions

## Links created

5. Update entity and concept pages

When updating existing pages:

  • preserve human-owned sections;
  • append or patch rather than rewrite entire pages;
  • keep source backlinks near the claims they support;
  • mark inferred claims explicitly.

6. Update navigation

Update wiki/index.md only with pages important for navigation.

Append to wiki/log.md:

## [YYYY-MM-DD] ingest | <source title>

- Raw source: <path>
- Pages created:
- Pages updated:
- Review required:
- Open questions:

Final report

End with:

## Ingest summary

- Created:
- Updated:
- Needs review:
- Ambiguous claims:
- Suggested next sources:

Output

Ingestion produces new or updated Markdown pages under wiki/sources/, wiki/entities/, wiki/concepts/, and optionally wiki/comparisons/, plus an updated wiki/index.md entry and a matching log line in wiki/log.md. Each run ends with the ## Ingest summary report shown above, listing created pages, updated pages, items needing review, and open questions.

Safety gates

Stop and ask for review if:

  • the source conflicts with existing verified pages;
  • the source is too large and would require truncation;
  • source provenance is missing;
  • confidence is low for high-impact claims;
  • edits would touch protected human sections.

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.