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 agentmods add commands/geckse/markdown-vdb/orphansgit clone --depth 1 https://github.com/geckse/markdown-vdbWhat 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 | $0.00014 | $0.01193 |
| Opus 5 | $0.00007 | $0.00596 |
| Sonnet 5 | $0.00003 | $0.00239 |
| Haiku 4.5 | $0.00001 | $0.00119 |
Grade A, and why
orphans 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 2d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mdvdb orphans
Find orphan files with no links. An orphan file is a markdown file in the index that has no outgoing links to other files and no incoming links (backlinks) from other files. These are isolated nodes in the link graph -- they neither reference nor are referenced by any other indexed file.
Usage
mdvdb orphans [OPTIONS]
Arguments
This command takes no arguments.
Options
This command has no command-specific options. Only global options apply.
Global Options
These options apply to all commands. See Commands Index for details.
| Flag | Short | Description |
|---|---|---|
--verbose |
-v |
Increase log verbosity (-v info, -vv debug, -vvv trace) |
--root |
Project root directory (defaults to current directory) | |
--no-color |
Disable colored output | |
--json |
Output results as JSON |
Human-Readable Output
When run without --json, orphans displays a formatted list of isolated files:
● Orphan Files (3) — no incoming or outgoing links
• docs/standalone-notes.md
• archive/old-design.md
• scratch/temp-ideas.md
Total: 3 orphan files
If no orphan files are found:
✓ No orphan files found — all files are connected.
Output Elements
| Element | Description |
|---|---|
| Orphan count | Total number of files with no links (shown in header) |
| File paths | Relative paths of each orphan file, listed with bullet markers |
| Total | Summary count at the bottom |
Examples
# Find all orphan files
mdvdb orphans
# Find orphan files as JSON
mdvdb orphans --json
# Find orphan files in a specific project
mdvdb orphans --root /path/to/project
# Find orphan files with debug logging
mdvdb orphans -vv
JSON Output
OrphansOutput (--json)
{
"orphans": [
{
"path": "docs/standalone-notes.md"
},
{
"path": "archive/old-design.md"
},
{
"path": "scratch/temp-ideas.md"
}
],
"total_orphans": 3
}
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.
- 2d ago First seen · 146 lines · 14 tokens per session scan A fd659b5d158c
orphans is a command published in the GitHub repository geckse/markdown-vdb (23 stars, last pushed 18d ago), licensed MIT. It adds 14 tokens to every session and 1,193 once invoked, about $0.0001 per session on Opus 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-30.
Other commands, from other repositories
wiki-init
Initialize a new LLM Wiki in the current directory. Creates the full directory structure, config, and template files.
check-invariants
Runs only the tree CRDT invariant test battery in outl-core. Faster than /check, focused on what can break sync.
claude-cmd-status
A Claude Code slash command. OpenCode does not read Claude commands.
docs-refresh
Re-fetch a cached source, ignoring the 7-day cache. Use when upstream content has changed.
cheatsheet
Generate a one-page exam cheatsheet from course-index and errors/log.md. Outputs to cheatsheet/final.md. Optionally convert to PDF.
voice-setup
Interactive setup for human voice configuration.