Okf harness bootstrap
Skill pumblus/okf-harness/plugins/codex/okf-harness/skills/okf-harness-bootstrap
Agent-first local harness for OKF-compatible LLM Wikis.
npx -y skills add pumblus/okf-harness --skill okf-harness-bootstrapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 24 stars24 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Bootstrap OKF Harness before a workspace exists. Use when the user asks to create, find, select, repair, or enter an OKF Harness workspace from Codex. Do not use for workspace-local check, ingest, answer, graph, generic Markdown editing, repository maintenance, or non-OKF knowledge-base work.
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.8 KB, as published. Nobody here has run it
OKF Harness Bootstrap
Bootstrap routes OKF Harness setup before a workspace-local okf-harness skill exists.
Required Behavior
- Classify the request as setup, discovery, repair, or an explicit combination of those.
- If the current directory is already an OKF Harness workspace, do not create a nested workspace; repair Codex support and hand off to a fresh workspace session.
- Load only the reference needed for the current route.
- If
okfhis missing, stop and tell the user to runnpx @okf-harness/setup@latest; do not create workspaces or edit files until runtime setup is fixed. - Run harness operations through local-shell
okfh --jsoncommands and read their JSON before deciding the next step. - Before persistent setup writes, state the resolved workspace name, path, and agent target unless the user gave all three explicitly.
- Finish from the CLI
data.refreshobject when present; do not invent refresh commands. - In a parent-folder session after selection or setup, only continue with commands that use the resolved
--workspace <path>. - Treat setup-plus-source requests as a transitional path: resolve or create the workspace, register sources, prepare ingest plans, then stop with a fresh-session handoff.
Hard Rules
- Do not use this skill for workspace-local check, ingest, answer, or graph work; those belong to the workspace-local
okf-harnessskill. - Do not create a workspace skeleton by hand; use
okfh init. - Do not initialize a non-empty non-workspace directory in place.
- Do not install or repair extra agent clients unless the user explicitly asks for them.
- Never edit
raw/sources/by hand; source registration must useokfh source add. - Never synthesize wiki content, run
okfh check, prepare evidence, or answer from bootstrap.
Transitional Setup-Plus-Source
- Route references cover workspace resolution or repair; setup-plus-source then additionally uses the registration and ingest-planning commands below before final handoff.
- Classify requested sources as local paths or URLs before setup. Validate every required local source path with metadata/readability checks before
okfh init; missing, non-file, or unreadable local inputs stop setup. Report all invalid local inputs before creating or selecting the workspace. - URL sources are accepted as source pointers only. Do not fetch, scrape, summarize, or imply webpage content was captured in bootstrap.
- After setup or workspace selection, register each accepted source and prepare an ingest plan from the returned
data.source.idwith deterministic CLI JSON:
okfh source add <source> --workspace <workspace> --json
okfh ingest plan <source-id> --workspace <workspace> --json
- If local source validation, source registration, or ingest planning fails, report that step as the first-loop blocker with one concrete next action, then stop before wiki edits.
- Completion criterion: every accepted source has a successful registration result, a successful ingest plan, and a fresh-session handoff. Do not read raw source bodies or write
wiki/content. - Hand off wiki synthesis to
$okf-harnessin a fresh workspace-local Codex thread.