Ruvyxa AGENTS.md

Ruvyxa AGENTS.md is an instructions file for Codex, OpenCode from thirawat27/Ruvyxa. It costs 11,843 tokens per session, scanned A, original, Apache-2.0.

An agent guide for Ruvyxa, a framework stored in a monorepo—a single repository containing several related components. It explains where the Rust workspace, command-line tool, bundler, development server, routes, and other systems live.

In plain words
What is it for?
Use it when changing Ruvyxa commands, Rust crates, TypeScript or JSX compilation, routing, the development server, hot reloading, caching, or related framework behavior.
Why use it?
It helps an agent find the correct part of a large codebase and follow the repository’s rules, including how child processes communicate and how caching works.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.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/thirawat27/ruvyxa/agents-md
Clone the repo
git clone --depth 1 https://github.com/thirawat27/Ruvyxa

Made for: 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 Ruvyxa AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thirawat27/ruvyxa/agents-md.svg)](https://agentmods.dev/instructions/thirawat27/ruvyxa/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/thirawat27/ruvyxa/agents-md"><img src="https://agentmods.dev/badge/instructions/thirawat27/ruvyxa/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,843 This file is loaded in full into every session.
When invoked 11,843 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.1 $0.11843 $0.11843
Opus 5 $0.05921 $0.05921
Sonnet 5 $0.02369 $0.02369
Haiku 4.5 $0.01184 $0.01184

Measured today against content hash 63f370be6987, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Ruvyxa AGENTS.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 today.

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.

AGENTS.md · 596 lines

How it starts

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

Ruvyxa Monorepo Agent Guide

You are working in the Ruvyxa framework monorepo. Treat this file as the source of truth for agent work in the repository.

Repository Shape

  • crates/ contains the Rust workspace.
  • crates/ruvyxa_cli owns the Ruvyxa CLI commands: dev, build, check, start, preview, routes, analyze, adds, doctor, clean, trace, bench, test:parity, and plugin create. The Command enum in crates/ruvyxa_cli/src/main.rs is the list; nothing else enumerates them.
  • crates/ruvyxa_bundler owns TypeScript/JSX compilation, module resolution, linking, minification, source maps, and server/client boundary checks.
  • crates/ruvyxa_dev_server owns Axum serving, HMR, render cache, router, worker pool, style collection, and action/API/client endpoints. Its lib.rs is the crate root — configuration, serve, the router table, and the request path for project pages and API routes. Handlers for the reserved /__ruvyxa/* paths live in framework_endpoints.rs, the WebSockets in realtime_endpoints.rs, and the development file watcher in watcher.rs. Add a new framework endpoint to framework_endpoints.rs and its route to the table in lib.rs, not to lib.rs alone; the conformance test there checks the two agree.
  • crates/ruvyxa_graph owns file-system route discovery, validation, rendering strategy detection, and route manifests. It depends on ruvyxa_bundler for one reason: route validation reuses the bundler's source scanner rather than running a second text scan that could disagree.
  • crates/ruvyxa_middleware owns the Tower layer stack — CORS, rate limiting, request logging, response timing, custom headers, client-IP resolution — and the TypeScript plugin host. Its crate docs carry the contract shared by every rate limiter in the workspace; read it before adding a fifth.
  • crates/ruvyxa_diagnostics owns error codes, Result, and the path helpers every other crate agrees on (normalized_canonical_path in particular — see the Windows note under Change Guidance). crates/ruvyxa_tui owns terminal layout, spinners, progress, the mascot, the command header and success banner, the colour roles, and the decorative gradients. cargo run -p ruvyxa_tui --example preview draws every one of those surfaces in one screen, which is the only way to see the animated ones without rebuilding an application.
  • packages/ contains the npm packages:
    • ruvyxa — the framework package. runtime/*.mjs are the modules the Rust CLI resolves by path and spawns or imports; src/plugins/ is the first-party plugin API behind the plugins.ts barrel; packages/ruvyxa/scripts/sync-shared-runtime.mjs regenerates the committed copies of shared modules.
    • create-ruvyxa — the scaffolder. Its template/ directory holds a generated copy of every starter, not just minimal.
    • @ruvyxa/core — primitives both the Rust host and a deployed build need: route-match, origin-policy, the standalone server, shared server utilities.
    • @ruvyxa/react — the client router, not-found, and the React-facing surface.
    • @ruvyxa/auth, @ruvyxa/database, @ruvyxa/realtime, @ruvyxa/testing — optional integrations.
    • @ruvyxa/adapter-* — eleven deploy adapters; @ruvyxa/cli-* — five prebuilt CLI binaries.
  • examples/demo/ is the broad integration fixture, and it is deployable — RUV2213 is gone, along with the refusal of a dynamic server-components route. A failure there is usually a question about the feature rather than about the emitted server, which is what the smoke fixture is for.
  • examples/deploy-smoke/ is the smallest application every self-hosted adapter can deploy, and is what CI builds and then launches on real Node, Bun, and Deno through scripts/smoke-runtime-adapter.mjs. Keep it deployable: a route or feature no adapter supports belongs in the demo instead. /rsc there is a dynamic server-components route on purpose — a pre-rendered one proves nothing about a deployment, because its payload is already in the file the adapter copies and no renderer runs.
  • templates/ holds five scaffolds — minimal, blog, crud, api, plugin. templates/minimal/ is what create-ruvyxa copies into a new project. packages/create-ruvyxa/template/ is generated, not committed: it is gitignored, and packages/create-ruvyxa/scripts/prepare-template.mjs deletes and rebuilds it from templates/* on prepack, renaming .gitignore to gitignore because npm strips a packaged dotfile. Edit templates/; never that copy, and never add a second mechanism to keep the two in step — this file used to say scripts/check-template-mirrors.mjs did, and it does not. That script holds one genuinely hand-maintained pair: ruvyxa-runner.tsx in the template and in examples/demo, so the fixture exercises what a scaffolded project ships with. pnpm release:validate fails on drift there.

Read the full file on GitHub · 596 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. today Changed · +14 lines · +302 tokens per session 63f370be6987
  2. 6d ago First seen · 582 lines · 11,541 tokens per session scan A 66683a5aa9b3

Subscribe to this mod's changes

Ruvyxa AGENTS.md is an instructions file published in the GitHub repository thirawat27/Ruvyxa (20 stars, last pushed today), licensed Apache-2.0. It adds 11,843 tokens to every session, about $0.0592 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.