Tokenmaxxer 标志

Tokenmaxxer

社区
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>`.

概览

发布者arsenyinfo
代码仓库skills
技能名称tokenmaxxer
星标数
29
复刻数
1
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 arsenyinfo 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Tokenmaxxer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/arsenyinfo/skills/tree/main/skills/tokenmaxxer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Tokenmaxxer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Tokenmaxxer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Tokenmaxxer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Tokenmaxxer AI 技能有什么作用?

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>`.

为什么在 TypingMind 中使用 Tokenmaxxer?

因为您只需安装一次,就能搭配任何模型使用。Tokenmaxxer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Tokenmaxxer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/arsenyinfo/skills/tree/main/skills/tokenmaxxer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Tokenmaxxer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Tokenmaxxer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Tokenmaxxer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Tokenmaxxer AI 技能免费吗?

arsenyinfo 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇