agentindex: Instructions file for Claude Code

CLAUDE.md

agentindex CLAUDE.md is an instructions file for Claude Code from agentidx/agentindex. It costs 3,519 tokens per session, scanned B, original, MIT.

A project instruction file that explains how to work on the Nerq/ZARQ system. It directs the coding agent to read the project’s operating board and keep that board updated after each session.

In plain words
What is it for?
Use it when starting work in the repository, checking current program status, following project conventions, or recording completed work and decisions.
Why use it?
It prevents the agent from changing a continuously running system without understanding its current state, active work, decisions, and required handoffs.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentidx/agentindex/claude-md"><img src="https://agentmods.dev/badge/instructions/agentidx/agentindex/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,519 This file is loaded in full into every session.
When invoked 3,519 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03519 $0.03519
Opus 5.5 $0.01408 $0.01408
Sonnet 5.5 $0.00704 $0.00704
Haiku 4.5 $0.00352 $0.00352

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

Security

Grade B, and why

agentindex CLAUDE.md scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

6. **Pending sudo fixes:** `scripts/apply_system_limits.sh`, auto-login anstudio, UPS purchase. Sudo password unknown -- needs recovery.
CLAUDE.md · 186 lines

How it starts

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

CLAUDE.md -- Orientation for Claude sessions working on Nerq/ZARQ

Read this file first. It is the map to everything else.

Then read ~/agentindex/PROGRAM.md — the operating board: everything running (timers+guards), in flight, staged, held on Anders, the decision log, and the north-star values. It is the single source of truth for program state.

STANDING RULE — the board is not optional. Every Code session MUST end by updating PROGRAM.md: move status (RUNNING/IN PROGRESS/STAGED/HELD/FROZEN-TEST/DONE), log any signed decision in the Decision Log with today's date, reorder the staged queue, refresh north-star values, and bump the "Last board update" date. A session that changed program state but didn't update the board isn't finished. The heartbeat flags the board as a silent-death class if it goes >8 days untouched.

If there is a docs/session-handoff-<date>.md file newer than this one, read that first — it contains the most recent session's context and specific tasks for you to pick up.


The critical fact you must know before touching anything

Nerq is operated 24/7 by an autonomous AI agent named Buzz, running inside openclaw (~/.openclaw/). Buzz was configured by a previous Claude instance. The system has three participants:

  1. Anders Nilsson -- strategic decisions
  2. Buzz -- 24/7 operations, health monitoring, self-healing
  3. Claude (you) -- advisory, building, fixing

When things happen in the system that neither you nor Anders did, it is probably Buzz. Do not assume you know what Buzz is doing without reading its config.

Required reading before operational work: docs/buzz-context.md


What is this system?

  • ZARQ (zarq.ai) is a crypto risk intelligence platform -- "Moody's for crypto". Trust Score, Distance-to-Default, crash probability.
  • Nerq (nerq.ai) is an AI asset search engine indexing 5M+ AI assets (204K agents & tools, 4.7M models & datasets) with Trust Scores.
  • Both run on the same FastAPI backend on one Mac Studio M1 Ultra (64 GB RAM).

Read the full file on GitHub · 186 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 · 186 lines · 3,519 tokens per session scan B 3b158aa984ce

Subscribe to this mod's changes

agentindex CLAUDE.md is an instructions file published in the GitHub repository agentidx/agentindex (2 stars, last pushed 3mo ago), licensed MIT. It adds 3,519 tokens to every session, about $0.0141 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agentindex CLAUDE.md compared with instructions from other repositories

agentindex CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentindex CLAUDE.mdagentidx/agentindexInstructions file23mo agoMITB3,519Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot