agentleFS
mrzhangguoguomrzhangguoguo/oh-my-workbuddy/skills/wiki/SKILL.md

wiki

Skill2 starsChanged 5 months agoMITView on GitHub

Persistent markdown project wiki with keyword + tag search, lifecycle capture, and cross-references. Triggers: "wiki add", "wiki query", "wiki read", "wiki lint", "wiki delete", "project wiki", "add to wiki".

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use wiki-lint, wiki-ingest 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.
  • graypirateSkill

    wiki-lint

    Run a health check on the user's wiki. Use when the user asks to lint, audit, clean up, check, or fix the wiki — or when they suspect orphans, broken wikilinks, stale pages, missing frontmatter, or contradictions between pages. Combines structural checks (zero token cost) with semantic review (LLM reasoning).

    Also in 4 projects that use this

  • bozhouDevSkill

    wiki-ingest

    Use when adding a new source to a wiki — a paper, article, URL, file, transcript, or any document. One ingest may touch 10-15 wiki pages.

    Also in 4 projects that use this

  • bozhouDevSkill

    wiki-query

    Use when asking a question against a personal wiki built with wiki-init and wiki-ingest. Do not answer from general knowledge — always read the wiki pages first.

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 9 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 3

    Distinctive

    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. Very specific:

    Write .omw/wiki/<slug>.md with this shape:

    line 40
  2. Very specific:

    Use the Write tool for new pages.

    line 58
  3. Very specific:

    Read index.md first for a fast directory of all pages.

    line 67
  4. Distinctive:

    When multiple candidates match, open the most relevant page with Read and summarize to the user.

    line 68
  5. Distinctive:

    Check the wiki for consistency:

    line 72
  6. Very specific:

    Every page under .omw/wiki/*.md (except index.md/log.md) has valid frontmatter (title, category, tags).

    line 74
  7. Very specific:

    Every index.md entry points to a page that exists.

    line 76
  8. Very specific:

    Delete .omw/wiki/<slug>.md (Bash rm).

    line 87
  9. Very specific:

    Remove its line from index.md (Edit).

    line 88
  10. Very specific:

    Use [[page-name]] wiki-link syntax inside page content to create cross-references between pages.

    line 98
  11. Distinctive:

    No vector embeddings — query uses keyword + tag matching only.

    line 111

“Common” is measured: kept by at least 6 in 10 of the 26 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

Ported from oh-my-codex wiki. OMX runtime conventions ($macro invocation, omx CLI, .omx/ state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list, .workbuddy/memory).

Wiki

Persistent, self-maintained markdown knowledge base for project and session knowledge. There is no omx binary; every operation below is implemented with the WorkBuddy file tools (Write, Read, Edit, Grep, Glob, Bash). The wiki lives under .omw/wiki/ so it is co-located with other WorkBuddy artifacts and easy to gitignore or commit as desired.

Storage layout

  • Pages: .omw/wiki/<slug>.md
  • Index: .omw/wiki/index.md
  • Log: .omw/wiki/log.md

<slug> is a kebab-case page id derived from the title (e.g. auth-architecture).

Categories

architecture, decision, pattern, debugging, environment, session-log, reference, convention

Operations

Add / Ingest a page

  1. Derive the slug from the title.
  2. Write .omw/wiki/<slug>.md with this shape:

    ---
    title: <Title>
    category: <category>
    tags: [tag1, tag2]
    created: <YYYY-MM-DD>
    updated: <YYYY-MM-DD>
    ---
    
    <content in markdown>
  3. Append a one-line entry to .omw/wiki/index.md: - [<Title>](<slug>.md) — <category> — tags: tag1, tag2
  4. Append to .omw/wiki/log.md: <YYYY-MM-DD> ADD <slug> (<category>).

Use the Write tool for new pages. For an existing page, use Edit to update content and bump updated:.

Query

Keyword + tag search (no vector embeddings — exact substring/tag match only):

  • By tag/category: Grep for tags:.*<tag> or category: <category> across .omw/wiki/.
  • By keyword: Grep for the phrase across .omw/wiki/*.md (use output_mode: files_with_matches).
  • Read index.md first for a fast directory of all pages.
  • When multiple candidates match, open the most relevant page with Read and summarize to the user.

Lint

Check the wiki for consistency:

  • Every page under .omw/wiki/*.md (except index.md/log.md) has valid frontmatter (title, category, tags).
  • Every index.md entry points to a page that exists; every page is listed in index.md.
  • [[page-name]] wiki-links resolve to an existing <slug>.md.
  • Report or fix (via Edit) any orphan pages, missing index entries, or broken links.

Read

Open .omw/wiki/<slug>.md with Read and present the content. Resolve any [[page-name]] cross-references by linking to the corresponding <slug>.md.

Delete

  1. Delete .omw/wiki/<slug>.md (Bash rm).
  2. Remove its line from index.md (Edit).
  3. Append to log.md: <YYYY-MM-DD> DELETE <slug>.

Refresh

Rebuild index.md from the current set of pages (useful after many manual edits): list .omw/wiki/*.md, parse each page's frontmatter, and regenerate the index entries.

Cross-References

Use [[page-name]] wiki-link syntax inside page content to create cross-references between pages. During lint/read, resolve [[page-name]] to the matching <slug>.md (match on title or slug).

Auto-Capture

At session end, you may capture discoveries as session-log-* pages (category session-log) following the Add steps above. Do this proactively when the user learned something durable (debugging fix, environment quirk, decision rationale). No config file is required — just follow the Add workflow.

Hard Constraints

  • No vector embeddings — query uses keyword + tag matching only.
  • Wiki files are repository project knowledge under .omw/wiki/; treat them as the canonical knowledge base for the project.

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.