hivemind: Instructions file for Claude Code

CLAUDE.md

hivemind CLAUDE.md is an instructions file for Claude Code from dip497/hivemind. It costs 4,201 tokens per session, scanned A, original, MIT.

A guide to Hivemind's research workflow using Hyperresearch, a command-line tool that collects and organizes web research into notes. It explains the multi-step process and where its research files belong.

In plain words
What is it for?
Use it when researching a topic for Hivemind, running the Hyperresearch pipeline, or creating and reviewing research notes and reports.
Why use it?
It helps the coding assistant run research in the project's expected order and save results in the format and locations that Hivemind can use.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions AGENTS.md; built for openclaw.

This is dip497/hivemind's own configuration. It tells Claude Code how to work on hivemind 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 hivemind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dip497/hivemind. 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/dip497/hivemind/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/dip497/hivemind

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dip497/hivemind/claude-md"><img src="https://agentmods.dev/badge/instructions/dip497/hivemind/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,201 This file is loaded in full into every session.
When invoked 4,201 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.04201 $0.04201
Opus 5.5 $0.01680 $0.01680
Sonnet 5.5 $0.00840 $0.00840
Haiku 4.5 $0.00420 $0.00420

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

Security

Grade A, and why

hivemind 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 9d 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 · 181 lines

How it starts

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

CLAUDE

Multiplayer, other devices, phone — work in progress

A multi-session project. Start at docs/plans/multiplayer.md: what is done, what is in progress, how to resume, and the checks to run. The design is docs/design/multiplayer-2026-09-28.md (accepted; Phase 0 refactors R1–R16 come before any feature work) and the facts behind it are in docs/design/multiplayer-2026-09-28-research.md. Update the status table in docs/plans/multiplayer.md in the same commit as the work it describes, so the next session picks up where this one stopped. Its Working rules (modular code, one owner per job, no seams for tests) apply to every item.

Definition of done

A user-facing change is done only when every surface it touches is done: the agent-native CLI, the app UI, the phone page, the guide and references, agent briefs, READMEs, HiveHub, hivemind-plugins, local-data migrations, contract versions, security, tests, CHANGELOG and cleanup. Walk .claude/skills/feature-done/SKILL.md before planning or briefing, and report against its table.

Tests

Every test written or changed passes the authoring gate in .claude/skills/test-audit/SKILL.md (the maintainer's rule, adapted from openclaw's test-audit skill), and each new test is shown to fail when the behaviour it guards is broken.

Work that runs per event

Agent status, terminal output, keystrokes and store changes fire many times a second, on Electron main or the pty daemon's one thread, where every window and terminal waits behind them. Fix the cause, at the owner, not the symptom. Before adding work there, check:

  • It does not re-derive from scratch (folder scan, whole-document read or copy, full serialize). The owner keeps the result and clears it on change (WorkspaceStore.getCore).
  • It gives back the same object when nothing changed. Caches, memos and debounced saves key on identity (rebaseRecords).
  • Its cost at 50 tiles, workspaces, board objects or 5000 scrollback lines is measured and stated.
  • A heavy resource per item (GL context, process, full read) is spread or bounded, not made N at once.
  • A feed, poll or listener stops when its last follower leaves.

Read the full file on GitHub · 181 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. 9d ago Changed · +9 lines · +166 tokens per session bf2fe7a18533
  2. 10d ago Changed · +4 lines · +27 tokens per session de59ce415dc2
  3. 12d ago Changed · +38 lines · +1,102 tokens per session 427de890a7b5
  4. 1mo ago Changed · +52 tokens per session b06365fc5c6e
  5. 1mo ago Changed · +40 lines · +578 tokens per session 6713a17fb1bd
  6. 1mo ago Changed · +26 tokens per session 0ac82417be2b
  7. 1mo ago Changed · -97 lines · -1,569 tokens per session c7458445b3a6
  8. 1mo ago Changed · +3 lines · +229 tokens per session 5d9708049733
  9. 1mo ago Changed · +3 lines · +390 tokens per session 88de4aabac1f
  10. 2mo ago First seen · 181 lines · 3,200 tokens per session scan A ebbb5d874b9e

Subscribe to this mod's changes

hivemind CLAUDE.md is an instructions file published in the GitHub repository dip497/hivemind (17 stars, last pushed yesterday), licensed MIT. It adds 4,201 tokens to every session, about $0.0168 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens