Tinker AI Skill: your Claude Code transcripts in, a model you can run locally out
Tinker AI Skill walks your coding agent through fine-tuning an open model on your own Claude Code transcripts: clean and anonymize them, train on Tinker, merge, and convert to a file llama.cpp can serve on your machine. The dataset steps are free; training is billed by Tinker, and the agent stops to show you the estimate first.
git clone https://github.com/drost-ai/tinker-ai-skill.git ~/.claude/skills/tinker-ai-skillAsk your agent to "fine-tune Qwen3.6-35B-A3B on my Claude Code sessions from the last three months" and this skill takes it from raw transcripts to a model file on your disk. It's published by the GitHub account drost-ai under the MIT license, and the README says it's an independent guide built on Tinker, the training service from Thinking Machines Lab. Anthropic doesn't publish it. For how skills load, see what Claude skills are.
What the agent does, step by step
The SKILL.md sets out a fixed order. It collects your main sessions (subagent side-chains are left out, tiny sessions skipped), strips harness text and image bytes, then anonymizes. You write an identity.json with your usernames, emails, handles and company; each session gets a random stand-in identity, credential values are replaced, and the README says the anonymizer fails rather than writing a file that still leaks. Before going on, the agent asks you to read a few anonymized rows yourself.
Next it slices sessions to the model's context length, splits training and validation by whole session, and runs an offline smoke test. Only --train spends money. After training it compares checkpoints with the base model on behavior (valid tool calls, a followed system prompt) rather than on loss, then merges, converts to GGUF and starts llama-server.
What you get back
- A dataset built from your own work, kept out of git along with
.envand the run folders. - A LoRA, a merged model and a GGUF that runs on your machine with llama.cpp, plus a one-prompt tool-use check before you trust it.
How to install it
The README's install section is one clone per agent. For Claude Code:
git clone https://github.com/drost-ai/tinker-ai-skill.git ~/.claude/skills/tinker-ai-skill
Codex uses ~/.agents/skills/ and OpenCode ~/.config/opencode/skills/. In Claude Code you can call it with /tinker-ai-skill. Before you point it at real sessions, the README asks you to raise transcript retention with "cleanupPeriodDays": 3650 in ~/.claude/settings.json and add a Tinker API key to .env. You need Python 3.11+ and a built llama.cpp checkout for the export.
Example request
Use tinker-ai-skill. Build a dataset from my Claude Code sessions in [date range], leaving out the [project name] project. Show me five anonymized rows and the training cost estimate for [model], and wait for my yes before you run --train.
What it costs
Tinker bills per token, and the README's one-epoch estimates run from about $6 for 100 rows on Qwen3.6-35B-A3B to about $185 for 1,000 rows on Qwen3.8-27B; sampling and evaluation are extra.
Limits
- Your transcripts only. The README says never to publish a dataset built from someone else's transcripts without their consent.
- Checkpoints expire. The SKILL.md warns that periodic checkpoints expire after 7 days, so export the one you want promptly.
- Claude Code format. Collection reads Claude Code's JSONL transcripts; the other agents can run the skill, but the data comes from Claude Code sessions.
Sources
- drost-ai/tinker-ai-skill README on GitHub, accessed December 2026
- tinker-ai-skill SKILL.md on GitHub, accessed December 2026