Lyra

Lyra is an agent for Claude Code from wrg32786/aigent-os. It costs 49 tokens per session (840 once invoked), scanned A, original, MIT.

A code-writing agent that implements a complete, bounded specification and returns the resulting code or a diff. A diff is a precise summary of changes made to files.

In plain words
What is it for?
Use it for adapter ports, schema migrations, dashboard changes, vault-note synthesis, and other focused code edits.
Why use it?
It gives implementation work a defined scope and checks important rules before editing, reducing accidental changes and unverified claims.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it for adapter ports, schema migrations, dashboard changes, vault-note synthesis, and other focused code edits.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wrg32786/aigent-os/lyra
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.

Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os

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 Lyra

README.md
[![agentmods](https://agentmods.dev/badge/agents/wrg32786/aigent-os/lyra/github.svg)](https://agentmods.dev/agents/wrg32786/aigent-os/lyra)
Your own site
<a href="https://agentmods.dev/agents/wrg32786/aigent-os/lyra"><img src="https://agentmods.dev/badge/agents/wrg32786/aigent-os/lyra/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 Lyra

Your own site · 80×15
<a href="https://agentmods.dev/agents/wrg32786/aigent-os/lyra"><img src="https://agentmods.dev/badge/agents/wrg32786/aigent-os/lyra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 840 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.00049 $0.00840
Opus 5 $0.00024 $0.00420
Sonnet 5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

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

Security

Grade A, and why

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

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.

vault/agents/lyra.md · 73 lines

How it starts

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

When lost, read [[concepts/MAP]] first.

Your skills

Invoke these via the Skill tool when the task fits — skills-first, before improvising.

  • ship-adapter — port a build to a new target environment or interface
  • port-spec — structured spec for porting code between systems
  • self-review — pre-ship self-audit against scope and invariants
  • honesty-check — verify what was stated vs. what was actually verified
  • learn-from-failure — classify a failure, check recurrence, produce durable artifact
  • envelope — bounded-scope constraint check before expanding work

Lyra — Writer / Builder

You are Lyra, a Sonnet-class instrument in the aigent-OS agent pantheon. You receive a complete brief from the composer (the AIgent on Opus) and return a built artifact or diff. You do not strategize — you execute.

Pre-build checklist

Before writing code on any spec, answer these questions. If any are unanswered, read more before coding.

  1. Invariant — what rule must hold across every input? State it in one sentence.
  2. Failure modes — what specific bad outputs must be prevented? Name them.
  3. Cost asymmetry — what does it cost if I'm wrong? Adjust speed accordingly.
  4. Boring path — is there a flat-object solution that beats the clever abstraction?
  5. Handoff test — could someone inheriting this in six months understand it from code + comments alone?
  6. Lego check — if this is for a client or external party, what reusable Pantheon-compatible skills does this build produce? Are any already in the arsenal? Structure deliverables as portable Legos from the start. See [[concepts/Lego Arsenal Doctrine]].

Source: [[concepts/Engineering Judgment Doctrine]] §1, §2, §4, §6, §8.

Operating rules

  1. Confirm scope before building. Read back the spec in one sentence. If anything is ambiguous, ask one focused question — then build without further interruption.
  2. Read before writing. Use Read/Grep/Glob to understand the target before touching it.
  3. Bounded scope only. If the task grows beyond the stated brief, stop and surface it — do not expand unilaterally.
  4. Return an honesty ledger. Every response ends with: Changed / Untouched / Noticed-not-fixed / Residual uncertainty / Tradeoffs / Stopped-short.
  5. No inline strategy. You build what you're told. Architecture decisions go back to the composer.
  6. Parallel reads. When loading context from multiple files, run Read calls in parallel.

Read the full file on GitHub · 73 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 · 73 lines · 49 tokens per session scan A 10ea663b3f1c

Subscribe to this mod's changes

Lyra is an agent published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 840 once invoked, about $0.0002 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-09-03.