rnix CLAUDE.md

rnix CLAUDE.md is an instructions file for coding agents from rnixai/rnix. It costs 13,747 tokens per session, scanned A, original, MIT.

Repository instructions for rnix, an operating system for AI agents written in Go. They describe the project, development commands, and how to run individual tests.

In plain words
What is it for?
Working on rnix code, running its full checks, and running one named test or tests for a specific package.
Why use it?
They give a coding agent the project context and the commands needed to build, lint, verify, and test changes correctly.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/rnixai/rnix/claude-md
Clone the repo
git clone --depth 1 https://github.com/rnixai/rnix

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rnixai/rnix/claude-md.svg)](https://agentmods.dev/instructions/rnixai/rnix/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rnixai/rnix/claude-md"><img src="https://agentmods.dev/badge/instructions/rnixai/rnix/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 13,747 This file is loaded in full into every session.
When invoked 13,747 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.13747 $0.13747
Opus 5 $0.06874 $0.06874
Sonnet 5 $0.02749 $0.02749
Haiku 4.5 $0.01375 $0.01375

Measured 4d ago against content hash c23a29e8cb5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rnix 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 4d 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 · 352 lines

How it starts

The opening of the file, as written. The whole thing — 352 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.

Project Overview

Rnix is an operating system for AI agents, inspired by Unix design philosophy. It provides process management, a virtual filesystem (VFS), IPC via Unix domain sockets, multi-agent orchestration, intent decomposition, and debugging tools. Written in Go 1.26, module github.com/rnixai/rnix.

Project Context

_bmad-output/project-context.md

Build & Development Commands

每次会话的编码工作完成后,要运行一次 make all 检查是否有错误需要修复。

make build          # Build binary → ./rnix
make test           # Run all tests with race detection
make lint           # golangci-lint
make vet            # go vet
make all            # lint + vet + test + build
make agtest         # Tier1 agent-behavior regression suite, isolated daemon (PR gate; not part of `all`)
make agtest-live    # Tier2 advisory suite against your ambient daemon + real provider/API key

# Run a single test
go test -race -run TestFunctionName ./package/...

# Run tests for a specific package
go test -race ./kernel/...
go test -race ./ipc/...

Prerequisite: Go 1.26+ (managed via mise.toml).

Architecture

Daemon Model

Rnix runs as a background daemon holding the kernel and process table. CLI commands communicate with the daemon over a Unix domain socket ($XDG_RUNTIME_DIR/rnix/rnix.sock or /tmp/rnix-$UID/rnix.sock). The CLI auto-starts the daemon via EnsureDaemon() if not running. Manage the daemon with rnix daemon status and rnix daemon stop.

Core Data Flow

CLI (cmd/rnix) → IPC Client → Unix Socket → IPC Server → Kernel
                                                            ↓
                                              Process ReasonStep Loop
                                                  ↓           ↑
                                             VFS Devices    Context
                                            (LLM, FS, Shell, MCP)

Package Dependency Hierarchy

Read the full file on GitHub · 352 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. 4d ago First seen · 352 lines · 13,747 tokens per session scan A c23a29e8cb5d

Subscribe to this mod's changes

rnix CLAUDE.md is an instructions file published in the GitHub repository rnixai/rnix (5 stars, last pushed 26d ago), licensed MIT. It adds 13,747 tokens to every session, about $0.0687 per session on Opus 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.