braindb-custom-profile

braindb-custom-profile is a skill for Claude Code from dimknaf/braindb. It costs 49 tokens per session (1,593 once invoked), scanned A, original, Apache-2.0.

Instructions for creating a BrainDB custom profile that changes wiki-writing prompts and can add a custom data source. BrainDB is a system for storing and organizing persistent knowledge.

In plain words
What is it for?
Use it to create profile folders, add or replace maintainer and writer instructions, configure an optional ingestor, and activate profiles with an environment setting.
Why use it?
It lets a project tailor how information is named, structured, and imported without changing the default behavior when disabled.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create profile folders, add or replace maintainer and writer instructions, configure an optional ingestor, and activate profiles with an environment setting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dimknaf/braindb/custom-profiles
Install

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.

Any agent
npx skills add dimknaf/braindb --skill custom-profiles
Clone the repo
git clone --depth 1 https://github.com/dimknaf/braindb

Made for: Claude Code.

Wrote 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.

agentmods badge for braindb-custom-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimknaf/braindb/custom-profiles/github.svg)](https://agentmods.dev/skills/dimknaf/braindb/custom-profiles)
Your own site
<a href="https://agentmods.dev/skills/dimknaf/braindb/custom-profiles"><img src="https://agentmods.dev/badge/skills/dimknaf/braindb/custom-profiles/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.

agentmods 80×15 button for braindb-custom-profile

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimknaf/braindb/custom-profiles"><img src="https://agentmods.dev/badge/skills/dimknaf/braindb/custom-profiles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 34
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Prompt Injection · line 56
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 56
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Data Exfiltration · line 97
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01593
Opus 5.5 $0.00020 $0.00637
Sonnet 5.5 $0.00010 $0.00319
Haiku 4.5 $0.00005 $0.00159

Measured 1mo ago against content hash 3596a5221993, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (gdrive/ingestor.py, hackernews/ingestor.py, hermes/ingestor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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"
custom-profiles/SKILL.md · 118 lines

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_PROFILE in the repo-root .env names 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 optional ingestor.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_maintainer decides, per orphan entity: skip / create (with a proposed_name) / attach / consolidate. Shape naming and dedup here (e.g. "name companies by official name; same ticker = same company").
  • wiki_writer authors the page body (free markdown). Shape structure here — the sections, a labelled profile block, a dated chronicle.

Read the full file on GitHub · 118 lines

Changes

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.

  1. 1mo ago First seen · 118 lines · 49 tokens per session scan A 3596a5221993

Subscribe to this mod's changes

braindb-custom-profile is a skill published in the GitHub repository dimknaf/braindb (113 stars, last pushed 8d 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.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.

Related

Other skills, from other repositories

graph-workflow

Exact mutation, revision, relationship, and document-tree rules for the Understanding Graph. Use when persisting or changing graph state. This is a write-contract reference, not a required thinking loop.

emergent-wisdom/understanding-graph · 44 tokens

orient

Re-enter relevant graph context when beginning a session, changing projects, or when the user explicitly asks for orientation. Use only when prior graph state could affect the work; it is not a ritual for every conversation.

emergent-wisdom/understanding-graph · 45 tokens

understanding-work

Use an available Understanding Graph or Undergraph MCP as the persistent medium for substantive reading, research, writing, coding, design, diagnosis, decisions, and other knowledge work. Trigger whenever a user asks for meaningful work in a graph-backed project, even if they do not explicitly say “use the graph.” Let…

emergent-wisdom/understanding-graph · 105 tokens

quality-check

Inspect graph structure when the user asks for a check or when a concrete structural problem may be affecting the work. Treat metrics as diagnostics, never as quotas or semantic-quality scores.

emergent-wisdom/understanding-graph · 40 tokens

agent-wiki

Manage a structured knowledge base with immutable raw sources and a mutable wiki layer. Use this skill whenever the user mentions knowledge base, wiki, raw documents, importing documents (Confluence, Jira, URLs, files), searching knowledge, code parsing (COBOL), or asks to add/read/write/search/lint knowledge. Also…

xinhuagu/agent-wiki · 142 tokens

awm-rsi-toolkit

Run AWM (Agent Workflow Memory, Wang et al. 2024) on an agent - induce reusable workflows from its successful trajectories, online over a training stream or offline from supplied experiences, then freeze the workflow memory and measure it on a published Benchmark.

Prism-Shadow/penguin-harness · 58 tokens