Skip to content
Agentmart
Submit a tool

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

IndexedUnlicense★ 2
Write a review

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.

Book a call

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.

We use your email only for this newsletter. Privacy

About

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.

No 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

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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from siculo

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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying okf:_okf-skill-scan-bundle?

CallGet help
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)