tinker-debug

tinker-debug is a skill for Claude Code, Codex from gvkhosla/pi-tinker. It costs 52 tokens per session (475 once invoked), scanned A, original, Apache-2.0.

A diagnostic guide for Tinker, a service for training and deploying machine-learning models. It checks common setup and runtime problems in Tinker training, rendering, and deployment.

In plain words
What is it for?
Use it to run `/tinker doctor`, check Python, package, model, and effort settings, and follow the Tinker Cookbook's troubleshooting guidance.
Why use it?
It gives agents a consistent starting point when training is slow, stuck, mismatched with vLLM or SGLang, or failing with unclear errors.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gvkhosla/pi-tinker/tinker-debug
Any agent
npx skills add gvkhosla/pi-tinker --skill tinker-debug
Clone the repo
git clone --depth 1 https://github.com/gvkhosla/pi-tinker

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 tinker-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/gvkhosla/pi-tinker/tinker-debug.svg)](https://agentmods.dev/skills/gvkhosla/pi-tinker/tinker-debug)
Your own site
<a href="https://agentmods.dev/skills/gvkhosla/pi-tinker/tinker-debug"><img src="https://agentmods.dev/badge/skills/gvkhosla/pi-tinker/tinker-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.00475
Opus 5 $0.00026 $0.00237
Sonnet 5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 4d ago against content hash c1b7a3f3d297, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tinker-debug 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 4d 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.

skills/tinker-debug/SKILL.md · 47 lines

What it actually says

Tinker debug (Pi overlay)

Do not duplicate Tinker Cookbook's debug skill. Start here, then load upstream.

First in Pi

/tinker doctor

That checks TINKER_API_KEY, Python 3.11+, Tinker SDK 0.23+, torch>=2.10, tml_renderers, Cookbook imports, retired model ids, and Inkling effort notes.

Install/upgrade:

uv pip install -U tinker-cookbook

There is no [inkling] extra. tml-renderers is a default Cookbook dependency.

Canonical triage

/plugin marketplace add thinking-machines-lab/tinker-cookbook

Then /tinker:debug. If the plugin is missing, read skills/debug/SKILL.md in thinking-machines-lab/tinker-cookbook.

Pi-specific tells

Symptom Check
No matching distribution for tinker-cookbook[inkling] Extra removed. Install tinker-cookbook.
ModuleNotFoundError: tml_renderers Reinstall Cookbook; needs Python 3.11+.
TmlV0Renderer requires PyTorch 2.10 pip install "torch>=2.10".
get_lr(...Inkling) NotImplementedError Expected. Calibrate LR; Cookbook publishes no default.
Train vs eval mismatch on Inkling Effort not pinned. Same float for data, baseline, checkpoint.
Deployed Inkling to vLLM Wrong. Stay on Tinker. See SERVING.md.
Export of DeepSeek/Kimi/gpt-oss as PEFT then vLLM LoRA Cookbook merge path, not adapter serving.

Inspect generated Python, metrics.jsonl, and checkpoints.jsonl. Those are the source of truth, not Pi UI state.

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. 4d ago First seen · 47 lines · 52 tokens per session scan A c1b7a3f3d297

Subscribe to this mod's changes

tinker-debug is a skill published in the GitHub repository gvkhosla/pi-tinker (24 stars, last pushed 7d ago), licensed Apache-2.0. It adds 52 tokens to every session and 475 once invoked, about $0.0003 per session on Opus 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

fine-tuning-with-trl

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

OpenLAIR/dr-claw · 69 tokens

fine-tuning-with-trl

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

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

Training

Guides fine-tuning and post-training work with explicit data, objective, hardware, and rollback assumptions.

agentic-in/elephant-agent · 23 tokens

fine-tuning-with-trl

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

liortesta/ClawdAgent · 69 tokens

model_finetuning

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

vuralserhat86/antigravity-agentic-skills · 67 tokens

fine-tuning-with-trl

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

ihatesea69/HieuNghi-AI-Skills · 69 tokens