Skip to content
Trazum

1.69.0

The agent's own bill

Added#

  • The agent's own bill — trazum from-claude-code. The 1.69 plan's arc: the thirty-ninth command turns the transcripts Claude Code already writes under ~/.claude/projects/ into a usage log, so profile, position, the gates and the web tab price the agent's sessions without instrumenting anything — and without reading what was said. The conversion (claudeCodeRecords in core, pure) takes model, timestamp, session id and the API's own usage object — the cache_creation TTL split included, which feeds the TTL-fit verdict directly — and nothing else: a fixture plants a secret in the message text, the cwd and the branch name, and the suite greps the entire output for each. Measured before designed: one API call is written as one line per content block (25,490 lines → 16,079 calls on a real session — counting lines overbills by a third), so records deduplicate by requestId keeping the last line; and a first run over a whole project found 311 calls whose lines differ only by counts growing — responses captured mid-stream — which the converter counts as streamed without alarm, reserving disagreements for what streaming cannot explain. The first draft alarmed on both; that was the message crying wolf about the norm. Everything collapsed or passed over is summarised on stderr, never silently. Along the way a guard hole closed: the README's command-count guard mapped number words only up to thirty-two, so every claim above it had been silently skipped since the thirty-third command — the table now reaches forty-four and the COMMAND_FLAGS parsers learned quoted, hyphenated keys, of which from-claude-code is the first. Both locales; project and plugin skills teach the pipe.

  • Trazum is a Claude Code plugin, from this repository. claude plugin marketplace add Davmunrey/Trazum then claude plugin install trazum@trazum installs the trazum skill and the MCP server together. The plugin's skill is derived, not duplicated: scripts/build-plugin-skill.mjs produces it from the project's own .claude/skills/trazum/SKILL.md with exactly two transforms — the invocation becomes npx -y @trazum/cli and the in-repo build section is replaced — and claude-plugin.test.js runs the same derivation and fails the build on any other difference, so a hand edit to the plugin copy cannot survive. The plugin manifest's version joins the manifests' lockstep (releasing.md updated), the marketplace card and the plugin describe themselves with one sentence held equal by the guard, and the MCP config reaches @trazum/mcp through the registry with no env block — there is no secret this server needs, and a committed env value is how a credential ends up in a marketplace. Submission to anthropics/claude-plugins-community goes through Anthropic's review form (direct PRs there are auto-closed); the repository is ready for it as it stands.

  • Three more vendored skills, eight repositories triaged. From mattpocock/skills (MIT): tdd (the red-green loop with tests worth keeping), diagnosing-bugs (a phased discipline for hard bugs) and writing-for-agents (how to write documents agents consume — the craft behind every SKILL.md in this directory). Its code-review skill stays out: its name collides with the harness's built-in /code-review, and vendored files are never edited here. The other seven repositories reviewed the same day (public-apis, apache/maka, volcengine/OpenViking, basecamp/omarchy, akitaonrails/ai-memory, block/buzz, anthropics/claude-plugins-community) carry no vendorable skill content that serves this repository — products, platforms and lists, orthogonal to a prompt-cost tool; claude-plugins-community is noted in VENDORED.md as a distribution channel for Trazum's own plugin, an owner's decision. All recorded with source commit and license in .agents/skills/VENDORED.md.

  • Three vendored skills, and the provenance said out loud. The agent skill set under .agents/skills/ grows karpathy-guidelines (behavioural guardrails against LLM over-engineering — surgical changes, simplicity first, verifiable success criteria; MIT, from multica-ai/andrej-karpathy-skills), plus ui-styling and design-system from nextlevelbuilder/ui-ux-pro-max-skill (MIT) — the two sub-skills that serve apps/web's actual stack (shadcn/radix + Tailwind, token architecture); the rest of that repository (Gemini logo generation, banners, slides, social photos) was deliberately left out as off-mission. A new .agents/skills/VENDORED.md records source repository, commit and license for what was added, verifies the already-vendored taste-skill family byte-identical against its upstream (twelve directories, zero drift), and names what was not done: an impeccable refresh, whose sanctioned path (npx impeccable update) this environment's permission policy blocked — a hand-assembled partial sync of an installer-generated layout would be worse than the drift.