Skills for Real Engineers. Straight from my .agents directory.
tinker-training-inference
Agent skill fromLeanmcp/gateway-skills
Train and run models on Tinker (Thinking Machines) — LoRA and full fine-tuning, SFT with correct loss masking, RL/RFT with group-relative advantages and importance sampling, agentic RL over multi-turn tool-using agents, inference via the SamplingClient or the OpenAI-compatible endpoint, checkpoint management and export, every hyperparameter, and cost estimation from the live price table. Use this skill whenever the user mentions Tinker, tinker://, TINKER_API_KEY, console.tinker.ai, or the tinker CLI; wants to fine-tune, SFT, RFT, or RL a model on Tinker; asks about Tinker models, context windows, LoRA rank, sampling params, loss functions (cross_entropy, importance_sampling, ppo, cispo, dro), Datum construction, forward_backward or optim_step; wants to sample from, download, resume, merge, or export a Tinker checkpoint; or asks what a Tinker run will cost. Whenever Tinker work is initialized in a project, this skill also creates a TINKER_PRICING.md there so prices sit next to the train
How to install tinker-training-inference
npx skills add Leanmcp/gateway-skills# or add only this skill to Claude Code: copy the folder
skills/tinker-training-inference/
# into
~/.claude/skills/tinker-training-inference/ (all projects)
.claude/skills/tinker-training-inference/ (one project)
1# Tinker: training and inference23Tinker gives you token-level control of hosted fine-tuning: you build the4`Datum`s, you own the chat template, you hold the exact prompt and completion5token ids on both sides. That is the reason to use it — a training run stays6auditable, because the tokens the policy was updated on are tokens you can point7at — and it is also why there is more to get right than with a hosted8fine-tuning button. This skill is the map.910## Do this first, in any new Tinker project1112**Create the pricing file.** Prices next to the training script get read before a13550B RL run is launched; prices in a browser tab do not.1415```bash16python <skill>/scripts/tinker_pricing.py init --out <project dir>17```1819That writes `TINKER_PRICING.md` — the full catalogue, what each operation20meters, and the pre-launch checklist. It is a **snapshot**: verify against the21live catalogue at <https://tinker-docs.thinkingmachines.ai/tinker/models/>, and22regenerate with `--force` when it moves. Then:2324```bash25export TINKER_API_KEY="..." # console.tinker.ai26uv pip install tinker27```2829## Where to go3031| you want to | read |32| --- | --- |33| get set up, pick a model, avoid the context-window trap | [references/setup.md](references/setup.md) |34| supervised fine-tuning | [references/training-sft.md](references/training-sft.md) |35| RL / RFT on single-turn tasks | [references/training-rl.md](references/training-rl.md) |36…
Excerpt shown under the repository's MIT license.
More skills in gateway-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
