Skill Development

tinker-ai-skill

A Claude Code skill that turns your own Claude Code sessions into a training set, fine-tunes a LoRA on Tinker, merges it and produces a GGUF you can run in llama.cpp.

  • 158 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

git clone https://github.com/drost-ai/tinker-ai-skill.git ~/.claude/skills/tinker-ai-skill
tinker-ai-skill — skill preview

What it is

tinker-ai-skill is a pipeline wrapped as a skill. You ask Claude Code to fine-tune a model on your past sessions, and the skill extracts the transcripts, builds a supervised fine-tuning dataset, trains a LoRA adapter on Tinker (the Thinking Machines training service), merges it into the base model and exports a GGUF for llama.cpp. The README describes nine steps, 11 scripts and six reference notes. Cost is the main thing to plan around. The README gives figures at November 2026 prices: 100 rows is roughly 5 million tokens, about $6 on Qwen3.6-35B-A3B, and 1,000 rows is roughly 45 million tokens, about $55. It also says an anonymizer replaces credentials in the data, and that Claude Code deletes old sessions unless you raise cleanupPeriodDays. The author is Migel Tissera, known for the Tess models. The licence is MIT. We read the README only and did not run the pipeline, so the quality of the resulting model is not tested here.

Who it's for

  • Developers who want a small model tuned on their own coding-agent history
  • Anyone who wants to try the pipeline first on synthetic data before spending tokens

Requirements

Requirements

  • Claude Code with the skill cloned into ~/.claude/skills
  • Python environment created with uv and the repository's requirements.txt
  • A Tinker (Thinking Machines) API key; Weights and Biases is optional

Setup

  1. Step 1

    bash
    git clone https://github.com/drost-ai/tinker-ai-skill.git ~/.claude/skills/tinker-ai-skill
  2. Step 2

    bash
    uv venv && source .venv/bin/activate && uv pip install -r requirements.txt

مهارة لـ Claude Code تحوّل جلساتك السابقة إلى مجموعة تدريب، وتضبط LoRA على Tinker، ثم تدمجه وتخرج ملف GGUF يعمل في llama.cpp.

Examples

Start from a plain request

Prompt
prompt
fine-tune Qwen3.6-35B-A3B on my Claude Code sessions from the last three months.

Expected output: The README's own example request; the skill then walks its nine steps.

Dry run on fake data

bash
bash
python scripts/make_sample_transcript.py --out ./demo-claude-projects --turns 14 --long-results

What it does: Generates synthetic transcripts so the whole pipeline can be tried in about five minutes without your real sessions.

Pros & cons

Pros

  • Pro:Nine documented steps with 11 scripts and 6 reference notes, from dataset to GGUF
  • Pro:A synthetic transcript generator gives a cheap rehearsal before any real spend
  • Pro:The README states approximate costs (100 rows about $6, 1,000 rows about $55 on Qwen3.6-35B-A3B at November 2026 prices) and describes an anonymizer that replaces credentials

Cons

  • Con:Needs a paid Tinker account and API key; costs scale with rows
  • Con:Claude Code only keeps old sessions if you raise cleanupPeriodDays (the README suggests 3650)
  • Con:We did not check whether your model provider's terms allow training on agent output; check before using it