agentrium: Command for Claude Code

.claude/commands/add-or-enhance-feature.md

add-or-enhance-feature is a command for Claude Code from talayash/agentrium. It costs 20 tokens per session (310 once invoked), scanned A, original, MIT.

A guided workflow for adding or improving features in a Tauri desktop application, covering its Rust backend and React frontend. It provides an editable sequence for understanding the code, making changes, checking them, and summarizing the result.

In plain words
What is it for?
Use it to plan changes to Rust IPC commands, React components, TypeScript hooks, Zustand state stores, and the application wiring that connects them.
Why use it?
It helps keep a cross-layer feature change focused when backend commands, user-interface components, hooks, or shared state all need updates. It also points to likely files and verification steps.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to talayash/agentrium. 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/talayash/agentrium/master/.claude/commands/add-or-enhance-feature.md
Clone the repo
git clone --depth 1 https://github.com/talayash/agentrium

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 add-or-enhance-feature

README.md
[![agentmods](https://agentmods.dev/badge/commands/talayash/agentrium/add-or-enhance-feature.svg)](https://agentmods.dev/commands/talayash/agentrium/add-or-enhance-feature)
Your own site
<a href="https://agentmods.dev/commands/talayash/agentrium/add-or-enhance-feature"><img src="https://agentmods.dev/badge/commands/talayash/agentrium/add-or-enhance-feature.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 310 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.00020 $0.00310
Opus 5 $0.00010 $0.00155
Sonnet 5 $0.00004 $0.00062
Haiku 4.5 $0.00002 $0.00031

Measured 8d ago against content hash 641fd3e788b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

add-or-enhance-feature 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 8d 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/commands/add-or-enhance-feature.md · 42 lines

What it actually says

/add-or-enhance-feature

Use this workflow when working on add-or-enhance-feature in claude-terminal.

Goal

Implements a new feature or enhances an existing one, touching backend (Rust IPC), frontend components, and state stores.

Common Files

  • src-tauri/src/commands.rs
  • src-tauri/src/main.rs
  • src-tauri/src/database.rs
  • src-tauri/src/terminal.rs
  • src/components/*.tsx
  • src/hooks/*.ts

Suggested Sequence

  1. Understand the current state and failure mode before editing.
  2. Make the smallest coherent change that satisfies the workflow goal.
  3. Run the most relevant verification for touched files.
  4. Summarize what changed and what still needs review.

Typical Commit Signals

  • Add or update Rust IPC command(s) in src-tauri/src/commands.rs and possibly other backend files
  • Add or update frontend React components in src/components/
  • Update or create hooks in src/hooks/ if needed
  • Update or create state stores in src/store/
  • Wire up new UI in src/App.tsx or relevant container

Notes

  • Treat this as a scaffold, not a hard-coded script.
  • Update the command if the workflow evolves materially.
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. 8d ago First seen · 42 lines · 20 tokens per session scan A 641fd3e788b8

Subscribe to this mod's changes

add-or-enhance-feature is a command published in the GitHub repository talayash/agentrium (40 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 310 once invoked, about $0.0001 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.