agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-zero-to-working-wiki/SKILL.md

llm-wiki-zero-to-working-wiki

Skill3 starsChanged 5 months agoMITView on GitHub

Create a first useful LLM-Wiki from zero. Use when the user wants a zero-to-working-wiki walkthrough, first vault, first source ingest, first reusable query, first lint report, or a visible demo loop before a larger rollout; route full workflow installs to llm-wiki-setup.

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. About 0 are common, 12 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants:

    line 20
  2. Distinctive:

    Write mode: direct local writes, dry-run patch, or PR-based.

    line 32
  3. Distinctive:

    no sensitive source should leave the machine.

    line 44
  4. Distinctive:

    If the user has an existing vault or repository, keep this run scoped to one source and one question.

    line 48
  5. Distinctive:

    Create only missing directories:

    line 52
  6. Distinctive:

    Create minimal instruction and navigation files if absent, starting from the bundled starters:

    line 67
  7. Very specific:

    do not edit raw/ files;

    line 76
  8. Very specific:

    If the user did not provide a source, create a small sample source under raw/sources/example-source.md:

    line 84
  9. Distinctive:

    Do not overwrite an existing source with the same name.

    line 92
  10. Very specific:

    Create a draft source page under wiki/sources/ with:

    line 96
  11. Very specific:

    Update wiki/index.md and append wiki/log.md.

    line 106
  12. Very specific:

    If the answer is reusable, save it as a draft page under wiki/queries/.

    line 116
  13. Very specific:

    Create a report at _agent/reports/YYYY-MM-DD-first-lint.md with:

    line 120
  14. Distinctive:

    Do not silently change truth-bearing pages while linting.

    line 131
  15. Distinctive:

    Do not start a bulk migration in this skill.

    line 162
  16. Very specific:

    Do not mark generated pages verified.

    line 163
  17. Distinctive:

    Do not overwrite existing instruction, index, log or source files without showing a diff plan.

    line 164
  18. Distinctive:

    Do not ingest private material into cloud tools without explicit approval.

    line 165
  19. Very specific:

    If the first source contains time-sensitive claims, mark them re-verify instead of treating them as current.

    line 166
  20. Distinctive:

    Do not edit protected human synthesis sections.

    line 167

≈ “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

Zero to Working Wiki

Goal

Get from an empty folder to a working, reviewable LLM-Wiki loop in one small session.

When to use

Use this skill when the user wants:

  • a first local LLM-Wiki vault;
  • a product demo that shows value before a migration;
  • one raw source turned into a draft wiki page;
  • one reusable answer saved back into the wiki;
  • one lint report that creates a maintenance queue.

Inputs

  • Target folder.
  • Agent target: Claude Code, Codex, Cursor, OpenCode or another compatible agent.
  • Write mode: direct local writes, dry-run patch, or PR-based.
  • Privacy constraints.
  • Optional first source text or file path.

Procedure

1. Preflight

Check:

  • the target folder exists or can be created;
  • git is initialized or the user accepts initializing it;
  • no sensitive source should leave the machine;
  • writes are reviewable through git diff;
  • the user wants a tiny first loop, not a bulk migration.

If the user has an existing vault or repository, keep this run scoped to one source and one question.

2. Create the minimal vault shape

Create only missing directories:

raw/sources/
raw/assets/
inbox/
wiki/sources/
wiki/entities/
wiki/concepts/
wiki/queries/
wiki/synthesis/
_agent/reports/
_meta/schemas/

Create minimal instruction and navigation files if absent, starting from the bundled starters:

  • AGENTS.md from references/templates/vault/AGENTS.md;
  • CLAUDE.md from references/templates/vault/CLAUDE.md when the user uses Claude Code;
  • wiki/index.md from references/templates/wiki/index.md;
  • wiki/log.md from references/templates/wiki/log.md.

Whatever the starting point, the instruction files must state:

  • do not edit raw/ files;
  • generated pages start as status: draft;
  • human synthesis sections are protected;
  • durable changes update wiki/index.md and wiki/log.md;
  • bulk writes require approval.

3. Add one source

If the user did not provide a source, create a small sample source under raw/sources/example-source.md:

# Example source

A living LLM-Wiki preserves raw sources, creates reviewable summaries, saves useful answers back into durable pages and runs periodic lint checks.

Do not overwrite an existing source with the same name.

4. Run first ingest

Create a draft source page under wiki/sources/ with:

  • frontmatter;
  • source path;
  • extracted claims;
  • entities and concepts;
  • ambiguities and caveats;
  • links created;
  • review-required status.

Update wiki/index.md and append wiki/log.md.

5. Run first query

Answer one question from the wiki:

What maintenance loop does this source recommend?

If the answer is reusable, save it as a draft page under wiki/queries/. If not, explain why it was not saved.

6. Run first lint report

Create a report at _agent/reports/YYYY-MM-DD-first-lint.md with:

  • summary;
  • broken links;
  • orphan pages;
  • provenance gaps;
  • stale pages;
  • contradictions;
  • suggested patches;
  • next action.

Do not silently change truth-bearing pages while linting.

7. Show the product result

End by showing:

  • files created or changed;
  • what a human can now read without an agent;
  • what remains draft or review-required;
  • the next useful skill to run.

Output

## Zero-to-working-wiki summary

## Files created or changed

## First source

## First reusable answer

## First lint queue

## Review-required items

## Next action

Safety gates

  • Do not start a bulk migration in this skill.
  • Do not mark generated pages verified.
  • Do not overwrite existing instruction, index, log or source files without showing a diff plan.
  • Do not ingest private material into cloud tools without explicit approval.
  • If the first source contains time-sensitive claims, mark them re-verify instead of treating them as current.
  • Do not edit protected human synthesis 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.