okf:_okf-skill-scan-bundle
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.
Skill by siculo
Chalk Labs
Need help deploying okf:_okf-skill-scan-bundle?
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-okf-skill-scan-bundle
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
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/okf-okf-skill-scan-bundle
What's inside
- Skill name
okf:_okf-skill-scan-bundle- Description
- 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. Called by okf:update, okf:reconcile, and okf:search.
- License
- Unlicense
- Instructions
- 79 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "okf:_okf-skill-scan-bundle" does not match folder "_okf-skill-scan-bundle"
Files (2)
- SKILL.md
- scan_bundle.py
SKILL.md (first lines)
Scan the bundle root provided by the calling skill.
## 1. Run the scanner script (preferred)
Look for `scan_bundle.py` in these locations, in order:
1. `skills/_scan-bundle/scan_bundle.py` (relative to the current working directory)
2. `~/.claude/skills/_scan-bundle/scan_bundle.py`
If found and Python 3 is available, run:
```bash
python3 <path>/scan_bundle.py <bundle_root>
```
The script outputs JSON to stdout:
```json
{
"mode": "full | two-pass",
"count": 42,
"index": {
"group/concept.md": {
"type": "...", "title": "...", "description": "...",
"tags": [], "resource": "...", "timestamp": "...",
"body": "..."
}
}
}
```
Parse this output and use it as the result of this skill. Skip to §4.
## 2. Fallback A: Python inline (script not found, Python available)
If the script is not found but Python 3 is available, enumerate concept files with:
```bash
python3 -c "
import pathlib, json, sys
root = pathlib.Path(sys.argv[1])
files = sorted(str(f.relative_to(root)) for f in root.rglob('*.md') if f.name not in {'index.md', 'log.md'} and not (f.parent == root and f.name in {'README.md', 'SPEC.md'}) and not any(p.startswith('.') for p in f.relative_to(root).parts))
print(json.dumps(files))
" <bundle_root>
```
Use the resulting file list to determine **N**, choose the read mode (§3 table), then read each file using the `Read` tool: full file in full mode, or with `limit: 30` in two-pass mode to capture only the frontmatter. Build the index map manually. Skip to §4.
## 3. Fallback B: native tools only (Python unavailable)
If Python is not available, traverse the directory tree using the `Read` tool:
1. Read the bundle root directory to list its contents.
2. Recurse into each subdirectory, collecting all `.md` files. Exclude `index.md` and `log.md`.
3. Let **N** = total count of files collected.
Choose the read mode:
| Condition | Mode | What to read |
|-----------|--------------|------------------------------------|
| N ≤ 50 | **full** | Frontmatter + body for all N files |
| N > 50 | **two-pass** | Frontmatter only (use `limit: 30`) |
Build an index map: **concept path → { type, title, description, tags, resource, timestamp [, body] }**
In two-pass mode, `body` is omitted. The calling skill must read the full body on demand, only when a concept becomes a candidate for change, match, or semantic diff (Pass 2).
## 4. Return to the calling skill
Provide:
- **mode** — `full` or `two-pass`
- **count** — N
- **index** — the map built in §1, §2, or §3
The calling skill must include the following line in its final report when mode is `two-pass`:
> `Bundle mode: two-pass (N concepts, threshold 50)`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:validate
siculo
Validate an OKF bundle for conformance with the current spec.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:create
siculo
Create a new OKF bundle from source documents.
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:_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.496score
okf:search
siculo
Search concepts in an OKF bundle by query, type, tags, or full-text.
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:validate
siculo
Validate an OKF bundle for conformance with the current spec.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
okf:create
siculo
Create a new OKF bundle from source documents.
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:_okf-skill-scan-bundle 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:_okf-skill-scan-bundle. Agent Mart. https://agentmart.dev/skills/siculo-okf-okf-skill-scan-bundle (last updated 2026-10-24)