Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add atman-33/workhub --skill kb-lintgit clone --depth 1 https://github.com/atman-33/workhubWrote 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/atman-33/workhub/kb-lint)<a href="https://agentmods.dev/skills/atman-33/workhub/kb-lint"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/kb-lint/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/atman-33/workhub/kb-lint"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/kb-lint.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.00046 | $0.01637 |
| Opus 5.5 | $0.00018 | $0.00655 |
| Sonnet 5.5 | $0.00009 | $0.00327 |
| Haiku 4.5 | $0.00005 | $0.00164 |
Grade A, and why
kb-lint 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 22d 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 — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KB Lint — Knowledge Base Health Check
Audit the workhub vault for structural issues, inconsistencies, and
maintenance opportunities. Covers the note zones (inbox/, projects/,
knowledge/, archive/), the memory note types under memory/notes/, plus a
size check on memory/identity/decision-policy.md —
the task board (tasks/) is app-managed and only gets link checks.
Usage
/kb-lint # Full report (read-only)
/kb-lint --fix # Auto-fix safe issues
/kb-lint --zone knowledge # Lint only one zone
Checks
1. Index Drift
Compare _index.md contents (projects/_index.md, knowledge/_index.md,
archive/_index.md) against actual files on disk.
| Issue | Meaning |
|---|---|
| MISSING | Listed in index but file/folder not found |
| UNLISTED | File/folder exists but not in index |
| STALE_INDEX | updated date > 7 days older than newest change in the zone |
Auto-fix: Add unlisted entries, remove missing entries, update dates.
2. Orphan Documents
Files in projects/, knowledge/, or archive/ that have:
- No incoming
[[wikilinks]]from other files - No entry in any
_index.md - No tags
Exclude from check: journal/**, inbox/**, tasks/**, templates/**,
_ai/**, _index.md, home.md, AGENTS.md, CLAUDE.md.
Report: List orphans with suggested action (link, tag, or archive).
3. Tag Consistency
| Issue | Rule |
|---|---|
| MISSING_PROJECT_TAG | File in projects/x/ lacks #proj/x |
| BAD_TAG_FORMAT | Spaces or unexpected casing in tag |
| CROSS_REF_TAG | #proj/x tag on file outside projects/ — note as intentional cross-reference |
Auto-fix: Add missing #proj/ tags to frontmatter.
4. Broken Links
For each [[wikilink]] found in vault documents:
- Verify target file exists
- Report
BROKEN_LINKif not found
With obsidian CLI: obsidian links broken
Without CLI: Grep for \[\[.*?\]\], resolve each target.
5. Frontmatter Quality
Check documents in note zones for required fields:
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.
- 22d ago Changed · +1 lines de25f4f25757
- 1mo ago Changed · +36 lines 1ec6e837b234
- 1mo ago Changed daecba00ec51
- 1mo ago Changed · +22 lines 265d69a11afa
- 1mo ago First seen · 138 lines · 46 tokens per session scan A aaf4c7e4c99a
kb-lint is a skill published in the GitHub repository atman-33/workhub (3 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,637 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
garden-tending
Tend the knowledge garden — diagnose vault health, condense project memos into project.md overviews, create/merge cross-project topics, fix broken links, archive superseded notes, extend trails. Trigger on "tend the garden", "condense", "update project overview", "check vault health", "where are we with X?", "what…
curator-practice
Operating philosophy for autonomous memex curator tending — orientation protocol, signal triage, bounded work units, initiative thresholds, logging conventions. Trigger on cron-launched runs with no user prompt, "use your judgment", "tend without instructions", "do a pass on the vault", "I'll be away — do what needs…
memo-writing
How to write effective session memos — format, frontmatter schema, observation extraction, topic-signal append. Trigger on /memex:save, "save this for later", "remember this", "save what we discussed", "document this session", "create a memo", or when the [memex] activity nudge appears in context. Do NOT trigger for…
recall
Retrieve session memory across 4 modes — TEMPORAL (date browsing), KEYWORD (FTS lookup), DEEP (cross-session synthesis), LOAD (specific file). Trigger on "what did I do yesterday/last week", "why did we...", "remind me...", "find the memo about...", "last time we...", "patterns across projects", "load the X topic". Do…
superbrain-distill
Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.
trellis-update-spec
Captures executable contracts and coding conventions into .trellis/spec/ documents. Use when learning something valuable from debugging, implementing, or discussion that should be preserved for future sessions.