Tokenmaxxer logo

Tokenmaxxer

Community
arsenyinfo
tokenmaxxer

Serious engineering work behind a reviewed plan and adversarial review gates. The required first argument word picks the mode - `build`, `refactor`, `sweep`, or `experiment`. Invoke explicitly, e.g. `/tokenmaxxer refactor <component>`.

Overview

Publisherarsenyinfo
Repositoryskills
Skill nametokenmaxxer
Stars
29
Forks
1
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by arsenyinfo on GitHub. Read the source before you install it.

Installation

Install the Tokenmaxxer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/arsenyinfo/skills/tree/main/skills/tokenmaxxer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arsenyinfo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/tokenmaxxer .claude/skills/tokenmaxxer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Tokenmaxxer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Tokenmaxxer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Tokenmaxxer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Serious work mode. Task: $ARGUMENTS

Mode dispatch

The first word of $ARGUMENTS is the mode — required, never guessed, never part of the task. If it is not exactly one of the four below, say the keyword is required and ask which one. The keyword is a safety property: sweep opens PRs while the user is asleep, so it must never be reached by inference.

  • build <task> and refactor <component> → references/attended.md. Attended: the user is present, approves the plan, and settles the key decisions. refactor is build plus a behavior-preservation profile for one accreted component — omit the component to have one suggested from repo statistics; a codebase-wide rename or pattern migration is build.
  • sweep <area> → references/sweep.md. Unattended overnight cleanup shipping draft PRs. Never asks once launched; the named area, fixed at launch, is its consent boundary.
  • experiment <goal> → references/experiment.md. Metric-driven experimentation. Attended at the ends; autonomous mid-batch strictly under the approved hypothesis tree.

Load only your mode's file and never blend two modes' policies: attended modes pause and ask; sweep never does; experiment asks only at the ends. (The former followup mode is retired — recorded follow-ups are worked as ordinary build tasks.)

REVIEW — the cross-review primitive

REVIEW(target, reviewer) — resolve the reviewer once at launch via skill: second-opinion — its get_reviewer.sh <repo> picks the first available of nitpicker, codex, opencode and prints its invocation contract — follow it for every gate. An explicit user choice overrides the pick (pass it as the second argument). Then:

  1. Run the external reviewer on the target, adversarially: find the strongest reason this should not proceed, not reasons it is probably fine.
  2. Triage each finding, noting what you skip and why: blocker / P1 (wrong behavior, data loss, security, race, silently swallowed error) — fix always; major / P2 (maintainability or missing behavior coverage beyond one local spot) — fix this round; minor / P3 (local naming, style, structure) — fix only if already touching that code; cosmetic — skip. Skipped minors and cosmetics die with the round — at most one summary line, never a follow-up block.
  3. Repeat, max 5 rounds. A round yielding nothing actionable ends the loop. An open P1 always buys another round, and one still open at the cap keeps the gate closed until the mode's approver rules. Open P2s permit stopping — when another round has stopped earning its cost — but stopping is not a verdict on them: each is surfaced to the approver with a reason, never silently dropped.

The reviewer is external and independent — that is the entire point. Never degrade to self-review: if the reviewer is unavailable, stop and surface it (attended: ask the user to fix it; sweep: abort per its preflight; experiment mid-batch: stop the batch and report — a metric alone is not a gate). There are no internal gates on top — do not add subagent self-review rounds after the external one. Sweep fixes its reviewer at launch and experiment at plan approval — neither swaps mid-run.

Every REVIEW prompt asks for concrete file/line findings across these lenses:

  • correctness, security, performance, data loss, races, partial failure;
  • scope creep: unrelated changes, hidden behavior changes, extra features;
  • overengineering: pass-through wrappers, single-implementation interfaces, layer-cake delegation, future-proof hooks, fallback paths that hide errors. The posture the code moves toward: boring and explicit beats clever; closed sets as enums/newtypes rather than strings and bools (without growing footprint for type ceremony); validate at boundaries and convert to domain types early, no swallowed errors; abstractions pay rent immediately; minimal public surface, zero dead code;
  • tests: missing behavior coverage, untested error paths, mocks or monkeypatches of the system under test's own internals, assertions that pin prose or wording rather than behavior;
  • project fit: naming, error handling, logging, structure match the existing codebase and CLAUDE.md.

Triage before fixes

A bug-shaped task (failure, regression, flake, incident, unexplained behavior) gets evidence before theory: exact symptom → strongest available evidence (reproduction, logs, tests, git history) → smallest reliable reproduction → mechanism with file:line → root cause. No fix before the mechanism is established. Prefer observed evidence over code reading, code over history, history over docs, docs over memory; when a signal source is unavailable, say so — never invent ground truth. Use skill: investigate when it is installed and the triage needs deep or remote signals.

Deletion evidence

Nothing is deleted on a plausibility argument. Dead means: a callers search from the repository root covering tests, generated code, and string-name references (DI registries, serialized configs, migrations); a config-value search across environments; for migration-shaped candidates (v1/v2 pairs, compatibility shims, never-set flags) additionally git history — recent commits touching the item mean an in-flight migration, not dead weight; a "no traffic" claim cites a rollout/config source or telemetry, not a static search. Whatever looks dead but cannot be proven dead is a Chesterton's fence: listed for the user, never silently deleted.

Working doc

One doc per run at /tmp/tokenmaxxer-<repo-basename>-<mode>-<slug>-<YYYYMMDD-HHMM>.md. Find an existing doc by globbing /tmp/tokenmaxxer-<repo-basename>-* — never guess the name; never overwrite one (append -2 on a collision). Two parts, two disciplines.

State — the top of the doc: the human-readable plan and high-level overview, kept current by editing in place and deleting superseded content. Exactly these sections, never more — a mode's own records (sweep's report buckets and cluster contracts, experiment's ledger) are subsections of the fitting one:

# <mode> run — <slug>
base: <sha> · branch: <name> · scope: <...> · status: <...>
## Intent        — the approved contract: goal, inputs/outputs, acceptance criteria, scope boundaries
## Decisions     — one line per settled decision: what was chosen and why
## Tasks         — the checklist, [ ]/[x]
## Gates         — one line per REVIEW round: target, verdict, unresolved count
## Follow-ups    — admitted blocks only (below)
## Outcome       — what shipped, what didn't, where follow-ups went

No transcripts, superseded drafts, exploration dumps, or process narration in State — that lives below.

Log — everything under a ## Log heading at the bottom: an append-only journal, one timestamped entry per event — a review round with its findings and their fates, a commit, a decision as it happened, an escalation, a blocker. This is the run's recovery record: write what a cold restart of the run would need, with as much detail as that takes, here and nowhere else.

On resume (compaction, crash, new session): rebuild from State, then scan the Log tail. State outranks memory and the Log — an event isn't done until State reflects it. Build's trivial fast path opens no doc.

Follow-up blocks

A follow-up block is an admission the discussion missed something; the target volume is zero. Record one only when all four hold:

  1. verified — the defect is confirmed and its mechanism known, not speculated;
  2. outside current authority — acting on it needs a decision the approver owns (scope, behavior, contract, security);
  3. material — blocker or major; "chose not to touch it" does not qualify;
  4. actionable now — answering the question selects a concrete next action; "revisit if evidence appears" fails.

Anything failing the test dies with its review round or gets one summary line. A trade-off created by the current diff never becomes a block — it is resolved before that diff gate closes.

- sweep-key: <normalized-path>:<line-range>:<mechanism-slug>
  tier: blocker | major
  defect: <one line, with file:line>
  question: <the decision, answerable without re-reading the codebase, with a recommendation>
  status: open | done (<where it went>) | declined (<reason>)

Escalation

When implementation proves the approved scope, externally observable behavior beyond the approved intent, an API or data contract, or the acceptance criteria must change: stop and route it to the mode's approver — attended: a focused discussion with the user (attended.md); sweep: a needs-your-call entry in the run doc; experiment: a parked next-batch proposal. Never smuggle a contract change into a local fix.


Hold your own work to the REVIEW lenses — don't wait for review to catch what you can catch yourself. Temporary files go in /tmp.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Tokenmaxxer AI skill do?

Serious engineering work behind a reviewed plan and adversarial review gates. The required first argument word picks the mode - `build`, `refactor`, `sweep`, or `experiment`. Invoke explicitly, e.g. `/tokenmaxxer refactor <component>`.

Why use Tokenmaxxer on TypingMind?

Because you install it once and use it with any model. Tokenmaxxer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Tokenmaxxer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/arsenyinfo/skills/tree/main/skills/tokenmaxxer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Tokenmaxxer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Tokenmaxxer?

As many as you like. As long as a model supports skills, you can use Tokenmaxxer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Tokenmaxxer AI skill free?

It is published on GitHub by arsenyinfo. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇