wiki-ingest
Installation
SKILL.md
wiki-ingest
When This Skill Activates
- User shares a URL, paste, or local file to capture in the vault.
- The output target is
entities/,concepts/,comparisons/, orqueries/. - A vault is resolvable (see step 0).
Output language
Run skillwiki lang at the start. Generate page-body prose, narrative sections, and --human summaries in the resolved language. Frontmatter keys, file names, schema headers, index/log structural lines, citation markers, and wikilink slugs MUST stay English.
Pre-orientation reads (mandatory before any write)
SCHEMA.mdindex.md- Last 20–30 entries of
log.md - (Project context only)
projects/{slug}/README.mdand last ~5 work-item logs.
Steps (in order — deterministic raw capture and shared publication)
- Resolve vault and language. Run
skillwiki path(fail if NO_VAULT_CONFIGURED) andskillwiki lang. Use the resolved vault path for all writes; use the canonical language for all generated prose. - Guard. For each URL: run
skillwiki fetch-guard <url>. If exit ≠ 0, STOP and surface the error. Do not retry. - Fetch. Use
web_fetch(or read local file) under Layer 2 controls (the CLI Layer 2 fetcher applies in tests; in skill runtime useweb_fetchdirectly and treat any error as STOP).- Portable local-source rule: follow
using-skillwiki→ Portable Source References. Do not usesource_url: file:///...as the canonical durable reference; prefer commit-pinned GitHubblob/<commit>/<path>when resolvable, else emptysource_urlplus portable repo-relative prose.
- Portable local-source rule: follow
- Stage pasted text as a file source.
skillwiki ingestaccepts a readable local source file or HTTP(S) URL; it does not accept literal pasted text. For a paste, stage the exact text in a temporary file outside the vault, then pass its path to the normal command:skillwiki ingest <staged-paste-path> \