wiki-ingest

Ingest URLs or files into a wiki with raw snapshots and draft promotion.

28|3|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/mifunedev/openharness --skill wiki-ingest-mifunedev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-ingest
Source: https://github.com/mifunedev/openharness/tree/main/.claude/skills/wiki-ingest
Command: npx skills add https://github.com/mifunedev/openharness --skill wiki-ingest-mifunedev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture a source (URL or file path) or promote a sub-agent draft into the harness wiki. For URL/path ingest: WebFetch or reads the source, writes an immutable snapshot to wiki/raw/<yyyy-mm-dd>-<slug>.md, then writes or updates the corresponding wiki/<slug>.md entity page following the schema and body-merge rules in context/rules/wiki.md. For draft promotion: resolves the most-recent draft from memory/*/wiki-drafts/<slug>.md (by ISO date in parent dir name, not mtime), checks staleness, then promotes to wiki/<slug>.md. Write operations are orchestrator-only; sub-agents propose drafts to memory/<today>/wiki-drafts/<slug>.md and the orchestrator promotes via --from-draft. Always logs to memory/<today>/log.md per the Memory Improvement Protocol. TRIGGER when: asked to ingest a URL or file into the wiki, "add to wiki", "capture this page", "snapshot this source", or promoting a sub-agent draft via --from-draft.

Core Features & Use Cases

  • Ingest a URL or file: create immutable raw snapshot in wiki/raw with date and slug.
  • Promote a draft from memory into a tracked wiki entry via memory/wiki-drafts as the source of truth.
  • Enforce the orchestration pattern: slug derivation, raw snapshot storage, wiki entry update, and daily activity logging.
  • Draft-promotion workflow: promote most-recent memory/<YYYY-MM-DD>/wiki-drafts/<slug>.md to wiki/<slug>.md via --from-draft, respecting staleness gates.

Quick Start

Ingest a URL or file path into the wiki with an optional --slug, and use --from-draft to promote a draft when needed.

Frequently Asked Questions about wiki-ingest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a URL or file path into a wiki entry?

Ingest a URL or file path to fetch the source content, write an immutable raw snapshot to wiki/raw with a date and slug, and update the corresponding wiki entity page following schema and body-merge rules.

How does draft promotion from memory into a wiki entry work?

Draft promotion resolves the most-recent draft from memory by ISO date in the parent directory, checks staleness, then promotes the draft to wiki/<slug>.md using the --from-draft flag, ensuring only validated content becomes a wiki entry.

What is the best way to manage sub-agent wiki drafts before promotion?

Sub-agents propose drafts to memory/<today>/wiki-drafts/<slug>.md as the source of truth, while the orchestrator enforces write operations and promotes approved drafts to wiki entries via --from-draft.

Do I need an orchestrator pattern to update wiki entries?

Yes, write operations to wiki entries are orchestrator-only. Sub-agents cannot directly update wiki pages; they must propose drafts to memory directories for the orchestrator to promote.

Why does my wiki ingest fail the staleness gate during draft promotion?

Draft promotion enforces a staleness gate that checks the ISO date in the parent directory name, not file modification time. If the draft is considered stale by this gate, promotion to the wiki entry is blocked.

Can I specify a custom slug when ingesting a source into the wiki?

Yes, you can pass an optional --slug parameter during URL or file ingest. Without it, the system enforces slug derivation rules to generate the identifier from the source content.