Innate: Instructions file for Claude Code

AGENTS.md

Innate AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from vima-tech/Innate. It costs 6,811 tokens per session, scanned B, original, MIT.

Repository instructions for Innate, including commands to build and test its Rust command-line program and run its MCP server. A command-line program runs through a terminal instead of a graphical interface.

In plain words
What is it for?
Use them when changing Innate, running its recall or inspection commands, testing scoring changes, building the release binary, or starting its MCP integration.
Why use it?
They define the shared source of truth for coding agents and provide the exact commands for builds, tests, recall evaluations, and server operation.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is vima-tech/Innate's own configuration. It tells Claude Code, Codex and OpenCode how to work on Innate 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 Innate configures →

Reuse

Borrowing it

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

Made for: Claude Code, Codex, OpenCode.

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 Innate AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vima-tech/innate/agents-md/github.svg)](https://agentmods.dev/instructions/vima-tech/innate/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/vima-tech/innate/agents-md"><img src="https://agentmods.dev/badge/instructions/vima-tech/innate/agents-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 Innate AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vima-tech/innate/agents-md"><img src="https://agentmods.dev/badge/instructions/vima-tech/innate/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,811 This file is loaded in full into every session.
When invoked 6,811 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.06811 $0.06811
Opus 5.5 $0.02724 $0.02724
Sonnet 5.5 $0.01362 $0.01362
Haiku 4.5 $0.00681 $0.00681

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

Security

Grade B, and why

Innate AGENTS.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 1mo 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.

**Credentials are redacted at every entry and egress, not only on chunk writes** — `utils::redact_secrets` (keys: `sk-`/`AKIA`/`ghp_`, bearer tokens, labelled values incl. Chinese `密码是…`/`口令:…`) runs at `recall`/`record`
AGENTS.md · 293 lines

How it starts

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

AGENTS.md

This file is the single source of truth for AI coding agents (Claude Code, Codex, opencode, Gemini CLI, …) working in this repository. Tool-specific shells such as CLAUDE.md import this file via @AGENTS.md — keep all shared guidance here.

Editing rule (applies to all agents): Any request to "update / improve CLAUDE.md" or the project guidance means edit AGENTS.md. CLAUDE.md is a generated shell that only contains @AGENTS.md — never add real guidance to it. Other tool shells (GEMINI.md, etc.) follow the same rule.

Commands

# Build the binary
cd core && cargo build --release
# Binary: core/target/release/innate

# Run tests
cd core && cargo test

# Recall-quality eval suite (regression safety net for fused-score / ACT-R tuning)
cd core && cargo test --release eval -- --nocapture

# Run the CLI (after adding to PATH or using full path)
innate recall "query" --format json
innate inspect                      # includes llm_health — check it when distillation looks off
innate evolve --trigger manual

# KPI baseline vs now — "did the last change help?"
innate metrics snapshot             # pin a baseline
innate metrics delta --days 7       # baseline / current / delta table

# Start MCP server (for Claude Code / Claude Desktop integration)
innate mcp

# Daemon (Linux only) — background log/hook watcher
innate daemon start --watch /path/to/log/dir
innate daemon status
innate daemon stop

MCP Integration

Add to .claude/settings.json to enable MCP tools directly in Claude Code:

{
  "mcpServers": {
    "innate": {
      "command": "/path/to/core/target/release/innate",
      "args": ["mcp"]
    }
  }
}

Authoritative Design Reference

docs/Innate-设计文档-v0.1.9.md is the 编码基线 (latest; supersedes the v0.1.8 doc after the modular refactor). Every design decision references a section. When behavior is ambiguous, consult the doc first.

Schema 5.0 / v0.2.0 (living-knowledge model) changes how knowledge is born and matures; for those parts docs/Innate-活知识库重构-整体改进方案-v1.md (with its decision record §8) overrides v0.1.9. Summary: experience (episodes) and rules are separate; rules are born from episodes recurring across sessions (or an explicit nomination); a rule matures only on validated, transferable evidence; counterexamples suspend and revise it.

Read the full file on GitHub · 293 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. 1mo ago Changed · +41 lines · +2,245 tokens per session scan A → B 2b6fb83642a8
  2. 2mo ago First seen · 252 lines · 4,566 tokens per session scan A 09d207acd7a0

Subscribe to this mod's changes

Innate AGENTS.md is an instructions file published in the GitHub repository vima-tech/Innate (2 stars, last pushed 16d ago), licensed MIT. It adds 6,811 tokens to every session, about $0.0272 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

Other instructions, from other repositories

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 · 9,715 tokens

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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens