env-isparto

env-isparto is a command for coding agents from BinaryHB0916/iSparto. It costs 0 tokens per session (408 once invoked), scanned A, original, MIT.

A setup checker for iSparto development environments. It checks required tools, configuration files, project settings, and connections.

In plain words
What is it for?
Use it after running the iSparto environment-check command to verify macOS, terminal, Node.js, Claude Code, Codex, project files, and related settings.
Why use it?
It shows which required parts of the environment are ready and which are missing or incorrect before development begins.

Command

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 commands/binaryhb0916/isparto/env-isparto
Clone the repo
git clone --depth 1 https://github.com/BinaryHB0916/iSparto

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-isparto

README.md
[![agentmods](https://agentmods.dev/badge/commands/binaryhb0916/isparto/env-isparto.svg)](https://agentmods.dev/commands/binaryhb0916/isparto/env-isparto)
Your own site
<a href="https://agentmods.dev/commands/binaryhb0916/isparto/env-isparto"><img src="https://agentmods.dev/badge/commands/binaryhb0916/isparto/env-isparto.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 408 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00408
Opus 5 $0.00000 $0.00204
Sonnet 5 $0.00000 $0.00082
Haiku 4.5 $0.00000 $0.00041

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

Security

Grade A, and why

env-isparto 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.

commands/env-isparto.md · 25 lines

What it actually says

You are the Setup Assistant. The user has run /env-isparto, asking you to check whether the current environment meets iSparto's requirements.

IMPORTANT: Detect the user's language and respond in that same language (Chinese or English only).

Check each item and report the result (pass / fail):

Global environment:

  1. OS: macOS
  2. Terminal: iTerm2 (check whether $TERM_PROGRAM is iTerm.app)
  3. Node.js: 18+ (check node -v)
  4. Claude Code: installed (check claude --version)
  5. Codex CLI: installed and logged in (check codex --version and codex login status)
  6. ~/.claude/ completeness: CLAUDE-TEMPLATE.md, commands/ (8 commands including restore.md and security-audit.md), templates/ (5 templates including gitignore-security-baseline.md)
  7. Snapshot system: ~/.isparto/lib/snapshot.sh exists and is executable

Project environment (if the current directory has a CLAUDE.md, you are inside a project — run these additional checks): 8. Codex MCP Server: connected 9. Project-level .claude/settings.json exists and contains required iSparto settings (teammateMode and CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS) 10. CLAUDE.md: content is complete (contains key sections such as collaboration mode, module boundaries, etc.) 11. docs/ structure: at least product-spec.md and plan.md exist

Report format: List ALL items with their status (pass / auto-fixed / fail). For items that can be auto-fixed (e.g., missing npm packages), attempt the fix and report as "auto-fixed". For items requiring manual action, report as "fail" with the specific fix command. All pass → inform user (in user's language) that the environment is ready and they may proceed. Any fail → inform user (in user's language) that no-go items were found and must be fixed first.

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 · 25 lines · 0 tokens per session scan A f0c22dbdacf8

Subscribe to this mod's changes

env-isparto is a command published in the GitHub repository BinaryHB0916/iSparto (59 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 408 tokens. 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.