luvus AGENTS.md

Repository instructions for coding agents working on Luvus, a tool that organizes AI coding agents, terminals, and workspaces. They define how agents should inspect the current code and understand the project before making changes.

In plain words
What is it for?
They guide agents through repository checks, command discovery, documentation lookup, architecture, and safe development practices.
Why use it?
They reduce the risk of relying on outdated notes, overwriting unrelated work, or changing code without checking its tests and documented behavior.

Instructions file for CodexOpenCode

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/rizriyz/luvus/agents-md
Clone the repo
git clone --depth 1 https://github.com/RizRiyz/luvus

Made for: Codex, OpenCode.

Per session 3,991 This file is loaded in full into every session.
When invoked 3,991 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 $0.03991 $0.03991
Opus 5 $0.01996 $0.01996
Sonnet 5 $0.00798 $0.00798
Haiku 4.5 $0.00399 $0.00399

Measured yesterday against content hash 76b04141a9f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

luvus 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 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.

AGENTS.md · 360 lines

How it starts

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

AGENTS.md

Shared maintainer guidance for coding agents working in the Luvus repository. This file is the repository-level source of truth. Tool-specific instruction files may add guidance, but they must not contradict it.

Start with current evidence

Luvus changes quickly. Before describing behavior or editing a subsystem:

  1. Check git status --short --branch and preserve every unrelated change.
  2. Inspect the current implementation and its focused tests.
  3. Use cargo run --quiet -- help all or src/cli.rs for the installed command surface.
  4. Use website/src/content/docs/ for public product documentation.
  5. Treat ignored files under docs/ as plans and historical handoffs, not as proof that a feature exists.

When remote state matters, compare the checkout with origin/main. Do not silently change branches, fetch, rebase, or rewrite the user's work merely to make the checkout match upstream.

Product model

Luvus is mission control for AI coding agents. It is a single Rust binary with several roles:

  • With no command, it starts or attaches a thin TUI client.
  • A detached server owns workspaces, tabs, panes, PTYs, terminal grids, agent state, persistence, modules, orchestration, API dispatch, and rendering.
  • CLI commands send bounded JSON requests to the selected server and exit.
  • Named sessions are independent server namespaces selected with --session <name> or session attach <name>.
  • --local is a monolithic development escape hatch.
  • --remote <host> attaches through an SSH byte bridge.

There are two local endpoints per server:

  • the newline-delimited JSON control API;
  • the binary client transport for input, full frames, frame diffs, clipboard, notifications, sound, detach, and shutdown messages.

Clients are disposable. The server is the single writer of application state. Detaching a client leaves panes alive. Stopping the server ends its live PTYs; the next server restores layout and resumes supported native agent sessions where possible.

Read the full file on GitHub · 360 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. yesterday First seen · 360 lines · 3,991 tokens per session scan A 76b04141a9f2

Subscribe to this mod's changes

luvus AGENTS.md is an instructions file published in the GitHub repository RizRiyz/luvus (596 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,991 tokens to every session, about $0.0200 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.

Related

Other instructions, from other repositories

herdr AGENTS.md

AGENTS.md instructions for herdrdev/herdr, covering herdr, scope and audience, universal project rules, principles and multiplicative performance paths.

herdrdev/herdr · 4,985 tokens

kungfu AGENTS.md

Instructions for kungfu-systems/kungfu, covering agents.md, start from the person's objective, rules that always apply, load bounded context before changing the repository and execute and verify through shifu.

kungfu-systems/kungfu · 1,532 tokens

jarvis-registry AGENTS.md

Instructions for ascending-llc/jarvis-registry, covering jarvis registry — agent guide, project overview, ⚠️ plan mode instructions ⚠️, my engineering preferences and 1. architecture review.

ascending-llc/jarvis-registry · 4,794 tokens

kungfu CLAUDE.md

Instructions for kungfu-systems/kungfu: Read and follow AGENTS.md before working in this repository. It routes both product use and contribution work to the repository sources of truth, including the requirement that development and build tasks enter through Shifu.

kungfu-systems/kungfu · 54 tokens

kungfu copilot-instructions.md

Instructions for kungfu-systems/kungfu: Read and follow AGENTS.md before proposing or running changes. It is the shared agent router for this repository, including the canonical Shifu development and build entrypoint.

kungfu-systems/kungfu · 45 tokens

beevibe CLAUDE.md

Instructions for beevibe-ai/beevibe, covering beevibe — claude code guide, monorepo structure, running locally, critical: @beevibe/core compiles to dist/ and restarting cleanly.

beevibe-ai/beevibe · 2,886 tokens