3 Commits

Author SHA1 Message Date
oleks e1e6711bfe Update repo URLs for claude-plugin- rename
All kotkan Claude Code plugin repos were renamed to carry the
claude-plugin- prefix, so repo == "claude-plugin-" + manifest name with
no exceptions. This updates the canonical URLs (plugin.json repository,
marketplace homepage, README install/clone lines, Home references).

Historical issue references of the form kotkan/<old-name>#N are left as
they are: Gitea keeps a redirect from the old repo name, so they still
resolve, and rewriting them across agent prompts and fixtures would be
churn with no functional gain.
2026-07-22 23:16:39 +03:00
oleks dbcdeb662f Add markdownlint config 2026-07-22 22:49:33 +03:00
oleks fb6056d996 Initial commit: token-budget plugin
cc-tokens: offline stdlib analyzer over ~/.claude/projects/**/*.jsonl.
Attributes spend by session/project/model/token-category and diagnoses
marathon sessions, bloated contexts, subagent fan-out and mid-session
model switching.

Handles the two transcript traps: one message spans many JSONL lines all
repeating the same message-level usage, and output_tokens are streaming
snapshots that must be maxed per (message.id, requestId). Validated
against ccusage on a full day to within 0.1%.

Skills split diagnosis (token-audit) from the two remediation levers:
session lifecycle (session-hygiene) and per-turn payload (context-diet).
2026-07-22 22:49:17 +03:00