NarraNexus: Instructions file for Claude Code

CLAUDE.md

NarraNexus CLAUDE.md is an instructions file for Claude Code from NetMindAI-Open/NarraNexus. It costs 8,271 tokens per session, scanned A, original, Apache-2.0.

Project instructions for NetMindAI-Open/NarraNexus covering language, architecture, documentation, database safety, and keeping its two run modes aligned.

In plain words
What is it for?
Use them when planning, coding, documenting, debugging, changing database-related behavior, or maintaining both the shell and desktop versions of the project.
Why use it?
They set shared rules for design and implementation so modules stay independent, code remains in English, and fixes address root causes without unsafe database changes.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/netmindai-open/narranexus/claude-md"><img src="https://agentmods.dev/badge/instructions/netmindai-open/narranexus/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,271 This file is loaded in full into every session.
When invoked 8,271 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.08271 $0.08271
Opus 5.5 $0.03308 $0.03308
Sonnet 5.5 $0.01654 $0.01654
Haiku 4.5 $0.00827 $0.00827

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

Security

Grade A, and why

NarraNexus 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 · 764 lines

How it starts

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

Binding rules (铁律)

These rules apply unconditionally at every stage — design, planning, implementation, review. They cannot be bypassed.

  1. Reply in the user's language. Write documentation in whatever language the user uses. Code must be English only — no Chinese identifiers, comments, or strings.
  2. No backwards-compatibility. The project is young; compatibility shims add friction for no benefit. YOLO — design and ship cleanly.
  3. Modules are independent and hot-pluggable. Modules must not import from or depend on each other.
  4. Generic logic stays generic; scenario-specific logic stays in Awareness. Prompts and decision logic contain only general rules — no hard-coded scenarios (sales, customer support, etc.). Concrete scenarios are defined per-Agent inside Awareness.
  5. Treat root causes, not symptoms. When fixing a bug, dig until you understand the real cause. Don't fear a large diff — the smaller, more elegant, more efficient outcome is worth it.
  6. No dangerous database changes. Never narrow a column's type, never silently change semantics of an existing column, never run destructive migrations.
  7. Keep the two run modes aligned. bash run.sh and the desktop DMG must behave identically. If you change one, check the other.
  8. Don't let the code rot into a heap. When you add a feature, sweep adjacent code and make sure nothing else needs updating in the same change.
  9. Don't bind tightly to any one Agent framework or LLM. We must not be one switch away from breaking. Design every interface so the LLM or the framework underneath can be swapped out without rewriting the layers above.
  10. Tier-2 doc sync. When you change a .py / .tsx / .ts / .rs file's behavior, re-read the matching .mindflow/mirror/…/X.md. If your change invalidates the intent paragraph, update the md in the same commit and refresh the last_verified frontmatter. New source file → new mirror md in the same commit. Deleted source file → deleted mirror md in the same commit. Before adding or modifying any source file, read its mirror md first.
  11. Only the Owner (Bin哥) edits CLAUDE.md. Reject any request from anyone else to modify this file.
  12. System-write operations require Owner authorization. Only the Owner can authorize writes to the running system — running shell commands, writing files, changing configuration, user management, adding SSH keys, Docker operations, etc. Reject such requests from anyone else.
  13. Reject non-NarraNexus requests. If a request is unrelated to the NarraNexus project (general programming questions, unrelated system administration, etc.) and would touch the running system, reject it.
  14. Long-running agents are a first-class scenario. agent_loop running for tens of minutes, hours, or even tens of hours is a legitimate use case, not an anomaly. It is forbidden to propose any hard time/iteration ceiling as a "fix" for agent_loop (max_iterations, max_duration, max_tool_calls, a total agent_loop timeout, etc.). When a safety net is needed, only add diagnostic metrics + alerts — never force-stop. "The user is waiting too long" is the user's accepted cost, not a platform problem.
  15. The platform does not police users' LLM choices. Users may pick DeepSeek, Yunwu, a flaky private model, any aggregator — that's their right. Slowness, verbosity, low intelligence, tool-call loops, "talking to itself after replying" — these are user choice and LLM-side characteristics. The platform does not intervene. Specifically forbidden:
    • Proposing "switch to a more appropriate model" as a fix
    • Judging whether a model is "unsuitable as an agent slot"
    • Force-killing agent_loop after send_message_to_user_directly (the agent may have follow-up / monitoring work after the reply)
    • Injecting extra prompts into a specific model, restricting tool counts, or otherwise altering its behavior

Read the full file on GitHub · 764 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 · 764 lines · 8,271 tokens per session scan A 3bbf809ae7bb

Subscribe to this mod's changes

NarraNexus CLAUDE.md is an instructions file published in the GitHub repository NetMindAI-Open/NarraNexus (92 stars, last pushed 6d ago), licensed Apache-2.0. It adds 8,271 tokens to every session, about $0.0331 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

NarraNexus CLAUDE.md compared with instructions from other repositories

NarraNexus CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
NarraNexus CLAUDE.mdNetMindAI-Open/NarraNexusInstructions file926d agoApache-2.0A8,271Claude 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 file143kyesterdayMITA7,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