Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

upskill

БесплатноЗапускает вложенные скриптыНе проверен

Turn a weak/cheap "Flash" model into a "Pro" performer by wrapping HKUDS UpSkill — captures agent session failures, has a strong Teacher model analyze them…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

upskill — Distill Agent Failures Into Validated Skills

Keyword: upskill · flash to pro · teacher student distillation · ralph loop skill validation

HKUDS/UpSkill (MIT) turns a cheap/weak "Flash" model into a "Pro" performer without a model upgrade. When a session fails, it captures the full context, has a strong Teacher model analyze the failure and draft a skill, then validates that skill against the weak Student model in a closed Ralph Loop (up to 3 rounds) before storing it. Validated skills auto-inject into every future session via a CLAUDE.md index (always in context) plus a full SKILL.md loaded on demand. On Terminal-Bench 2.0, a Flash model + UpSkill (51.6% pass rate, $0.04/task) beat the Pro model it was validated against (50.0%, $0.06/task) — a 41% lower cost result documented in tb_harbor_2.0/RESULTS.md.

This skill is the routing-first wrapper: it installs the tool, wires the three roles (Daily / Teacher / Student), and walks the daily capture → build → validate → serve loop.

When to use this skill

  • The user wants to install UpSkill or run any /upskill-* slash command
  • The user wants a cheap model ("Flash", Haiku, mini, DeepSeek-Flash) to perform closer to a Pro model on recurring task categories
  • A session just failed and the user wants to turn that failure into a reusable, validated skill instead of just retrying manually
  • The user wants to distill a successful session into a reusable skill (not just failures — /upskill-build works on either)
  • The user asks how the Ralph Loop, Teacher/Student roles, or skill-store serve modes (interactive vs auto) work

When not to use this skill

  • The user wants generic guidance on writing or standardizing a SKILL.md from scratch → use write-a-skill or skill-standardization
  • The user wants a repo-local skill-quality ratcheting loop (freeze a benchmark, mutate one change, keep/revert by score) for this jeo-skills repo → use skill-autoresearch
  • The user wants a general model fine-tuning / RLHF pipeline → that changes weights; UpSkill only prepends context, it never trains anything
  • The user is not on Claude Code and has no equivalent session-hook / context-injection surface → see Porting first; do not promise parity with an unadapted harness

The three roles

Role Set in Purpose
Daily model Claude Code settings.json Whatever the user runs day to day — untouched by UpSkill
Teacher ~/.claude/upskill.conf Strong model — analyzes failures, drafts skills (e.g. claude-opus-4-7, deepseek-v4-pro[1m])
Student ~/.claude/upskill.conf Weak model — every skill must be validated against it before storage (e.g. claude-haiku-4-5, deepseek-v4-flash)

Prerequisites

Requirement Notes
Claude Code Reference integration lives in cc-integration/
bash, python3, git Required by hooks and the build pipeline
curl Only for the remote one-line installer
API access to a Teacher and a Student model Anthropic or DeepSeek recommended by upstream

Instructions

Step 1 — Install

# Download, inspect, then install remotely (or clone locally below)
curl -fsSLO https://raw.githubusercontent.com/HKUDS/Upskill/main/cc-integration/install.sh
less install.sh && bash install.sh --remote

# Local (from a cloned repo)
git clone https://github.com/HKUDS/UpSkill && cd UpSkill/cc-integration && bash install.sh

# Or via this skill's wrapper script (adds jeo-skills plugin registration too)
bash scripts/install.sh                 # remote install (default)
LOCAL_REPO=/path/to/UpSkill bash scripts/install.sh   # install from an existing clone

This writes ~/.claude/{hooks,skills,upskill-store}/ and ~/.claude/upskill.conf. To update later, run /upskill-init inside Claude Code — it re-runs the installer and migrates legacy config.

Step 2 — Configure Teacher / Student models

Edit ~/.claude/upskill.conf:

UPSKILL_TEACHER="deepseek-v4-pro[1m]"   # or: claude-opus-4-7
UPSKILL_STUDENT="deepseek-v4-flash"     # or: claude-haiku-4-5
UPSKILL_SERVE_MODE="interactive"        # interactive (default) | auto

The Daily model is unaffected — it stays whatever Claude Code's own settings.json selects. Run /upskill-model to view the current preset, or bash ~/.claude/hooks/upskill-store.sh sync after a manual edit.

Step 3 — Enable building per project

/upskill-configure

Merges UserPromptSubmit, SessionStart, and SessionEnd hooks plus a claudeMd pointer into .claude/settings.local.json for the current project — additive, never overwrites existing hook entries.

Step 4 — Use the agent normally; skills build themselves

A SessionEnd hook captures a

Полный SKILL.md на GitHub

Установить upskill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep
WebFetch

Вложенные файлы

SKILL.toonevals/evals.jsonreferences/commands.mdreferences/pipeline-and-ralph-loop.mdscripts/install.sh

FAQ

Что делает скилл upskill?

Turn a weak/cheap "Flash" model into a "Pro" performer by wrapping HKUDS UpSkill — captures agent session failures, has a strong Teacher model analyze them and draft a skill, then validates it against the weak Student model in a closed Ralph Loop (up to 3 rounds) before storing it for automatic reuse. Use when the user wants to install UpSkill, run `/upskill-init`, `/upskill-configure`, `/upskill-build`, `/upskill-run`, `/upskill-list`, `/upskill-status`, `/upskill-mode`, `/upskill-model`, `/upskill-remove`, or `/upskill-uninstall`, wants a cheap model to perform closer to a Pro model without switching, or wants a good session (success or failure) distilled into a validated skill. Triggers on: upskill, up-skill, flash to pro, teacher student distillation, ralph loop skill validation, distill agent failures into skills. Routes skill-quality ratcheting to `skill-autoresearch`, scaffolding to `write-a-skill`, and spec-compliance rewrites to `skill-standardization`.

Как установить скилл upskill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл upskill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить upskill с