tokenbending

tokenbending is a skill for Claude Code, Codex from tokenbender/agent-guides. It costs 59 tokens per session (1,336 once invoked), scanned A, original, Apache-2.0.

A method for planning and recording experiments by separating fixed operating rules from the variables that define the experiment.

In plain words
What is it for?
It helps document experiment runs, commands, configurations, results, artifacts, separate commits, and follow-up work across projects.
Why use it?
It makes experiments easier to track, review, verify, and continue without leaving temporary fixes or unresolved risks hidden.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps document experiment runs, commands, configurations, results, artifacts, separate commits, and follow-up work across projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tokenbender/agent-guides/tokenbending
Install

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.

Any agent
npx skills add tokenbender/agent-guides --skill tokenbending
Clone the repo
git clone --depth 1 https://github.com/tokenbender/agent-guides

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tokenbending

README.md
[![agentmods](https://agentmods.dev/badge/skills/tokenbender/agent-guides/tokenbending/github.svg)](https://agentmods.dev/skills/tokenbender/agent-guides/tokenbending)
Your own site
<a href="https://agentmods.dev/skills/tokenbender/agent-guides/tokenbending"><img src="https://agentmods.dev/badge/skills/tokenbender/agent-guides/tokenbending/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tokenbending

Your own site · 80×15
<a href="https://agentmods.dev/skills/tokenbender/agent-guides/tokenbending"><img src="https://agentmods.dev/badge/skills/tokenbender/agent-guides/tokenbending.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,336 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01336
Opus 5.5 $0.00024 $0.00534
Sonnet 5.5 $0.00012 $0.00267
Haiku 4.5 $0.00006 $0.00134

Measured 1mo ago against content hash 678282877b0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tokenbending 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 1mo 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.

claude-skills/tokenbending/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Yes. Examples would make it much more usable because they turn the rule from taste into a decision boundary.

Deterministic Rules With Examples

Use the project's canonical tracking surface as the experiment log. Example: If the project uses GitHub issues, update the issue when a run starts, when a stage completes, when a failure occurs, and when artifacts are uploaded. Example: If the project uses a lab notebook or runs/README.md, append the command, config, result summary, and artifact path there.

Keep changes atomic and reviewable. Example: Commit "add experiment spec" separately from "fix distributed launcher." Example: Do not mix README cleanup, runner code, and generated data into one commit.

Verify before reporting completion. Example: Do not say "uploaded" until the destination lists the expected files. Example: Do not say "training is distributed" until process/GPU state or logs confirm multiple workers.

Do not leave hanging work implicit. Example: If a temporary compatibility endpoint, migration alias, fallback script, manual workaround, unresolved verification, or cleanup step remains, create or link a follow-up issue before calling the work done. Example: Do not write "follow-up: none" when any known duct tape, residual risk, or future cleanup still exists; make the remaining work durable in the project's tracking surface.

Preserve reproducible state before deleting compute resources. Example: Upload configs, logs, checkpoints, summaries, and command history before terminating a pod. Example: If upload fails, keep the machine alive or create a smaller fallback bundle before cleanup.

Do not upload secrets, tokens, caches, or third-party base assets unless explicitly authorized. Example: Upload adapter weights and run logs, but exclude API keys and model cache directories. Example: Preserve a manifest saying which external base model must be re-downloaded instead of copying the full base model.

Clean up costly resources after preservation is verified. Example: Delete an experiment VM after artifact upload is listed and checksummed. Example: Leave unrelated shared infrastructure alone unless the user asked to clean it too.

If the user says stop at first failure, stop at the first substantive failure. Example: A syntax check failure means stop, report it, and do not launch the long run. Example: If stage 2 crashes after stage 1 succeeds, preserve stage 1 outputs and do not proceed to stage 3.

Honor exact named constraints. Example: If the user specifies a particular GPU type, verify the actual GPU model before running. Example: If the user specifies a held-out dataset, do not silently swap in a convenient alternative.

Prefer resumability. Example: Save the exact command line, config, environment notes, logs, and output manifest. Example: Make the artifact bundle sufficient for a new machine to continue from the last valid checkpoint.

Gate paid or long accelerator runs with a full-load profile smoke. Example: Before launching full training on paid GPU/TPU compute, sweep the viable batch, gradient accumulation, packing, compile, checkpointing, and logging settings on a realistic smoke run; record step time, tokens/sec, memory, estimated MFU, and the chosen profile. Example: Do not spend the full run on a low-utilization profile unless the user explicitly accepts the efficiency tradeoff or the controlled experiment forbids changing the profile.

Fuzzy Clarification Rules With Examples

Clarify the exact research question when ambiguous. Example: "Are we testing whether the smaller subsystem alone performs the task, or whether the full system works after replacing that subsystem?" Example: "Is the goal best absolute score, smallest viable subsystem, or a clean comparison to a prior method?"

Clarify fixed variables versus allowed variables. Example: "Should dataset, model, metric, and evaluation mode stay fixed while only the training method changes?" Example: "Can I change batch size and launcher details for stability, or are those part of the controlled experiment?"

Read the full file on GitHub · 105 lines

Changes

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.

  1. 1mo ago First seen · 105 lines · 59 tokens per session scan A 678282877b0b

Subscribe to this mod's changes

tokenbending is a skill published in the GitHub repository tokenbender/agent-guides (367 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,336 once invoked, about $0.0002 per session on Opus 5.5. 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-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

phylogenetics

Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein…

K-Dense-AI/scientific-agent-skills · 71 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

presenting-conference-talks

Generates conference presentation slides (Beamer LaTeX PDF and editable PPTX) from a compiled paper with speaker notes and talk script. Use when preparing oral talks, spotlight presentations, or invited talks for ML and systems conferences.

Orchestra-Research/AI-Research-SKILLs · 53 tokens