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.
npx agentmods add commands/omrikais/cctally/updategit clone --depth 1 https://github.com/omrikais/cctallyWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.03554 |
| Opus 5 | $0.00000 | $0.01777 |
| Sonnet 5 | $0.00000 | $0.00711 |
| Haiku 4.5 | $0.00000 | $0.00355 |
Grade A, and why
update 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cctally update
Self-update cctally for npm and Homebrew installs. Detects the install
method by realpath(sys.argv[0]), fetches the latest version from the
matching upstream (npm registry for npm; the Homebrew formula raw blob
for brew), and runs the right install command — brew update --quiet && brew upgrade cctally or npm install -g cctally@latest — with live
output streamed to the terminal (CLI) or modal (dashboard). Source / dev
installs are detected as unknown and fall through to a manual recipe.
Synopsis
cctally update [--check | --skip [VERSION] | --remind-later [DAYS]]
[--version X.Y.Z]
[--dry-run]
[--force]
[--json]
The three mode flags (--check, --skip, --remind-later) are mutually
exclusive. With none set, the default mode is install.
Description
cctally update is a thin wrapper around the install method's own
upgrade command. It does not bundle its own download or PGP-verify step
— brew and npm already enforce their package integrity. What it
adds:
- Install-method detection from
realpath(sys.argv[0]). Brew matches on/Cellar/cctally/(Apple Silicon, Intel, and Linuxbrew all funnel through that path); npm matches vianpm prefix -gplus a<prefix>/lib/node_modules/cctally/prefix check. Anything else isunknown. Detection is path-only, no subprocess probes — adds zero latency. - Auto-suggest banner. When a newer version is cached in
update-state.json, a one-line banner prints to stderr after the main command's output:↑ cctally 1.7.2 available (you're on 1.5.0). Run \cctally update`. Skip: cctally update --skip 1.7.2. Suppressed in the same machine-readable contexts as the migration banner (--json,--status-line,--format, non-tty stderr, and a fixed list of hot hot-path commands likerecord-usage,hook-tick,dashboard`). - Dashboard integration. The dashboard renders an amber
Update availablebadge in the header when a new version is cached, with a modal that streams live subprocess output during install via SSE. The modal survives theos.execvpthat restarts the dashboard server post-install — the React SSE consumer auto-reconnects to the new server's/api/eventsand/api/update/stream/<run_id>channels. - Dismissal semantics.
--skip [VERSION]appends to a per-version ignore list (default = the latest cached version);--remind-later [DAYS]defers the banner for N days (default 7, range[1, 365]). Both write toupdate-suppress.json. A newer version landing overrides any active remind-later window. - Source-install fallback. When detection returns
unknown(git clone+bin/symlinkinstall, dev worktree, etc.),--checkand install both print the manual recipecd <repo> && git pull && bin/symlinkand exit cleanly (--checkexit 0; install exit 1).
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.
- 2d ago First seen · 243 lines · 0 tokens per session scan A 880dc7a365e1
update is a command published in the GitHub repository omrikais/cctally (5 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,554 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-31.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.