Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

skill-distiller技能蒸馏师

Agent Skill

skill-distiller 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

832

周安装

35

GitHub Stars

216

下载量

291
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-distiller(技能蒸馏师)
来源仓库:https://github.com/mathews-tom/armory
仓库路径:skills/skill-distiller
安装命令:
npx skills add https://github.com/mathews-tom/armory --skill skill-distiller
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mathews-tom/armory --skill skill-distiller

简介

skill-distiller 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词或任务场景进行信息调研,支持结合来源仓库和线索展开分析。
  • 通过 npx skills add 命令从 GitHub 安装,需确认权限与维护状态后再使用。
  • 使用前建议核实是否会触发联网、命令执行或文件读写操作,避免意外行为。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill Distiller

Transform skills authored for high-capability models (Opus) into deterministic workflows that execute reliably on lower-cost models (Sonnet, Haiku). The core insight from EvoSkills: skills encode reusable task structure, not model-specific artifacts. A skill evolved on Opus transfers with +35-45pp gains to other models — but only when the instructions are sufficiently deterministic that lower-capability models can follow them without improvising.

Reference Files

FileContentsLoad When
references/distillation-patterns.mdPattern catalog for converting reasoning to rulesAlways

Prerequisites

  • The source skill must exist and pass package-evaluator at >= 70%
  • Access to both the source model (Opus) and target model (Haiku/Sonnet) for validation
  • The surrogate-verifier skill for cross-model assertion checking

Workflow

Phase 1: Complexity Analysis

Score each section of the source SKILL.md for reasoning difficulty:

Complexity SignalScoreDistillation Action
Decision tree with 3+ branchesHIGHConvert to explicit if/then lookup table
"Use judgment" or "consider context"HIGHReplace with concrete heuristic rules
Multi-step inference chainHIGHBreak into numbered atomic steps
Reference to domain expertiseMEDAdd explicit reference file with knowledge
Clear enumerated stepsLOWKeep as-is
Concrete examples with expected outputLOWKeep as-is

Produce a complexity map: section name -> complexity score -> planned action.

Phase 2: Trace Collection

Execute the source skill with Opus on 5 representative tasks:

  1. Select tasks from evals/cases.yaml (positive cases) or generate new ones
  2. For each task, capture the full execution trace:

- Tool calls made (which tools, in what order) - Intermediate reasoning visible in output - Final output structure and content - Time taken and token usage

  1. Store traces as structured data for pattern extraction

Phase 3: Pattern Extraction

From the collected traces, extract deterministic patterns:

  1. Decision paths — For each HIGH-complexity section, find the actual decisions Opus made across the 5 tasks. If Opus chose the same path in 4/5 cases, that path becomes the default rule
  2. Lookup tables — Where Opus applied domain knowledge, build explicit lookup tables (e.g., "if input contains SQL, use these patterns; if input contains Python, use those")
  3. Concrete examples — Extract representative input/output pairs from traces to serve as few-shot examples in the distilled skill
  4. Tool sequences — Identify the common tool invocation pattern and make it explicit ("Step 1: Read the file. Step 2: Grep for pattern X. Step 3: Write output.")

Phase 4: Distilled Rewrite

Rewrite the SKILL.md applying all distillation actions from Phase 1:

Source PatternDistilled Replacement
"Analyze the code and determine...""Check for these 5 specific patterns: [list]"
"Use appropriate formatting""Output as a markdown table with columns: [A, B, C]"
"Consider the context to decide...""If [condition A]: do X. If [condition B]: do Y. Default: Z"
"Apply best practices for..."Reference file with explicit best practices enumerated
Multi-paragraph reasoning instructionNumbered step list with single-sentence steps

Rules for the rewrite:

  • Every instruction must be actionable by a model with no domain expertise
  • No step should require inference — each step's input and output must be explicit
  • Replace all "consider", "analyze", "determine" verbs with "check", "count", "list", "output"
  • Add concrete examples for any step that could be ambiguous
  • Keep the SKILL.md under 500 lines (distillation should reduce, not expand)

Phase 5: Target Model Validation

Run the distilled skill on the target model (Haiku or Sonnet):

  1. Execute the same 5 tasks from Phase 2 with the distilled skill loaded
  2. Use the surrogate-verifier to generate assertions for each task output
  3. Compare pass rates:
MetricSource (Opus + original)Target (Haiku + distilled)Delta
Assertions passedN/MN/M±
Weighted scoreX.XXX.XX±
Output completeness%%±
Format compliance%%±
  1. If target model score < 80% of source model score, iterate:

- Identify which assertions the target model fails - Add more explicit instructions for those specific failure points - Re-run validation (max 3 iterations)

Phase 6: Cross-Model Report

Produce the final comparison:

# Skill Distillation Report: <skill-name>

## Complexity Reduction
- Sections distilled: N/M (HIGH → LOW)
- Instruction word count: original X → distilled Y (Z% reduction)
- Decision points replaced with lookup tables: N

## Cross-Model Performance
| Model   | Assertions Passed | Weighted Score | Format Compliance |
|---------|-------------------|----------------|-------------------|
| Opus    | 7/7               | 1.00           | 100%              |
| Sonnet  | 6/7               | 0.92           | 100%              |
| Haiku   | 5/7               | 0.85           | 85%               |

## Changes Made
1. [Section] "Analyze complexity" → explicit 5-item checklist
2. [Section] "Apply formatting" → fixed markdown table template
...

## Recommendation
[SHIP | ITERATE | MANUAL_REVIEW_NEEDED]

Error Handling

ErrorResolution
Source skill scores below 70%Refuse distillation; recommend evolution via test-engineer
No execution traces availableGenerate synthetic tasks and collect traces before proceeding
Target model fails all assertionsSkill may be too complex for target model; report with detail
Distilled skill longer than sourceReview distillation; patterns may need consolidation

Limitations

  • Cannot distill skills that rely on open-ended adaptive reasoning at many decision points or multi-turn reasoning
  • Visual/interactive skills (HTML generation, browser automation) may not distill well
  • Distillation optimizes for determinism, not creativity — skills requiring open-ended generation (writing, brainstorming) are poor candidates
  • Trace collection requires actual model execution, incurring API costs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.47%
按下载量换算100

Claude

32.16%
按下载量换算94

Cursor

20.34%
按下载量换算59

Gemini CLI

10.48%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills