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.
npx agentmods add instructions/chronoaiproject/nyxid/claude-mdgit clone --depth 1 https://github.com/ChronoAIProject/NyxIDWrote 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.
[](https://agentmods.dev/instructions/chronoaiproject/nyxid/claude-md)<a href="https://agentmods.dev/instructions/chronoaiproject/nyxid/claude-md"><img src="https://agentmods.dev/badge/instructions/chronoaiproject/nyxid/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.15664 | $0.15664 |
| Opus 5 | $0.07832 | $0.07832 |
| Sonnet 5 | $0.03133 | $0.03133 |
| Haiku 4.5 | $0.01566 | $0.01566 |
Grade A, and why
NyxID 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 516 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Overview
NyxID is an Auth/SSO platform (similar to Supabase Auth) with a Rust backend, React frontend, and CLI tools: user authentication, OAuth/OIDC, MFA, credential brokering, admin management, and MCP proxy. The nyxid CLI covers all user-facing operations (services, keys, catalog, nodes, approvals, SSH, MCP, notifications) and includes nyxid node for managing on-premise credential nodes.
Tech Stack:
- Backend: Rust, Axum 0.8, MongoDB 8.0 (
mongodb3.5,bson2.15) - Frontend: React 19, TypeScript, Vite 7, TanStack Router + Query, Tailwind CSS 4, Zod 4, Zustand
- Mobile: React Native 0.83, Expo 55, TypeScript (iOS + Android approval app)
- SDK: TypeScript OAuth 2.0 client (
@nyxids/oauth-core,@nyxids/oauth-react) - Dev tools: Docker Compose (MongoDB + Mailpit), RSA keys for JWT signing
Deep-dive docs live in docs/ -- notably chat/README.md, ENV.md, ORACLE_RELAY.md, AGENT_ISOLATION.md, CHANNEL_BOT_RELAY.md, CHANNEL_EVENT_GATEWAY.md, NODE_PROXY_ARCHITECTURE.md, OPENCLAW_INTEGRATION.md, API_DISCOVERY.md, SSH_NODE_KEY_AUTH.md. Read the relevant doc before working in that subsystem.
Critical Rules
1. MongoDB Model Conventions
- NEVER use
#[serde(skip_serializing)]on model fields -- preventsinsert_one(&struct)from storing them - ALWAYS use
#[serde(with = "bson::serde_helpers::chrono_datetime_as_bson_datetime")]onDateTime<Utc>fields; forOption<DateTime<Utc>>use thebson_datetime::optionalhelper (models/bson_datetime.rs) - IDs are UUID v4 stored as strings in MongoDB
_id; each model has aCOLLECTION_NAMEconstant
2. Layer Architecture
Strict separation: handlers/ -> services/ -> models/
- models/ -- plain serde structs,
COLLECTION_NAME, no business logic - services/ -- business logic; takes
&mongodb::Databaseand&strfor IDs - handlers/ -- HTTP layer; converts
AuthUser.user_id(Uuid) to string for services; dedicated response structs (never serialize model structs to API responses) - crypto/jwt.rs takes
&Uuid(kept for signing); token_service parses&strtoUuidinternally - unified_key_service -- orchestration layer for the streamlined services architecture; auto-provisions UserEndpoint + UserApiKey + UserService from catalog or custom input in one operation
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.
- yesterday Changed · +17 lines · +1,005 tokens per session 2c3b170b3cfe
- 6d ago First seen · 499 lines · 14,659 tokens per session scan A 7613a6b4bbbd
NyxID CLAUDE.md is an instructions file published in the GitHub repository ChronoAIProject/NyxID (36 stars, last pushed yesterday), licensed Apache-2.0. It adds 15,664 tokens to every session, about $0.0783 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-30.
Other instructions, from other repositories
rustunnel CLAUDE.md
Claude Code instructions for joaoh82/rustunnel, covering claude.md, what is rustunnel, parent project, how i fit in and common commands.
rustunnel AGENTS.md
AGENTS.md instructions for joaoh82/rustunnel, covering agents.md, using rustunnel as a tool (expose local services), one-time setup the user must do and what you can do (mcp tools).
mcp-docs copilot-instructions.md
Instructions for la-rebelion/mcp-docs, covering project coding standards for typescript and react, typescript guidelines and react guidelines.
yamcp CLAUDE.md
Claude Code instructions for adamgalmor/yamcp, covering yamcp, verification loop (run before reporting any change done) and conventions.
blockrun-mcp AGENTS.md
AGENTS.md instructions for BlockRunAI/blockrun-mcp, covering blockrun mcp, commands, project structure, key dependencies and install in codex.
openrouter-mcp-multimodal AGENTS.md
AGENTS.md instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).