wiki

Solid

Dispatcher for the harness wiki knowledge base — routes the first token of $ARGUMENTS to one of three subcommands: ingest, query, or lint. The corpus lives at .oh/skills/wiki/corpus/ (entity pages) and corpus/raw/ (immutable snapshots), owned by this skill and gitignored-by-default (curated entries are whitelisted into git with `git add -f`). Canonical schema: .oh/skills/wiki/references/schema.md. Full per-subcommand procedures live in references/{ingest,query,lint}.md. Always logs per the Memory Improvement Protocol. TRIGGER when: "add to wiki", "capture this page", "snapshot this source", "ingest <url|path>", or promoting a sub-agent draft -> ingest; "what does the wiki say about X", "find wiki entries for X", "look up X in the wiki" -> query; "lint the wiki", "regenerate the wiki index", "find stale/orphaned wiki entries" -> lint.

AI & Automation 38 stars 3 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Wiki One parameterized skill over the harness wiki knowledge base. The first token of `$ARGUMENTS` selects the operation; the remainder is that subcommand's argument string. This dispatcher holds the routing logic and the rules shared by all three operations; the full per-subcommand procedure lives in `references/`. ## Subcommands | Subcommand | Argument form | Purpose | Reference | |------------|---------------|---------|-----------| | `ingest` | `<url\|path> [--slug <override>]` · `--from-draft <slug> [--allow-stale]` | Capture a source or promote a draft into a wiki entity page (the only authorized write path) | `references/ingest.md` | | `query` | `<topic>` | Frontmatter OR-search; read top ≤3 matches (by `updated:` desc) into context | `references/query.md` | | `lint` | `[--dry-run]` | 5 health checks + atomic `corpus/README.md` index regeneration | `references/lint.md` | ## Dispatch Parse `$ARGUMENTS`: the first whitespace-delimited token is the subcommand; the rest is the subcommand's argument string. ```bash ARGUMENTS="${ARGUMENTS:-}" SUB="${ARGUMENTS%% *}" # first token REST="${ARGUMENTS#"$SUB"}" # everything after it REST="${REST# }" # trim one leading space ``` Route on `$SUB`, then follow the matching reference document end-to-end (its instructions are authoritative — this dispatcher does not restate them): | `$SUB` | Action | |--------|--------| | `ingest` | Read `references/ingest.md`; execute it with `$REST` as its argument...

Details

Author
mifunedev
Repository
mifunedev/openharness
Created
5 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category