HARTOS: Instructions file for Claude Code

CLAUDE.md

HARTOS CLAUDE.md is an instructions file for Claude Code from hertz-ai/HARTOS. It costs 8,484 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for HART OS, a distributed platform that coordinates autonomous AI agents and crowdsourced computing. Its recipe system can learn a task once and replay it later with fewer model calls.

In plain words
What is it for?
Use them when modifying HART OS, following its master-key and exclusion-zone rules, or locating canonical sibling repositories and project files.
Why use it?
They describe the project's purpose, safety controls, required branch practices, and relationships with related repositories.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/hertz-ai/hartos/claude-md"><img src="https://agentmods.dev/badge/instructions/hertz-ai/hartos/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,484 This file is loaded in full into every session.
When invoked 8,484 The same file — it is already loaded in full.
Security scan A 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.08484 $0.08484
Opus 5 $0.04242 $0.04242
Sonnet 5 $0.01697 $0.01697
Haiku 4.5 $0.00848 $0.00848

Measured yesterday against content hash 8f24dc5d5c83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

HARTOS CLAUDE.md scanned grade A 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 yesterday.

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.

- `requests.get/post` / `urllib.urlopen` / `socket.connect` → MUST

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- `os.popen` / `os.system` without timeout → BANNED (Rule 5 of
CLAUDE.md · 622 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

RULE 0 — NEVER ASSUME (ranked above every other rule in this file)

Owner ruling 2026-09-05. Outranks every protocol below and any ship-mode urgency. It is not advice.

  1. Never assume. If a measurement of the exact claim does not exist, the claim is not made. "Probably", "consistent with", "the logs suggest" are assumptions wearing a hedge. When unmeasured, the answer is "I have not checked".
  2. Grep only LOCATES. A grep hit is a pointer, never evidence, and never a basis for a conclusion or an edit.
  3. Read the FULL file — every file the grep matched, end to end. Not a window around the hit. Partial reads are the documented cause of this codebase's wrong diagnoses and parallel-path regressions.
  4. Verify to the user-visible outcome, not the furthest log line reached. A pipeline that "ran" has produced nothing until the user's actual result is read back.

Measured cost of breaking this (single session, 2026-09-05): six conclusions asserted then withdrawn — a real registered tool called "fictional"; a missing log marker read as "no tool executed" when those tools cannot emit it; and a 179-second reuse turn analysed entirely from internal logs while the response the user actually received said "Your local AI is busy with another task right now."

Full rule + evidence table: Nunba memory/feedback_never_assume.md.

Project Overview

HART OS - Hevolve Hive Agentic Runtime

Crowdsourced compute infrastructure that orchestrates fully autonomous Hive AI Training. Open multi-agent platform democratizing access to the best intelligence, just like the internet is open, this will be open. Key innovation: Recipe Pattern - learn task execution once (CREATE mode), then replay efficiently (REUSE mode) without repeated LLM calls.

What it does: Enables distributed thought processes across crowdsourced agents, distributed coding agents that incentivize compute providers, and a self-sustaining economic model (like a vending machine, but at national economy scale) so that no single entity, no government, and no private corporation ever monopolizes AI. Intelligence belongs in the hands of the common person.

Read the full file on GitHub · 622 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. yesterday Changed · +27 lines · +350 tokens per session 8f24dc5d5c83
  2. 9d ago First seen · 595 lines · 8,134 tokens per session scan A ee25d8dd031e

Subscribe to this mod's changes

HARTOS CLAUDE.md is an instructions file published in the GitHub repository hertz-ai/HARTOS (52 stars, last pushed 2d ago), licensed Apache-2.0. It adds 8,484 tokens to every session, about $0.0424 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). 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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens