the-hive: Instructions file for Claude Code

CLAUDE.md

the-hive CLAUDE.md is an instructions file for Claude Code from KHAEntertainment/the-hive. It costs 1,997 tokens per session, scanned C, original, MIT.

Repository instructions for The Hive, a public platform for coordinating multiple AI models, covering its production code, installer, documentation, and shared project data.

In plain words
What is it for?
Use them when changing The Hive's public repository, following its structure, coordinating with the research workspace, or preparing tested production changes.
Why use it?
They give coding agents the project context and rules needed to work safely in the live repository.

Instructions file for Claude Code

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

This is KHAEntertainment/the-hive's own configuration. It tells Claude Code how to work on the-hive 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 the-hive configures โ†’

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../thehive-research && /sc:hive-mind "research new features".

Reuse

Borrowing it

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

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 the-hive CLAUDE.md

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

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/khaentertainment/the-hive/claude-md"><img src="https://agentmods.dev/badge/instructions/khaentertainment/the-hive/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,997 This file is loaded in full into every session.
When invoked 1,997 The same file โ€” it is already loaded in full.
Security scan C 2 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.01997 $0.01997
Opus 5 $0.00999 $0.00999
Sonnet 5 $0.00399 $0.00399
Haiku 4.5 $0.00200 $0.00200

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

Security

Grade C, and why

the-hive CLAUDE.md scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/KHAEntertainment/the-hive/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/KHAEntertainment/the-hive/main/install.sh | bash
CLAUDE.md ยท 302 lines

How it starts

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

Claude Code Configuration - The Hive Live Repository

Multi-Model AI Orchestration Platform - GitHub Public Repository

Version: 3.0 | Live Repo | Last Updated: August 10, 2025

๐Ÿ—๏ธ Repository Structure

This is the LIVE GITHUB REPOSITORY containing the public-facing installer, distribution, and production code.

Repository Purpose:

  • Public GitHub Repo: https://github.com/KHAEntertainment/the-hive
  • Installer Distribution: Main entry point for users to install The Hive
  • Production Code: Stable, tested code ready for public use
  • Documentation: User guides, installation instructions, API docs

Cross-Workspace Coordination:

  • Development and research happens in ../thehive-research/
  • Production code and releases managed HERE
  • Unified Session Data: All session data symlinked to research workspace
  • Shared Memory: .swarm/ and .superclaude/ directories are symlinked
  • SuperClaude sessions work seamlessly from either workspace location

๐Ÿšจ CRITICAL: PUBLIC REPOSITORY GUIDELINES

ABSOLUTE RULES:

  1. NO sensitive information (API keys, credentials, internal docs)
  2. ALL commits must be production-ready and tested
  3. Follow semantic versioning for all releases
  4. Maintain clean commit history for public visibility

โšก GOLDEN RULE: "PUBLIC-READY ONLY"

MANDATORY PATTERNS:

  • Security First: Never commit secrets or sensitive configuration
  • User-Focused: All content serves end users, not internal development
  • Quality Assurance: Every commit passes full test suite
  • Documentation: Clear, comprehensive user documentation

๐Ÿ“ Public Repository Structure

the-hive/
โ”œโ”€โ”€ ๐Ÿ“„ README.md                  # Main project documentation
โ”œโ”€โ”€ ๐Ÿš€ install.sh                 # Primary installer script
โ”œโ”€โ”€ ๐Ÿ“ฆ package.json              # Node.js dependencies
โ”œโ”€โ”€ ๐Ÿ”ง enhancements/             # Enhancement scripts
โ”‚   โ””โ”€โ”€ scripts/
โ”‚       โ”œโ”€โ”€ sc-git-mcp.sh        # Git-MCP integration
โ”‚       โ”œโ”€โ”€ superclaude-init.sh  # SuperClaude setup
โ”‚       โ””โ”€โ”€ dashboard.sh         # Dashboard management
โ”œโ”€โ”€ ๐Ÿ“š docs/                     # User documentation
โ”‚   โ”œโ”€โ”€ installation/            # Installation guides
โ”‚   โ”œโ”€โ”€ usage/                   # Usage examples
โ”‚   โ””โ”€โ”€ api/                     # API documentation
โ”œโ”€โ”€ ๐Ÿงช tests/                    # Public test suites
โ””โ”€โ”€ ๐Ÿท๏ธ releases/                 # Release artifacts

Read the full file on GitHub ยท 302 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 First seen ยท 302 lines ยท 1,997 tokens per session scan C bd3c59448c05

Subscribe to this mod's changes

the-hive CLAUDE.md is an instructions file published in the GitHub repository KHAEntertainment/the-hive (14 stars, last pushed 1y ago), licensed MIT. It adds 1,997 tokens to every session, about $0.0100 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

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 ยท 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 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,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness ยท 3,735 tokens