corvus CLAUDE.md

corvus CLAUDE.md is an instructions file for Claude Code from Ambar-Gupta22/corvus. It costs 4,253 tokens per session, scanned C, original, MIT.

Repository guidance for Corvus, an offline-capable C++17 runtime for building AI agents inside applications such as robots, games, drones, and trading systems. It explains the project's goals, design priorities, and reference documents.

In plain words
What is it for?
Use it when planning or implementing changes in the Corvus C++ codebase, especially changes involving its agent runtime, CMake integration, offline operation, or MCP support.
Why use it?
It gives coding agents and developers the project context they need before making substantial changes. This reduces misunderstandings about the library's purpose, naming, and intended users.

Instructions file for Claude Code

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

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/ambar-gupta22/corvus/claude-md
Clone the repo
git clone --depth 1 https://github.com/Ambar-Gupta22/corvus

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ambar-gupta22/corvus/claude-md.svg)](https://agentmods.dev/instructions/ambar-gupta22/corvus/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ambar-gupta22/corvus/claude-md"><img src="https://agentmods.dev/badge/instructions/ambar-gupta22/corvus/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,253 This file is loaded in full into every session.
When invoked 4,253 The same file — it is already loaded in full.
Security scan C 1 finding. 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.1 $0.04253 $0.04253
Opus 5 $0.02126 $0.02126
Sonnet 5 $0.00851 $0.00851
Haiku 4.5 $0.00425 $0.00425

Measured 6d ago against content hash 6d0a06e89fb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

corvus CLAUDE.md scanned grade C 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 6d 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.

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

9. **Built-in tools — phasing + safety.** Ship by dependency + blast radius, not all at once: **Calculator + guarded HttpRequest** (Phase 1), **jailed File I/O** (Phase 2), **guarded Shell** (Phase 4, with RBAC). **WebSe
CLAUDE.md · 142 lines

How it starts

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

CLAUDE.md — corvus

Guidance for AI assistants (and humans) working in this repo. Read this first.

What this project is

corvus — an in-process, offline-capable, low-latency AI agent runtime for C++. Think "LangChain, but native C++17" — except the real moat is local-first + embeddable + MCP-native, not API mimicry.

Positioning (lead with the capability, not the imitation): An agent runtime that runs where Python can't — ROS2 nodes, game threads, drones, trading loops — and speaks MCP so it works with the existing tool ecosystem on day one.

  • corvus is the working name (namespace corvus, #include <corvus/corvus.h>, CMake target corvus::corvus). Final public name still TBD.
  • "Jarvis" is reserved for a later demo assistant built on top — NOT the library.

Goals

  1. Genuinely useful, elite (top-1%) open-source contribution for C++ developers who have no LangChain equivalent.
  2. Serve: ROS2 robotics, game dev (Unreal), edge/embedded (RPi/Jetson/drones), HFT/low-latency, systems programmers.
  3. Earn adoption via a real problem solved obviously: 12-line quickstart, offline demos, MCP ecosystem, clean CMake integration.

Three differentiators (folded into the design)

  1. MCP-native client — use thousands of existing MCP servers as tools; solves ecosystem cold-start.
  2. Native tool-calling + GBNF — provider tool-use JSON schemas for cloud; grammar-constrained JSON for local llama.cpp models. (ReAct is a fallback, not the default.)
  3. Async + streaming + cancellation — non-blocking runAsync, token streaming, CancelToken. Required for ROS2/game targets (a blocking loop would stall them).

Source-of-truth docs (read before large changes)

Read the full file on GitHub · 142 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. 6d ago First seen · 142 lines · 4,253 tokens per session scan C 6d0a06e89fb8

Subscribe to this mod's changes

corvus CLAUDE.md is an instructions file published in the GitHub repository Ambar-Gupta22/corvus (5 stars, last pushed 1mo ago), licensed MIT. It adds 4,253 tokens to every session, about $0.0213 per session on Opus 5. A static security scan graded it C with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.