infynon-cli CLAUDE.md

infynon-cli CLAUDE.md is an instructions file for coding agents from d4rkNinja/infynon-cli. It costs 700 tokens per session, scanned A, original, MIT.

Repository instructions for infynon-cli, a command-line application written mainly in Rust with a React web interface built into it. They describe the project layout, build and test commands, and development conventions.

In plain words
What is it for?
Use them when modifying the Rust command-line tool, its embedded web interface, documentation, packaging wrappers, or related build scripts.
Why use it?
They help a coding agent understand where different parts belong and how to build, test, lint, type-check, and run the application correctly.

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/d4rkninja/infynon-cli/claude-md
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/infynon-cli

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 infynon-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/d4rkninja/infynon-cli/claude-md.svg)](https://agentmods.dev/instructions/d4rkninja/infynon-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/d4rkninja/infynon-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/d4rkninja/infynon-cli/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 700 This file is loaded in full into every session.
When invoked 700 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.00700 $0.00700
Opus 5 $0.00350 $0.00350
Sonnet 5 $0.00140 $0.00140
Haiku 4.5 $0.00070 $0.00070

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

Security

Grade A, and why

infynon-cli 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 5d 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 · 39 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

  • src/ contains the Rust CLI and product modules: cli/ for argument routing, api/ for Weave flows, trace/ for repo memory, engine/ for package scanning, tui/ for terminal UI, and web/ for the embedded web server.
  • front-layer/ is the Vite + React frontend that is built and embedded into the Rust binary at compile time.
  • docs/ holds command and feature guides. scripts/ contains install/build helpers. npm/ and go/ provide wrapper distribution targets.
  • Build-time embedding is controlled by build.rs; treat it as part of the app runtime path, not as optional tooling.

Build, Test, and Development Commands

  • cargo build builds the Rust CLI and triggers frontend embedding when needed.
  • cargo install --path . --force installs the local build onto the machine for real CLI testing.
  • cargo test runs Rust tests.
  • npm run build from front-layer/ builds the web UI bundle explicitly.
  • npm run lint and npm run typecheck from front-layer/ validate frontend code.
  • infynon --host 127.0.0.1 --port 4173 runs the bundled web server locally.

Coding Style & Naming Conventions

  • Use Rust idioms: snake_case for functions/modules, PascalCase for types, and small focused modules.
  • Keep frontend components in PascalCase files when they are app-level components; shared UI primitives follow the existing front-layer/src/components/ui/ naming.
  • For frontend feature work, prefer composing dedicated subcomponents instead of keeping large pages in a single file.
  • Use the existing shadcn UI primitives from front-layer/src/components/ui/ wherever possible instead of introducing ad-hoc replacements.
  • Do not add hardcoded colors in frontend code. Use theme tokens and semantic utility classes such as bg-card, text-muted-foreground, border-border, bg-primary, and related token-based variants.
  • Prefer ASCII source files. Match existing formatting; use cargo fmt only on files you intend to change.
  • Avoid path-dependent runtime behavior. New web/runtime features should work from any current working directory.

Read the full file on GitHub · 39 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. 5d ago First seen · 39 lines · 700 tokens per session scan A c6b2e497aa54

Subscribe to this mod's changes

infynon-cli CLAUDE.md is an instructions file published in the GitHub repository d4rkNinja/infynon-cli (8 stars, last pushed 3mo ago), licensed MIT. It adds 700 tokens to every session, about $0.0035 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.