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/dimknaf/braindb/custom-profilesnpx skills add dimknaf/braindb --skill custom-profilesgit clone --depth 1 https://github.com/dimknaf/braindbWhat 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.00049 | $0.01593 |
| Opus 5 | $0.00024 | $0.00796 |
| Sonnet 5 | $0.00010 | $0.00319 |
| Haiku 4.5 | $0.00005 | $0.00159 |
Grade A, and why
braindb-custom-profile scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "http://localhost:8000/api/v1/entities?entity_type=wiki&limit=20" How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Authoring a BrainDB custom profile
A custom profile lets you (a) shape how the wiki maintainer/writer name and structure pages and (b) feed BrainDB a custom ingestion source — with zero effect on default behaviour when the profile is not active. One env switch turns a profile on; one self-contained folder holds everything it needs.
The committed custom-profiles/hackernews/ folder is a complete, keyless worked example
to copy from. custom-profiles/README.md is the short contract; this is the deep how-to.
The model
- One switch:
CUSTOM_PROFILEin the repo-root.envnames the active profile(s), comma-separated. Unset ⇒ every prompt is byte-identical to the baked-in default and the ingestor supervisor sleeps. - One folder:
custom-profiles/<name>/holds the profile's prompt fragments, an optionalingestor.py, and an optional.env.
Folder contract
custom-profiles/<name>/
├── wiki_maintainer.add.md # appended to the maintainer prompt
├── wiki_maintainer.replace.md # OR replaces it entirely (advanced)
├── wiki_writer.add.md # appended to the writer prompt
├── wiki_writer.replace.md # OR replaces it entirely (advanced)
├── ingestor.py # optional: a standalone source feeder
├── .env # optional: the ingestor's own config/secrets
└── README.md
Targets are wiki_maintainer and wiki_writer. <target>.add.md is appended to the
base prompt; <target>.replace.md replaces it. With several active profiles, add
fragments are concatenated in CUSTOM_PROFILE order. All files are optional.
What each prompt shapes
wiki_maintainerdecides, per orphan entity: skip / create (with aproposed_name) / attach / consolidate. Shape naming and dedup here (e.g. "name companies by official name; same ticker = same company").wiki_writerauthors the page body (free markdown). Shape structure here — the sections, a labelled profile block, a dated chronicle.
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- example/README.md 564 B
- example/wiki_writer.add.md 513 B
- gdrive/.env.example 1.9 KB
- gdrive/ingestor.py 19 KB runs code
- gdrive/README.md 3.8 KB
- hackernews/.env.example 344 B
- hackernews/ingestor.py 5.9 KB runs code
- hackernews/README.md 1.3 KB
- hackernews/wiki_maintainer.add.md 915 B
- hackernews/wiki_writer.add.md 1.7 KB
- hermes/.env.example 1.9 KB
- hermes/ingestor.py 9.2 KB runs code
- hermes/query.md 3.0 KB
- hermes/README.md 3.4 KB
- hermes/sample_answer.md 2.9 KB
- hermes/wiki_maintainer.add.md 1.4 KB
- hermes/wiki_writer.add.md 3.5 KB
- README.md 4.0 KB
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 · 118 lines · 49 tokens per session scan A 3596a5221993
braindb-custom-profile is a skill published in the GitHub repository dimknaf/braindb (107 stars, last pushed 12d ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,593 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). For CREATING new documents (report, memo, letter, résumé, contract from scratch), call the built-in tool renderDocx instead — it renders Markdown to .docx in milliseconds without forking Node.js. This skill…
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
skill-authoring
Author SKILL.md skills: frontmatter, validator limits, structure.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
gzh_article
公众号图文创作 / 推文 / 官方号文章 (official account article) — 端到端:选题→搜集→成文→配图→去AI化→公众号内联样式排版→交付/草稿箱。honors user persona & style memory.
pptx
Use this skill any time a .pptx file is involved in any way - as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with…