hivekeep: Instructions file for Claude Code

CLAUDE.md

hivekeep CLAUDE.md is an instructions file for Claude Code from MarlBurroW/hivekeep. It costs 4,507 tokens per session, scanned A, original, MIT.

Project instructions for Hivekeep, a self-hosted platform where specialized AI agents share memory, tools, and an ongoing session. The instructions describe its documentation, technology choices, naming rules, and system behavior.

In plain words
What is it for?
Use them when working on Hivekeep features such as its database, API, real-time server events, configuration, memory system, or project structure.
Why use it?
They give an agent the project context and the documents it must consult before making changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents.

This is MarlBurroW/hivekeep's own configuration. It tells Claude Code how to work on hivekeep itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hivekeep configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MarlBurroW/hivekeep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MarlBurroW/hivekeep/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/MarlBurroW/hivekeep

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 hivekeep CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/marlburrow/hivekeep/claude-md/github.svg)](https://agentmods.dev/instructions/marlburrow/hivekeep/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/marlburrow/hivekeep/claude-md"><img src="https://agentmods.dev/badge/instructions/marlburrow/hivekeep/claude-md/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 hivekeep CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/marlburrow/hivekeep/claude-md"><img src="https://agentmods.dev/badge/instructions/marlburrow/hivekeep/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,507 This file is loaded in full into every session.
When invoked 4,507 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.04507 $0.04507
Opus 5.5 $0.01803 $0.01803
Sonnet 5.5 $0.00901 $0.00901
Haiku 4.5 $0.00451 $0.00451

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

Security

Grade A, and why

hivekeep 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 2mo 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.

CLAUDE.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hivekeep

Self-hosted platform of specialized AI agents (Agents) for individuals and small groups. Each Agent has a persistent identity, expertise, memory, and tools. Agents share a single continuous session (no "new conversation"), collaborate with each other, spawn sub-Agents for tasks, and execute scheduled jobs.

Documentation map

Read these files before starting any phase. They are the source of truth.

File Content
schema.md Complete SQLite database schema (all tables, indexes, virtual tables)
api.md REST API contracts (request/response for every route) + SSE events
sse.md Real-time/SSE cheat sheet — emit↔handle rules, the 8 recurring sync-bug traps, optimistic reconciliation, review checklist. Read before touching SSE or shared state.
config.md All configurable values with env vars and defaults
structure.md Project file tree, naming conventions, imports, i18n, error format
prompt-system.md How the Agent system prompt is assembled (blocks 1-12)
compacting.md Compacting algorithm + memory extraction pipeline
memory.md Memory v2 design — always-injected per-Agent profile document + episodic archive searched via recall; replaces per-message retrieval injection and the scoring heuristics
queenie.md Conversational onboarding spec — the Queenie configurator Agent, vault-centralized secrets, secure-input tools, avatar-style customization (Phase 27)
files.md Files section spec — workspace file browser/editor (tree + tabs + CodeMirror), workspace REST API + workspace:changed SSE, share-to-file-storage, chat integrations (@ file palette, clickable paths)
interactive-setup.md Interactive setup cards spec — generic, declarative in-chat OAuth sign-in + QR pairing (setup methods secret/oauth/qr), extending the secret_prompts card machinery without a DB migration
external-api.md External API spec — machine-to-machine conversational access: declared external clients + API keys (bearer), /api/v1/* send (wait/poll) with requestId correlation, hybrid target (main timeline or full-power isolated thread). Reuses the queue, session-lane and turn-completion machinery.
testing-instance.md Local test instance — a ready, LLM-capable seeded DB (~/.local/share/hivekeep-testdata/, Claude Max provider via host creds) for booting the real app to verify changes. Read it before running the app locally: this shell inherits PROD env (port 3000 + live DB) — scripts/seed-test-db.ts regenerates the seed.

Read the full file on GitHub · 214 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. 2mo ago First seen · 214 lines · 4,507 tokens per session scan A f19ab816a2dd

Subscribe to this mod's changes

hivekeep CLAUDE.md is an instructions file published in the GitHub repository MarlBurroW/hivekeep (75 stars, last pushed yesterday), licensed MIT. It adds 4,507 tokens to every session, about $0.0180 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-08-30.

Related

hivekeep CLAUDE.md compared with instructions from other repositories

hivekeep CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hivekeep CLAUDE.mdMarlBurroW/hivekeepInstructions file75yesterdayMITA4,507Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode