okf:update
Add new source documents to an existing OKF bundle; the skill classifies each piece of extracted knowledge as new, update, split, or conflict and proposes a…
Skill by siculo
Chalk Labs
Need help deploying okf:update?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/siculo-okf-update
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/okf-update
What's inside
- Skill name
okf:update- Description
- Add new source documents to an existing OKF bundle; the skill classifies each piece of extracted knowledge as new, update, split, or conflict and proposes a structured diff before writing anything. Use when you have new files to ingest. Use okf:reconcile for a full alignment check against all existing sources; use okf:edit for a direct natural-language change that does not involve a source document.
- License
- Unlicense
- Instructions
- 140 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "okf:update" does not match folder "okf-skill-update"
Files (1)
- SKILL.md
SKILL.md (first lines)
You are updating an existing OKF (Open Knowledge Format) bundle with new source documents.
## 1. Parse arguments
`$ARGUMENTS` may contain:
- A path to new source documents: a single file, a directory, or a glob pattern (required).
- `bundle:<path>` — path to the existing bundle root (default: current working directory).
If no source path is provided, ask the user before proceeding.
## 2. Read the spec
Follow `okf:_okf-skill-read-spec`.
## 3. Read the existing bundle
Follow `okf:_okf-skill-scan-bundle`. Use the returned index as the bundle state, including:
- Concept ID → `type`, `title`, `description`, `resource`, `tags`, `timestamp` (and body in full mode).
- Existing cross-links between concepts.
- Current `index.md` contents per directory.
## 4. Read new source documents
Read every source document at the given path. For each, extract the same information as in `/okf:create` step 3: topics, facts, relationships, external resources.
## 5. Classify changes
For each piece of knowledge extracted from the new documents, decide which category it falls into:
- **New concept**: the knowledge describes something not represented by any existing concept. → Create a new `.md` file.
- **Update to existing concept**: the knowledge extends, corrects, or enriches an existing concept (matched by topic, `resource` URI, or semantic similarity). → Merge new content into the existing file; update `timestamp`.
- **Split of existing concept**: the new document provides enough detail about distinct sub-topics within an existing concept file that the file should be broken into multiple atomic files. Apply when an existing file covers N distinct named entities, processes, or ideas — each of which warrants its own file under the granularity principle in `/okf:create` ("Design the bundle structure" section, **Concepts** item). → Replace the original file with N atomic concept files; update all cross-links in the bundle that pointed to the original.
- **Conflict**: the new document contradicts or significantly overlaps an existing concept in a way that requires human judgement. → Flag for user review; do not auto-apply.
Use semantic reasoning to make these classifications. When uncertain between "new" and "update", default to "new" and let the user decide. When uncertain between "update" and "split", default to "split" if the existing file contains multiple distinct named entities each with their own H2/H3 sections.
In two-pass mode: read the full body of each candidate concept before classifying it.
## 6. Propose changes
Before writing anything, present a structured diff to the user:
```
Proposed changes to: <bundle root path>
─────────────────────────────────────────
NEW CONCEPTS (<N>)
+ <group>/<concept>.md [type: <Type>] — <one-line description>
+ <group>/<concept>.md [type: <Type>] — <one-line description>
UPDATES TO EXISTING CONCEPTS (<N>)
~ <path/to/concept>.md — <what changes: new section added / description revised / schema extended / …>
SPLITS (<N>)
÷ <path/to/existing>.md → <group>/<concept-a>.md, <group>/<concept-b>.md, … — <reason for split>
CONFLICTS — REQUIRES YOUR INPUT (<N>)
! <path/to/concept>.md — <describe the conflict>
INDEX FILES TO REGENERATE (<N>)
↻ <dir>/index.md
LOG ENTRY
log.md — will add entry for <today's date>
```
Ask: **"Apply these changes? (yes / no / describe adjustments)"**
Wait for the user's answer. If they request adjustments, revise and show the proposal again. For conflicts, present each one individually and ask the user how to resolve it before including it in the plan.
## 7. Apply changes
After user approval:
### New concepts
Write each new concept file following the same rules as `/okf:create` step 5. Add cross-links to related existing concepts where appropriate.
### Updated concepts
For each updated concept:
- Merge new content into the body. Prefer adding new sections or extending existing ones over rewriting existing prose.
- Update `timestamp` to the current datetime.
- Do NOT change `type` or `resource` unless the update explicitly requires it.
- Preserve all existing frontmatter keys, including producer-defined extensions.
### Split concepts
For each split:
- Create each new atomic concept file following the same rules as `/okf:create` step 5.
- Delete the original file, unless it had many inbound cross-links — in that case, repurpose it as a redirect stub with a short body pointing to the new files.
- Update every cross-link in the bundle that pointed to the original file to point to the appropriate new file.
- Add cross-links between the new atomic files where the relationship is meaningful.
### Index files
Regenerate `index.md` for every directory that gained or lost concepts. Preserve any manually written sections in the existing `index.md` — only add or remove entries for the affected concepts.
### Log file
Prepend a new date section to the bundle-root `log.md` (or create it if absent):
```markdown
## <YYYY-MM-DD>
* **Creation**: Added [<title>](<path>) — <description>. ← for each new concept
* **Update**: Updated [<title>](<path>) — <what changed>. ← for each updated concept
* **Split**: Split [<original title>](<original path>) into [<title-a>](<path-a>), [<title-b>](<path-b>), … — <reason>. ← for each split
```
## 8. Git (optional)
Follow `okf:_okf-skill-git-commit` with commit message:
`update: add <N> concepts, update <M> concepts (<source name>)`
## 9. Validate
Follow `okf:_okf-skill-validate`.
## 10. Final report
```
OKF bundle updated
─────────────────────────────────────────
Bundle : <absolute path>
Added : <N> new concept(s)
Updated : <M> existing concept(s)From siculo/okf-skills, Unlicense.
More from siculo/okf-skills
- 0.590score
okf:reconcile
siculo
Full alignment pass: compare the entire bundle against all source documents and handle new content, changed content, and stale concepts in one operation.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:create
siculo
Create a new OKF bundle from source documents.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:validate
siculo
Validate an OKF bundle for conformance with the current spec.
SkillAFreshness: A★ 2Claude Code +9 - 0.582score
okf:_okf-skill-read-spec
siculo
Internal skill: locate SPEC.md and extract the OKF version and conformance rules.
SkillAFreshness: A★ 2Claude Code +9 - 0.507score
github-issue
siculo
Start working on a GitHub issue.
SkillCFreshness: C★ 2Claude Code +9 - 0.499score
okf:edit
siculo
Modify an OKF bundle based on a natural-language instruction (rename, move, merge, add a section, bulk-tag).
SkillCFreshness: C★ 2Claude Code +9 - 0.496score
okf:search
siculo
Search concepts in an OKF bundle by query, type, tags, or full-text.
SkillCFreshness: C★ 2Claude Code +9 - 0.496score
okf:_okf-skill-scan-bundle
siculo
Internal skill: scan all concept files in an OKF bundle, choose between full and two-pass read mode based on bundle size, and return an index map.
SkillCFreshness: C★ 2Claude Code +9 - 0.496score
okf:_okf-skill-write-log
siculo
Internal skill: append one JSON line to .claude/invocation-log.jsonl at the repository root.
SkillCFreshness: C★ 2Claude Code +9 - 0.491score
okf:_okf-skill-validate
siculo
Internal skill: run a full OKF conformance check on a bundle after changes.
SkillCFreshness: C★ 2Claude Code +9 - 0.491score
okf:_okf-skill-git-commit
siculo
Internal skill: offer to stage all modified and new files and commit them.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Unlicense
- Repository
- github.com/siculo/okf-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from siculo
- 0.590score
okf:reconcile
siculo
Full alignment pass: compare the entire bundle against all source documents and handle new content, changed content, and stale concepts in one operation.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:create
siculo
Create a new OKF bundle from source documents.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:validate
siculo
Validate an OKF bundle for conformance with the current spec.
SkillAFreshness: A★ 2Claude Code +9 - 0.582score
okf:_okf-skill-read-spec
siculo
Internal skill: locate SPEC.md and extract the OKF version and conformance rules.
SkillAFreshness: A★ 2Claude Code +9 - 0.507score
github-issue
siculo
Start working on a GitHub issue.
SkillCFreshness: C★ 2Claude Code +9 - 0.499score
okf:edit
siculo
Modify an OKF bundle based on a natural-language instruction (rename, move, merge, add a section, bulk-tag).
SkillCFreshness: C★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get okf:update running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
okf:update skill. Agent Mart. https://agentmart.dev/skills/siculo-okf-update (last updated 2026-10-24)