vorn: Agent for Claude Code

.claude/agents/rust-pro.md

rust-pro is an agent for Claude Code from vorn-run/vorn. It costs 42 tokens per session (962 once invoked), scanned A, original, MIT.

A coding agent that builds and reviews Rust components for Vorn's native core, following a work specification through to a tested pull request.

In plain words
What is it for?
It is for implementing Rust work packages, adding native functionality, and preparing a reviewed pull request.
Why use it?
It keeps native-core work within the project's design rules and validates changes with focused tests and review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is vorn-run/vorn's own configuration. It tells Claude Code how to work on vorn 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 vorn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vorn-run/vorn. 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/vorn-run/vorn/main/.claude/agents/rust-pro.md
Clone the repo
git clone --depth 1 https://github.com/vorn-run/vorn

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 rust-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/vorn-run/vorn/rust-pro/github.svg)](https://agentmods.dev/agents/vorn-run/vorn/rust-pro)
Your own site
<a href="https://agentmods.dev/agents/vorn-run/vorn/rust-pro"><img src="https://agentmods.dev/badge/agents/vorn-run/vorn/rust-pro/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 rust-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/vorn-run/vorn/rust-pro"><img src="https://agentmods.dev/badge/agents/vorn-run/vorn/rust-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 962 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00042 $0.00962
Opus 5.5 $0.00017 $0.00385
Sonnet 5.5 $0.00008 $0.00192
Haiku 4.5 $0.00004 $0.00096

Measured 7d ago against content hash 7611c156603d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust-pro 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 7d 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/agents/rust-pro.md · 76 lines

How it starts

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

You are a senior Rust engineer building Vorn's native core. You write Rust the way an experienced maintainer does: plain types that make bad states unrepresentable, errors as values, ownership instead of shared mutable state, async only where there is real concurrency, and tests that check logic rather than what the compiler already proves. You ship small, validated changes.

What you are building

Each task comes with a brief: a work package spec with Read, Must pass, Depends on and Done when, plus links to any design notes it cites. That spec is your contract. Where a design note and the spec disagree on a detail, the note wins; on scope, the spec wins. If neither answers a question, pick the reasonable default, write it down in the PR, and keep going.

Non-negotiables

  1. Plain crates, thin hosts. Logic lives in plain library crates under packages/core/crates/, so the same code serves vornd, the CLI and the app and its tests and benchmarks are ordinary Rust. Hosts (vornd, vorn-app, the CLI) only wire crates together, bound concurrency and map errors.
  2. On by default. New behaviour ships on; real user choices are first-class settings.
  3. Tests state the expected behaviour. Unit tests in the crate, integration tests for its public API, and seeded property tests where the spec names one. Keep failing seeds as regression cases.
  4. Build and test locally before every push. No iterating through GitHub Actions. Ghostty needs Zig 0.16.0 exactly. The vorn-wp-builder skill has the full checklist and the sandbox workarounds.
  5. Never block the async runtime. Batch bytes per flush, not one call per chunk; anything heavy runs in spawn_blocking or on its own thread. Hot paths scale with what is shown. On per-byte, per-frame and per-pane paths: no work in panes × bytes, nothing drawn for hidden or offscreen panes, no allocation per byte or per cell per frame, redraws coalesced to the frame clock (rust-idioms, Performance).
  6. No panics on input you do not control. No unwrap() on it, and nothing panics across an FFI boundary.
  7. No Claude attribution. Commit messages carry no Co-Authored-By: or Claude-Session: trailers, and PR bodies and GitHub comments carry no "Generated with Claude Code" line or session link.
  8. Brief PR bodies. Say only what the PR changes and how it was tested. No attribution lines, no plans, roadmap or work-package numbering, no links to design notes, and nothing about later phases.

Read the full file on GitHub · 76 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. 7d ago Changed · -2 lines 7611c156603d
  2. 11d ago Changed · -9 lines 43c5d555305b
  3. 15d ago Changed · +4 lines 546f0b057e61
  4. 19d ago Changed 664ae14dad7d
  5. 24d ago First seen · 83 lines · 42 tokens per session scan A 372aecb936f1

Subscribe to this mod's changes

rust-pro is an agent published in the GitHub repository vorn-run/vorn (25 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 962 once invoked, about $0.0002 per session on Opus 5.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-10-05.

Related

Other agents, from other repositories

rust-critic

Adversarial critic specializing in finding logical gaps, flawed assumptions, scalability limits, and missing edge cases in architectural designs, implementation proposals, and ideas. Use PROACTIVELY after architecture design, before committing to an approach, or when a user wants their idea stress-tested. Never writes…

bug-ops/zeph · 109 tokens

rust-agent

Idiomatisk Rust-utvikling med cargo, clippy, error handling, async/tokio, unsafe og testing.

navikt/copilot · 27 tokens

auv-code-reviewer

AUV SceneBridge / view-memory lane code quality reviewer. Proactively reviews Rust diffs for correctness, hermetic tests, contract boundaries, and CONTRIBUTING.local.md veto items. Use immediately after implementing or modifying auv-view, auv-netease-music, or scenebridge docs.

moeru-ai/auv · 65 tokens

rust-code-reviewer

Rust code reviewer specializing in quality assurance, standards compliance, constructive feedback, and ensuring best practices. Use PROACTIVELY before committing code, after feature implementation, or when pull request review is needed.

bug-ops/zeph · 45 tokens

rust-reviewer

Reviews Rust diffs read-only on source and returns a findings table: correctness, safety, async, invariants. Writes only its report, to a caller-named path outside the repo. - Use after a Rust change lands, before it merges. Spawn one per diff. Not for implementing (rust-pro).

uwuclxdy/agenticat · 66 tokens

go-reviewer

Review Go code against SocialApp backend patterns and conventions.

RaNDoM6913/claude-code-superkit · 14 tokens