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 skills/mahmoudimus/simba/qmdnpx skills add mahmoudimus/simba --skill qmdgit clone --depth 1 https://github.com/mahmoudimus/simbaWrote 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/mahmoudimus/simba/qmd)<a href="https://agentmods.dev/skills/mahmoudimus/simba/qmd"><img src="https://agentmods.dev/badge/skills/mahmoudimus/simba/qmd.svg" alt="Measured on agentmods" 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 | $0.00038 | $0.00682 |
| Opus 5 | $0.00019 | $0.00341 |
| Sonnet 5 | $0.00008 | $0.00136 |
| Haiku 4.5 | $0.00004 | $0.00068 |
Grade A, and why
qmd 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 5d 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 — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qmd - Quick Markdown Search
Local search engine for Markdown notes, docs, and knowledge bases. Use this to find relevant files BEFORE reading them to dramatically reduce token usage.
When to Use (IMPORTANT)
ALWAYS prefer qmd search over reading files directly when:
- Exploring a codebase or documentation
- Looking for specific functionality or concepts
- Finding related files to a topic
- Answering questions about the codebase
Token savings: Instead of reading 5 files (5000+ tokens), search first (50 tokens) and read only the relevant sections (200 tokens).
Search Priority (follow this order)
qmd search "query"- Fast BM25 keyword search. Use this first, it's instant.qmd vsearch "query"- Semantic similarity. Use only if keyword search fails.qmd query "query"- Hybrid + reranking. Avoid unless user explicitly requests highest quality.
Common Commands
# Fast keyword search (DEFAULT - use this first)
qmd search "authentication" -n 10
# Search specific collection
qmd search "api routes" -c my-project
# Get file paths only (for deciding what to read)
qmd search "database schema" --files
# JSON output for parsing
qmd search "error handling" --json
# Semantic search (slower, use as fallback)
qmd vsearch "how does the login flow work"
Retrieve Documents
# Get specific file
qmd get "path/to/file.md"
# Get by document ID from search results
qmd get "#docid"
# Get multiple files
qmd multi-get "docs/*.md" --json
Workflow Example
Bad (token expensive):
1. Read src/auth/login.ts (800 tokens)
2. Read src/auth/session.ts (600 tokens)
3. Read src/auth/middleware.ts (500 tokens)
4. Read src/auth/types.ts (400 tokens)
-> Found answer in middleware.ts
Total: 2300 tokens
Good (token efficient):
1. qmd search "authentication middleware" --files (response: 50 tokens)
-> Returns: src/auth/middleware.ts:45-62
2. Read only the relevant section (150 tokens)
Total: 200 tokens (90% savings!)
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.
- 5d ago First seen · 93 lines · 38 tokens per session scan A 9777b40ac0f9
qmd is a skill published in the GitHub repository mahmoudimus/simba (6 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 682 once invoked, about $0.0002 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-31.
Other skills, from other repositories
wowerpoint
Turn one document into a kawaii NotebookLM slide-deck PDF. Use for "wowerpoint this", "make a deck about ", "turn this report into slides", or any request to render a single document as shareable narrative slides.
render
Use when the user says '/render', 'render this', 'render diagrams', 'generate SVG', 'mdview render', or wants to render markdown files with ASCII art diagrams to HTML via mdview. This skill generates DiagramSpec JSON for ASCII art blocks, embeds specs as HTML comments in the markdown, and calls mdview to produce…
deck-ai
Generate modern presentation decks (PDF) from markdown content. Local open-source alternative to Gamma — uses Slidev for layouts and Unsplash for imagery. Invoke when the user asks to "make a deck", "build slides from this", or "turn this into a presentation".
forgetful-files
File binary content into the knowledge base — screenshots, PDFs, diagrams, fonts, assets. Use when a binary artifact is worth keeping alongside knowledge, or when a stored procedure needs a bundled asset. The description is the entire search surface: say what the file shows and when to reach for it.
kami
Generate PDFs, resumes, CVs, letters, slide decks, portfolios, one-pagers, white papers, and professional documents. Use when user asks to create a PDF, make a resume, write a letter, design slides, format a document, typeset a report, build a portfolio, make a presentation, or create a one-pager. Warm parchment…
add-pdf-reader
Add PDF reading to Deus agents. Extracts text from PDFs via pdftotext CLI. Handles WhatsApp attachments, URLs, and local files.