env_var_inventory.ka

env_var_inventory.ka is an agent for Claude Code from hyperledger-iroha/iroha. It costs 0 tokens per session (21,706 once invoked), scanned A, a copy of env_var_inventory.am, Apache-2.0.

An inventory of environment variables found in a codebase, including where they are used in production, tests, or examples.

In plain words
What is it for?
It is for listing variable references and updating a JSON or Markdown record with an inventory script.
Why use it?
It makes scattered configuration switches easier to find and review during configuration cleanup or migration.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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 agents/hyperledger-iroha/iroha/env_var_inventory.ka
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

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 env_var_inventory.ka

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_inventory.ka.svg)](https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_inventory.ka)
Your own site
<a href="https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_inventory.ka"><img src="https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_inventory.ka.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 21,706 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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.00000 $0.21706
Opus 5 $0.00000 $0.10853
Sonnet 5 $0.00000 $0.04341
Haiku 4.5 $0.00000 $0.02171

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

Security

Grade A, and why

env_var_inventory.ka 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 4d 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.

Origin

This is a copy

92% identical to env_var_inventory.am — 1,268 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/source/agents/env_var_inventory.ka.md · 914 lines

How it starts

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

გარემოს გადართვის ინვენტარი

_ ბოლოს განახლდა python3 scripts/inventory_env_toggles.py --json docs/source/agents/env_var_inventory.json --md docs/source/agents/env_var_inventory.md_-ის მეშვეობით

სულ მითითებები: 505 · უნიკალური ცვლადები: 137

ACTIONS_ID_TOKEN_REQUEST_TOKEN (პროდუქტი: 1)

  • პროდ: crates/sorafs_orchestrator/src/bin/sorafs_cli.rs:313 — let request_token = env::var("ACTIONS_ID_TOKEN_REQUEST_TOKEN").map_err(|_| {

ACTIONS_ID_TOKEN_REQUEST_URL (პროდუქტი: 1)

  • პროდ: crates/sorafs_orchestrator/src/bin/sorafs_cli.rs:310 — let raw_url = env::var("ACTIONS_ID_TOKEN_REQUEST_URL").map_err(|_| {

BLOCK_DUMP_HEIGHTS (მაგალითი: 1)

  • მაგალითი: crates/iroha_core/examples/block_dump.rs:62 — let height_filter = env::var("BLOCK_DUMP_HEIGHTS").ok().map(|raw| {

BLOCK_DUMP_SUM_ASSET (მაგალითი: 1)

  • მაგალითი: crates/iroha_core/examples/block_dump.rs:51 — let sum_asset = env::var("BLOCK_DUMP_SUM_ASSET")

BLOCK_DUMP_VERBOSE (მაგალითი: 1)

  • მაგალითი: crates/iroha_core/examples/block_dump.rs:50 — let verbose = env::var("BLOCK_DUMP_VERBOSE").is_ok();

CARGO (პროდუქტი: 3, ტესტი: 2)

  • ტესტი: crates/iroha_test_network/src/lib.rs:1026 — let running_under_cargo = std::env::var_os("CARGO").is_some();
  • ტესტი: crates/sorafs_manifest/tests/provider_admission_fixtures.rs:11 — let mut cmd = Command::new(env::var("CARGO").unwrap_or_else(|_| "cargo".into()));
  • პროდუქტი: mochi/mochi-core/src/supervisor.rs:547 — let cargo = env::var_os("CARGO")
  • პროდ: mochi/mochi-core/src/supervisor.rs:602 — let cargo = env::var_os("CARGO")
  • პროდუქტი: mochi/mochi-core/src/supervisor.rs:656 — let cargo = env::var_os("CARGO")

CARGO_BIN_EXE_iroha (ტესტი: 2)

  • ტესტი: crates/iroha_cli/tests/cli_smoke.rs:40 — env!("CARGO_BIN_EXE_iroha")
  • ტესტი: crates/iroha_cli/tests/taikai_policy.rs:20 — env!("CARGO_BIN_EXE_iroha")

CARGO_BIN_EXE_iroha_monitor (ტესტი: 4)

  • ტესტი: crates/iroha_monitor/tests/attach_render.rs:11 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • ტესტი: crates/iroha_monitor/tests/http_limits.rs:10 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • ტესტი: crates/iroha_monitor/tests/invalid_credentials.rs:9 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • ტესტი: crates/iroha_monitor/tests/smoke.rs:9 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)

Read the full file on GitHub · 914 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. 4d ago First seen · 914 lines · 0 tokens per session scan A fc114145cb5a

Subscribe to this mod's changes

env_var_inventory.ka is an agent published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 21,706 tokens. A static security scan graded it A with 0 findings. It is 92% identical to env_var_inventory.am, differing in 1,268 lines, and is treated as a copy.