agentleFS
OshayrOshayr/LLM-Wiki/skills/write/SKILL.md

wiki-write

Skill50 starsChanged 7 months agoMITView on GitHub

Add or update wiki content — autonomous ingest from URL, file, or text; autonomous update of existing pages. Auto-creates .wiki/ on first use. Use when: 'save to wiki', 'remember this', 'note this', 'store this', 'add to knowledge base', 'save findings', 'save research', 'save idea', 'write to wiki', 'ingest', 'add page', 'update page'.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. wicii2120/skills★ 1same name
    2. hmjBill/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Add or update content in the wiki.

    line 8
  2. Very specific:

    If .wiki/ doesn't exist, create it automatically before proceeding:

    line 14
  3. Very specific:

    Create a file in .wiki/templates/<type-name>.md

    line 75
  4. Distinctive:

    Add YAML frontmatter with default fields (title, type, confidence, dates, custom fields)

    line 76
  5. Very specific:

    Add markdown body content with placeholders (e.g., {{title}}, {{date}})

    line 77
  6. Very specific:

    When using /wiki-write with type: custom-type-name, the write operation will:

    line 81
  7. Distinctive:

    Use the template's frontmatter and body as the page skeleton

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Wiki Write

Add or update content in the wiki. Auto-creates .wiki/ if it doesn't exist.

Resolve .wiki/ from plugin install scope. Auto-create if missing.

Auto-Init

If .wiki/ doesn't exist, create it automatically before proceeding:

.wiki/
  pages/
  index.md        (empty: "# Wiki Index\n\nNo pages yet.\n")
  overview.md     (empty: "# Overview\n\nNo content yet.\n")
  log.md          (empty: "# Activity Log\n")
  SCHEMA.md       (evaluation rules — see below)
  config.yaml     (empty)
  cache/
  raw/
    web/ papers/ notes/ transcripts/ code/ feeds/ assets/

Arguments

  • /wiki-write <url> — fetch and ingest a web page or paper
  • /wiki-write <file-path> — ingest a local file (text, markdown, PDF)
  • /wiki-write "text..." — ingest pasted text
  • /wiki-write --batch <dir> — ingest all .md files in a directory
  • /wiki-write --update <slug> — update an existing page autonomously
  • /wiki-write --update <slug> <url> — update page with content from URL
  • /wiki-write --refresh-stale — find and refresh stale pages based on freshness tier

Ingest (default — no --update flag)

Launch the wiki-writer agent with mode: ingest:

  • Fetches content (via bin/fetch.py chain: cache → Jina → trafilatura → WebFetch)
  • Saves raw source to .wiki/raw/
  • Writes source summary page and entity/concept pages to .wiki/pages/
  • Runs backlink audit via bin/backlinks.py update .wiki/pages
  • Updates .wiki/index.md, .wiki/overview.md, .wiki/log.md
  • No confirmation pause — runs end-to-end autonomously

Report: pages written, pages updated, confidence assigned.

Update (--update)

Launch the wiki-writer agent with mode: update:

  1. Reads current page
  2. Generates proposed changes
  3. Runs contradiction sweep against high-confidence pages
  4. Applies changes directly — same autonomous behavior as ingest
  5. Updates index.md and log.md

Refresh Stale (--refresh-stale)

Finds pages past their freshness tier TTL (see freshness tiers in /wiki-maintain). For each: searches for fresh sources → applies updates autonomously.

Batch (--batch)

Sequentially ingest each file in the directory. Report progress.

Custom Page Types

Users can define custom page types by creating template files in .wiki/templates/. Each template is a markdown file with YAML frontmatter that defines default fields and placeholder content.

Creating a custom page type:

  1. Create a file in .wiki/templates/<type-name>.md
  2. Add YAML frontmatter with default fields (title, type, confidence, dates, custom fields)
  3. Add markdown body content with placeholders (e.g., {{title}}, {{date}})

Using a custom page type:

When using /wiki-write with type: custom-type-name, the write operation will:

  • Look for .wiki/templates/custom-type-name.md
  • Use the template's frontmatter and body as the page skeleton
  • Replace placeholders with actual values (dates, title, etc.)
  • Proceed with normal page creation

Placeholder variables:

  • {{title}} — Page title
  • {{date}} — Current date (YYYY-MM-DD)
  • {{created}} — Creation timestamp (ISO 8601)
  • {{updated}} — Update timestamp (ISO 8601)

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.