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 nuetzliches/powerbrain --skill querying-knowledge-basegit clone --depth 1 https://github.com/nuetzliches/powerbrainWrote 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/nuetzliches/powerbrain/querying-knowledge-base)<a href="https://agentmods.dev/skills/nuetzliches/powerbrain/querying-knowledge-base"><img src="https://agentmods.dev/badge/skills/nuetzliches/powerbrain/querying-knowledge-base/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/nuetzliches/powerbrain/querying-knowledge-base"><img src="https://agentmods.dev/badge/skills/nuetzliches/powerbrain/querying-knowledge-base.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.00028 | $0.02361 |
| Opus 5.5 | $0.00011 | $0.00944 |
| Sonnet 5.5 | $0.00006 | $0.00472 |
| Haiku 4.5 | $0.00003 | $0.00236 |
Grade A, and why
querying-knowledge-base 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.
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.
After registration, all Powerbrain tools are available directly as MCP tools — no curl required. The agent can call `search_knowledge`, `graph_query`, etc. like any other tool. How it starts
The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Querying the Knowledge Base
Overview
Query the Powerbrain knowledge base via its MCP server. The server exposes a set of tools for semantic search, structured queries, policy checks, graph queries, and data ingestion. All requests use JSON-RPC 2.0 over HTTP POST (MCP Streamable HTTP transport).
Server
- URL:
http://localhost:8080/mcp - Transport: MCP Streamable HTTP (JSON-RPC 2.0 over HTTP POST)
Access Methods
Option A: Native MCP server (recommended)
If your agent supports MCP natively (Claude Code, OpenCode, Cursor, etc.), register the server in your agent configuration:
Claude Code (~/.claude/mcp_servers.json or project-level .mcp.json):
{
"mcpServers": {
"powerbrain": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}
OpenCode (~/.config/opencode/config.json):
{
"mcpServers": {
"powerbrain": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}
After registration, all Powerbrain tools are available directly as MCP tools — no curl required. The agent can call search_knowledge, graph_query, etc. like any other tool.
Option B: HTTP/curl (without native MCP integration)
If the agent has no native MCP support, all tools can be called via HTTP POST.
Headers: Content-Type: application/json, Accept: application/json, text/event-stream
1. Initialize (once per logical session)
curl -s http://localhost:8080/mcp -H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{
"jsonrpc": "2.0", "id": 1, "method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": {"name": "agent", "version": "1.0"}
}
}'
2. Call a tool
curl -s http://localhost:8080/mcp -H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{
"jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": {
"name": "search_knowledge",
"arguments": {
"query": "remote work policy",
"collection": "pb_general",
"top_k": 5,
"agent_id": "my-agent",
"agent_role": "analyst"
}
}
}'
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.
- 1mo ago First seen · 281 lines · 28 tokens per session scan A f4d87f0f0912
querying-knowledge-base is a skill published in the GitHub repository nuetzliches/powerbrain (5 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 2,361 once invoked, about $0.0001 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-31.
Other skills, from other repositories
alexa
Expose HybridClaw as a custom Alexa skill and prepare guarded Alexa smart-home/device control payloads without exposing Amazon credentials.
blink
Read Blink camera and video-doorbell state, list motion clips, and prepare guarded home-security control requests without exposing Blink credentials.
gh-issues
Process GitHub issues as an automation queue: /gh-issues lists and filters issues, confirms selected issue numbers, deduplicates fix/issue- work, delegates one focused PR per issue, and can monitor issue-fix PR review feedback. Use this instead of general PR workflow tools only when the entry point is a GitHub issue…
google-ads
Manage Google Ads accounts with safe GAQL reporting, campaign planning, guarded mutations, and gateway-proxied REST API calls.
hue
Read and control Philips Hue Bridge lighting installations through local CLIP v2 or the Hue Remote API with SecretRef-backed credentials and guarded lighting changes.
airtable
Search Airtable bases and tables, read records and computed fields, and prepare guarded record CRUD requests with schema-based field validation.