fetchira CLAUDE.md

Developer instructions for Fetchira, a Rust desktop application built with Tauri, a framework that combines a web interface with native code.

In plain words
What is it for?
They guide wallet-related changes, JWT handling, contract integrations, Tauri capabilities, error handling, and concise Conventional Commit messages.
Why use it?
They require changes to match the existing code closely and keep fixes small, while defining project rules for commits, Rust style, ownership, borrowing, and errors.

Instructions file

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/immunefomo/fetchira/claude-md
Clone the repo
git clone --depth 1 https://github.com/ImmuneFOMO/fetchira
Per session 1,321 This file is loaded in full into every session.
When invoked 1,321 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.01321 $0.01321
Opus 5 $0.00660 $0.00660
Sonnet 5 $0.00264 $0.00264
Haiku 4.5 $0.00132 $0.00132

Measured 3d ago against content hash cae7c9d569cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fetchira CLAUDE.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 3d 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.md · 81 lines

How it starts

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

Commit Messages

Use Conventional Commits with short subject line only. No body, no footers, no explanations. Good examples:

  • fix(wallet): refresh JWT after setup completes
  • feat(wallet): cut over to type-3 deposit wallet contract
  • refactor(commands): simplify error mapping for deposits
  • chore(tauri): update capability for filesystem access

Never write long commit bodies or "This change does X because...".

Core Philosophy — Write Code That Looks Human

  • Match existing code 1:1 — Before touching any file, read the surrounding functions and module. Copy naming, style, error patterns, and level of abstraction exactly. Do not "improve" the local style.
  • Minimal viable solution — Solve the task with the smallest amount of code possible. No extra abstractions, traits, newtypes, builder patterns, or "future-proofing" unless there is a clear, immediate reduction in duplication or readability win in this exact context.
  • Avoid churny refactors — Never introduce a one-use temporary variable just to name it before passing it on. Keep the expression inline unless the name carries real domain meaning or eliminates real duplication.
  • Be slightly lazy where it makes sense — If the surrounding code is concise and works, match it. Don't add ceremony that isn't already present.
  • Comments:
    • Never comment what the code does (code should be self-documenting).
    • Only comment why — a non-obvious business reason, important trade-off, or invariant the type system doesn't enforce.
    • No emojis. No corporate fluff ("leverage", "utilize", "robustly", "seamlessly", "best practice", etc.).
  • After writing code — Re-read the changed functions. Remove any defensive checks, clones, or unwraps that are now guaranteed safe by the caller or surrounding invariants.
  • Naming — Use the short, domain-specific names already established in the project (e.g. tx, addr, bal, wallet). Never default to generic names like data, result, item, processed, response, value, obj, entity, etc.

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 1,321 tokens per session scan A cae7c9d569cd

Subscribe to this mod's changes

fetchira CLAUDE.md is an instructions file published in the GitHub repository ImmuneFOMO/fetchira (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,321 tokens to every session, about $0.0066 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-31.