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 instructions/kb-perbyte/hiveshare/claude-mdgit clone --depth 1 https://github.com/KB-perByte/hiveshareWrote 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/instructions/kb-perbyte/hiveshare/claude-md)<a href="https://agentmods.dev/instructions/kb-perbyte/hiveshare/claude-md"><img src="https://agentmods.dev/badge/instructions/kb-perbyte/hiveshare/claude-md.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.01301 | $0.01301 |
| Opus 5 | $0.00651 | $0.00651 |
| Sonnet 5 | $0.00260 | $0.00260 |
| Haiku 4.5 | $0.00130 | $0.00130 |
Grade A, and why
hiveshare CLAUDE.md 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 3d 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HiveShare — CLAUDE.md
Collaborative AI memory server for engineering teams. Teammates' AI agents store and search crunched context in shared "hiveshares" so nobody re-reads the same ticket twice.
Repo layout
cmd/
server/ → API server binary (main.go)
mcp/ → MCP sidecar binary (used by Claude Code / Cursor)
hiveshare/ → CLI binary (main.go + client.go + config.go)
internal/
api/ → HTTP handlers (router.go, auth.go, memory.go=HiveHandler, …)
mcp/ → MCP protocol + server + client
models/ → shared Go types (Hive, HistoryEntry, Snapshot, …)
store/ → Postgres (db.go, memory.go=HiveStore, history.go, …)
realtime/ → SSE hub (Redis pub/sub)
embed/ → async embedding worker (OpenAI / Ollama)
migrations/ → 001–008 applied in order
API.md → HTTP reference (verified by scripts/test-api-examples.sh)
deploy/ → OpenShift manifests
Build & run
make deps build # build all three binaries into ./bin/
make dev # docker-up + migrate + run server (EMBED_PROVIDER= for no embeddings)
make migrate # apply migrations/*.sql in order
make docker-up / docker-down
make smoke-test / smoke-test-full / integration-test
make release # cross-compile linux+darwin amd64+arm64 → dist/
Binaries: bin/hiveshare-server, bin/hiveshare-mcp, bin/hiveshare
Key env vars (server)
| Var | Notes |
|---|---|
DATABASE_URL |
Full Postgres DSN |
REDIS_URL |
Default redis://localhost:6379 |
LISTEN_ADDR |
Default :8080 |
BASE_URL |
Used in invite links |
EMBED_PROVIDER |
openai | ollama | empty (falls back to full-text) |
OPENAI_API_KEY |
Required when EMBED_PROVIDER=openai |
HISTORY_TTL_DAYS |
Optional purge age (0 = forever) |
HISTORY_MAX_VERSIONS |
Optional per-hive version cap (0 = unlimited) |
JWT_SECRET |
Required for service account JWT signing |
SA_TOKEN_TTL_MINUTES |
Default 15; lifetime of service account JWTs |
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.
- 3d ago First seen · 97 lines · 1,301 tokens per session scan A 1503335bca5e
hiveshare CLAUDE.md is an instructions file published in the GitHub repository KB-perByte/hiveshare (5 stars, last pushed 1mo ago), licensed MIT. It adds 1,301 tokens to every session, about $0.0065 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 instructions, from other repositories
mcp-dotnet-samples AGENTS.md
Instructions for microsoft/mcp-dotnet-samples, covering agents.md - mcp .net samples, project overview, project structure and architecture, repository organization and sample components.
Embody AGENTS.md
Instructions for dylanroscover/Embody, covering embody + envoy - ai instructions, critical rules, td python rules, network layout rules and mcp server safety rules.
mcp-server-azure-devops AGENTS.md
Instructions for Tiberriver256/mcp-server-azure-devops: /home/tiberriver256/repos/mcp-server-azure-devops/docs/important-knowledge/azure-devops-rest-api-research.md Researching Azure DevOps REST APIs, selecting api-version, or handling Azure DevOps Server (on-prem) endpoints.
rust-sdk fetch-mcp-doc.instructions.md
Instructions for modelcontextprotocol/rust-sdk, covering overall, key changes, architecture, baseprotocol and lifecycle.
ls-mcp AGENTS.md
Instructions for lirantal/ls-mcp, covering agents.md, start here, documentation, prs and issues and releases.
speclock copilot-instructions.md
Instructions for sgroy10/speclock, covering github copilot instructions (speclock), constraints and project decisions.