Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add waelmas/codeplow/plugin install obsidian-kbWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/waelmas/codeplow/kb-scaffold)<a href="https://agentmods.dev/skills/waelmas/codeplow/kb-scaffold"><img src="https://agentmods.dev/badge/skills/waelmas/codeplow/kb-scaffold/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/waelmas/codeplow/kb-scaffold"><img src="https://agentmods.dev/badge/skills/waelmas/codeplow/kb-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.04935 |
| Opus 5.5 | $0.00041 | $0.01974 |
| Sonnet 5.5 | $0.00020 | $0.00987 |
| Haiku 4.5 | $0.00010 | $0.00494 |
Grade A, and why
kb-scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kb-scaffold - Create an Empty Project Knowledge Base
Create a new Obsidian vault with a standardized empty structure. This is the lightweight alternative to kb-init - use when the user wants just the folders and placeholders, without automated codebase analysis.
For the full flow (scaffold + populate + audit), direct the user to kb-init instead.
Step 0: Preflight - Obsidian available and running?
Follow the Preflight Check in the obsidian-kb awareness skill (${CLAUDE_PLUGIN_ROOT}/skills/obsidian-kb/SKILL.md). In short:
command -v obsidian- if missing, check if the app is installed; if neither, show cross-platform install instructions (brew install --cask obsidian/flatpak install flathub md.obsidian.Obsidian/winget install Obsidian.Obsidian, or https://obsidian.md/download) and stop.timeout 3 obsidian vaults- if it fails, launch Obsidian (open -a Obsidianon macOS, equivalent for Linux/Windows), wait 2-3 seconds, retry.- Only proceed once
obsidian vaultssucceeds.
Step 1: Check for Existing Vaults (strict priority)
Follow the Vault Resolution Algorithm in ${CLAUDE_PLUGIN_ROOT}/skills/obsidian-kb/SKILL.md. Use strict priority order:
- Path overlap - exactly one vault whose path is inside
$PWDor vice versa. - Frontmatter
project_path- a root note's YAML matches$PWDexactly. - Strong name match - word-boundary substring match, exactly one candidate.
If a match at any tier exists, treat that vault as a potential existing KB for this project and follow the "If a matching or similar vault is found" branch below.
If none of the tiers match, there's no existing vault - proceed to Step 2 to scaffold a new one.
Critical: every subsequent obsidian command in this skill MUST include vault="<name>" with the explicit vault name.
If a matching or similar vault is found
Present the finding to the user and ask them to choose:
"I found an existing vault [vault name] at
[path]that appears to be associated with this project. Would you like to:
- Use it - adopt this vault as the project KB (I'll update its Index.md with the project path if needed)
- Delete and recreate - remove this vault and create a fresh one
- Ignore it - create a new vault alongside it with a different name"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 419 lines · 102 tokens per session scan A b95b04b99251
kb-scaffold is a skill published in the GitHub repository waelmas/codeplow (8 stars, last pushed 6mo ago), licensed MIT. It adds 102 tokens to every session and 4,935 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
kb-scaffold compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kb-scaffoldwaelmas/codeplow | Skill | 8 | 6mo ago | MIT | A | 102 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 394k | yesterday | MIT | A | 80 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 74 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 115 | Claude Code, Codex |