cli CLAUDE.md

A set of repository instructions for the Entire command-line tool, a terminal program built with Go. It describes the project's architecture, directories, commands, agent integrations, checkpoints, sessions, and tests.

In plain words
What is it for?
It guides work on command implementations, agent support, strategy and checkpoint handling, session state, integration tests, and end-to-end tests.
Why use it?
It helps an agent understand where changes belong and how the CLI's commands and integrations are organized.

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/entireio/cli/claude-md
Clone the repo
git clone --depth 1 https://github.com/entireio/cli
Per session 25,563 This file is loaded in full into every session.
When invoked 25,563 The same file — it is already loaded in full.
Security scan A 1 finding. 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.25563 $0.25563
Opus 5 $0.12781 $0.12781
Sonnet 5 $0.05113 $0.05113
Haiku 4.5 $0.02556 $0.02556

Measured today against content hash 101221360d03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli CLAUDE.md scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`token` (prints the active control-plane bearer to stdout for scripting/curl;
CLAUDE.md · 1,460 lines

How it starts

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

Entire - CLI

This repo contains the CLI for Entire.

Architecture

  • CLI built with github.com/spf13/cobra and github.com/charmbracelet/huh

Key Directories

Commands (cmd/)

  • entire/: Main CLI entry point. Also home to kubectl-style external-command resolution (entire <name>entire-<name> on PATH) — see External Commands.
  • entire/cli: CLI utilities and helpers (Cobra commands, helpers, group roots)
  • entire/cli/commands: actual command implementations
  • entire/cli/agent: agent implementations (Claude Code, Gemini CLI, OpenCode, Cursor, Factory AI Droid, Copilot CLI, Pi) - see Agent Integration Checklist and Agent Implementation Guide
  • entire/cli/strategy: strategy implementation (manual-commit) - see section below
  • entire/cli/checkpoint: checkpoint storage abstractions (ephemeral and persistent)
  • entire/cli/session: session state management
  • entire/cli/integration_test: integration tests (simulated hooks)
  • e2e/: E2E tests with real agent calls (see e2e/README.md)

Command Layout

The visible CLI is organized around a set of noun groups plus a small set of top-level verbs. The groups are the canonical home for each verb. Newer experimental command families are discoverable through entire labs and their canonical paths are always runnable.

Experimental commands are gated by a build-time visibility flag (the cmd/entire/cli/experimental package): they are shown — grouped under an "Experimental commands:" help section — in developer and nightly builds, and hidden in stable release builds. Visibility is toggled by experimental.Visible (default "true"), which GoReleaser stamps "false" only on stable tags (.Prerelease empty); nightly (vX.Y.Z-nightly.*) and local builds leave it at the default. Register a command as experimental with experimental.Register(parent, child) instead of parent.AddCommand(child). Gating only controls visibility — the commands are always runnable in every build.

Read the full file on GitHub · 1,460 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. today Changed · +260 lines · +4,445 tokens per session 101221360d03
  2. 2d ago First seen · 1,200 lines · 21,118 tokens per session scan A 9ad42d18d095

Subscribe to this mod's changes

cli CLAUDE.md is an instructions file published in the GitHub repository entireio/cli (5,045 stars, last pushed today), licensed MIT. It adds 25,563 tokens to every session, about $0.1278 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.