okf:edit
Modify an OKF bundle based on a natural-language instruction (rename, move, merge, add a section, bulk-tag).
Skill by siculo
Chalk Labs
Need help deploying okf:edit?
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-edit
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-edit
What's inside
- Skill name
okf:edit- Description
- Modify an OKF bundle based on a natural-language instruction (rename, move, merge, add a section, bulk-tag). Use when you know exactly what to change and do not have a source document to ingest. Use okf:update to ingest new source documents; use okf:reconcile for a full source-alignment pass.
- License
- Unlicense
- Instructions
- 153 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "okf:edit" does not match folder "okf-skill-edit"
Files (1)
- SKILL.md
SKILL.md (first lines)
You are editing an OKF (Open Knowledge Format) bundle based on the user's instructions.
## 1. Parse arguments
`$ARGUMENTS` may contain:
- A natural language instruction describing what to change (required). May be quoted or unquoted.
- `bundle:<path>` — path to the bundle root (default: current working directory).
If no instruction is provided, ask the user what they want to change before proceeding.
## 2. Classify the instruction
Understand what the user wants. Instructions fall into these categories — a single instruction may combine several:
**Content edits** — modifying the text of one or more concept files:
- Rewriting or extending a body section (`# Schema`, `# Examples`, etc.)
- Adding or removing a section
- Correcting factual content
- Updating `description`, `title`, or other frontmatter fields
**Structural edits** — changing the organization of the bundle:
- Renaming a concept file or directory
- Moving concepts between directories
- Splitting one concept into multiple files
- Merging multiple concepts into one
- Creating or deleting concepts
**Bulk edits** — applying a uniform change across multiple concepts:
- Changing a `type` value across all matching concepts
- Adding or removing a tag from a set of concepts
- Adding a section to all concepts of a given type
- Normalizing frontmatter fields (e.g., converting `timestamp` to UTC)
**Cross-link edits** — modifying how concepts reference each other:
- Fixing broken links
- Converting relative links to absolute (bundle-relative) links or vice versa
- Adding links between concepts that should be related but aren't
Identify the category, the **scope** (single concept / directory / whole bundle / cross-cutting filter), and the **target** (which files are affected).
## 3. Read the relevant portion of the bundle
- For single-concept edits: read only that file.
- For directory-scoped edits: read all concept files in that directory.
- For whole-bundle or bulk edits: scan all concepts and read the files that match the filter implied by the instruction.
Also read the affected `index.md` files and `log.md`.
## 4. Plan the changes
Before writing anything, produce a clear plan:
```
Edit plan
─────────────────────────────────────────
Instruction : "<user instruction>"
Scope : <single concept / <N> concepts / whole bundle>
Bundle : <path>
CHANGES (<N> files)
~ path/to/concept.md
[field] description: "old value" → "new value"
[body] Added section "# Usage" with <N> lines
[move] → new/path/concept.md
~ path/to/other.md
[type] "BigQuery Table" → "Table"
INDEX UPDATES (<N>)
↻ tables/index.md — reflects rename
LOG ENTRY
log.md — will add **Edit** entry for today
```
For **destructive changes** (deleting concepts, merging files, removing sections), call them out explicitly:
```
DESTRUCTIVE CHANGES — review carefully
✗ legacy/old-concept.md — will be deleted
✗ tables/orders.md (body section "# Old Notes") — will be removed
```
Ask: **"Apply these changes? (yes / no / describe adjustments)"**
Wait for the user's answer. If they request adjustments, revise the plan and show it again. Never apply any change without explicit approval.
## 5. Apply changes
After user approval, apply in this order to avoid broken intermediate states:
1. **Content edits**: rewrite fields and body sections as planned. Preserve all frontmatter keys not mentioned in the plan. Update `timestamp` to the current datetime on any concept whose content changed.
2. **Structural edits**:
- Renames/moves: write the file at the new path, delete the old one, update all cross-links in the bundle that pointed to the old path.
- Splits: write the new concept files, remove the original, update cross-links.
- Merges: write the merged concept, remove the originals, update cross-links.
3. **Index files**: regenerate `index.md` for every affected directory. Preserve any manually written content not related to the changed concepts.
4. **Log file**: prepend an entry to `log.md` at the bundle root:
```markdown
## <YYYY-MM-DD>
* **Edit**: <concise description of what changed and why, derived from the instruction>.
```
## 6. Cross-link integrity
After all changes, scan the bundle for broken links caused by the edit (renamed or deleted files). Report any that remain and offer to fix them. Do not leave the bundle in a state with newly introduced broken links without warning the user.
## 7. Git (optional)
Follow `okf:_okf-skill-git-commit` with commit message derived from the instruction:
`edit: <concise description of the change>`
## 8. Validate
Follow `okf:_okf-skill-validate`.
## 9. Final report
```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.590score
okf:update
siculo
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…
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.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-git-commit
siculo
Internal skill: offer to stage all modified and new files and commit them.
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
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Jun 27, 2026 (4 months 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.590score
okf:update
siculo
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…
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
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:edit 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:edit skill. Agent Mart. https://agentmart.dev/skills/siculo-okf-edit (last updated 2026-10-24)