Witchcraft is a standalone semantic search engine written in Rust that stores its search index in a single SQLite database and runs on a device. It is intended for client-side document search without external services or API keys, and the catalogue skills support using the project.
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 dropbox/witchcraft --skill geminigit clone --depth 1 https://github.com/dropbox/witchcraftWrote 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/dropbox/witchcraft/gemini)<a href="https://agentmods.dev/skills/dropbox/witchcraft/gemini"><img src="https://agentmods.dev/badge/skills/dropbox/witchcraft/gemini/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/dropbox/witchcraft/gemini"><img src="https://agentmods.dev/badge/skills/dropbox/witchcraft/gemini.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.00040 | $0.00720 |
| Opus 5.5 | $0.00016 | $0.00288 |
| Sonnet 5.5 | $0.00008 | $0.00144 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade A, and why
pickbrain 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 20d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pickbrain for Gemini
pickbrain provides semantic search and retrieval for your past AI interactions (via pickbrain --mcp over stdio). Instead of searching by keywords, it understands the meaning of your questions to find relevant conversation turns. Run pickbrain once to build ~/.pickbrain/pickbrain.db and pickbrain --watch (or make pickbrain-install) to keep the index updated in the background.
Tools
1. search_ai_history
Searches your indexed history for relevant context.
query: (Required) Non-empty natural language description of what you are looking for.session_id: (Optional) Filter by session ID, Slack channel name/ID, or Slack thread key (thr:...).source: (Optional) Filter bygemini,claude,codex,pi, orslack.project: (Optional) Filter by workspace directory basename (exact match, e.g.witchcraft; seelist_projects).since: (Optional) Duration filter like"24h","7d","2w".limit: (Optional) Maximum number of results to return (default:5,0= unlimited).
When to use: Whenever the user asks "What did we talk about regarding X?" or "Find where we implemented Y."
2. read_session
Retrieves conversation turns from a specific session, Slack channel, or Slack thread (thr:...).
session_id: (Required) The unique ID of the session or SlackConvKey(thr:...) found in search results.turns: (Optional) Turn range like"7-9"or single turn"7"to conserve context tokens (defaults to the first 20 turns when omitted).since: (Optional) Duration filter like"24h","7d","2w".include_thinking: (Optional) Include intermediate thinking blocks (default:false).
When to use: After finding a relevant turn via search_ai_history, use this (passing turns around the matched turn) to get the full context of the surrounding discussion.
3. list_recent_sessions
Shows the 20 most recent indexed AI sessions with a 150-character preview.
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.
- 20d ago Changed · +6 lines · +4 tokens per session b3d49a250b2b
- 24d ago First seen · 40 lines · 36 tokens per session scan A 1fc7cb930488
pickbrain is a skill published in the GitHub repository dropbox/witchcraft (525 stars, last pushed 2d ago), licensed Apache-2.0. It adds 40 tokens to every session and 720 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-11-09.
pickbrain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pickbraindropbox/witchcraft | Skill | 525 | 2d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 6d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 15d ago | MIT | A | 184 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| memoryopensquilla/opensquilla | Skill | 7.2k | 7d ago | Apache-2.0 | A | 44 | Claude Code, Codex |