Individual skill
backfill
Reconstruct an OKF bundle by event-sourcing a repository's history (git log and Claude session transcripts). Use when creating an `.okf/` bundle for an existing repository that predates this skill, or when resuming an interrupted backfill session. Triggers on: "reconstruct the OKF bundle", "backfill the knowledge bundle", "event-source the history".
skills/backfill/SKILL.md
Source commit c6591ece20f35299b0d483168b376d550787c735
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 448
- Repository last updated
- Nov 4, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- claude-code Repository topic
- knowledge-management Repository topic
- markdown Repository topic
- okf Repository topic
- developer-tools Repository topic
- agent-skills Repository topic
- claude-code-plugin Repository topic
- knowledge-graph Repository topic
- open-knowledge-format Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesSKILL.mdcore · 17,052 bytesscripts/okf_backfill_events.pyruns · 35,339 bytes
Read excerpt
# Reconstruct an OKF bundle from history
This skill replays a repository's decision-making history (git commits and
Claude session transcripts) to rebuild its OKF knowledge bundle as if the
[okf](/okf) skill's Stop hook had been active from the start.
The extraction layer is **deterministic** (same repo → byte-identical events);
the replay layer is an LLM loop, **replayable and auditable but not
byte-identical** (timestamps, summaries change per run). See the event schema
(§1) and skip rules (§3).
## 1. Event schema
Git commits and session turns become events (JSONL, one per line, sorted by