Token导航 LogoToken导航

Agent Skill · 开发

neon-skill-distiller-reference(霓虹灯技能蒸馏器参考)

neon-skill-distiller-reference 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

neon-skill-distiller-reference 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 10,742。

总安装 2,093周安装 89GitHub Stars 公开资料未说明下载 733核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.2.1

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:neon-skill-distiller-reference(霓虹灯技能蒸馏器参考)
来源仓库:https://github.com/leegitw/neon-skill-distiller-reference
安装命令:
openclaw skills install neon-skill-distiller-reference
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install neon-skill-distiller-reference

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

霓虹灯技能蒸馏器参考文档包含完整配置选项和校准详情,约 2500 个令牌容量。适合高级用户深度定制压缩算法参数,满足特定领域专业需求。使用 openclaw skills install neon-skill-distiller-reference 安装,需具备技术背景理解参数含义。

建议仅在有明确优化目标时启用此版本,避免因过度配置增加系统复杂度。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install neon-skill-distiller-reference;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

neon-skill-distiller-reference 怎么安装?

在终端执行 openclaw skills install neon-skill-distiller-reference。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

neon-skill-distiller-reference 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

neon-skill-distiller-reference 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

neon-skill-distiller-reference 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

neon-skill-distiller-reference 用的人多吗?

公开数据是累计安装 2,093 次,近一周安装 89 次,下载 733 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

neon-skill-distiller-reference 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
neon-skill-distiller-reference

霓虹灯技能蒸馏器参考 · 本页

2,093—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
Skill Distiller (Reference)
version
0.2.1
description
Complete skill compression documentation — all options, modes, and calibration details (~2,500 tokens).
author
Live Neon <lee@liveneon.ai>
homepage
https://github.com/live-neon/skills/tree/main/skill-distiller/reference
repository
live-neon/skills
license
MIT
user-invocable
true
disable-model-invocation
true
emoji
\F5DC\️
tags

Skill Distiller (Reference)

Full reference documentation (~2,500 tokens, ~90% functionality, LLM-estimated). This is the canonical source for all compressed variants.

Note: This reference document intentionally exceeds the 300-line MCE guideline. As the canonical source for all compressed variants, comprehensiveness is prioritized over brevity. For compact variants, see the main SKILL.md (~400 tokens, formula) or compressed (~975 tokens, prose).

Agent Identity

Role: Help users compress verbose skills to reduce context window usage Understands: Skills are verbose for human clarity but costly for context; compression is a trade-off Approach: Identify section types, score importance, remove/shorten low-value sections Boundaries: Preserve functionality, report what was removed, never hide trade-offs Tone: Technical, precise, transparent about trade-offs

Data handling: This skill operates within your agent's trust boundary. All analysis uses your agent's configured model. No external APIs beyond your agent's LLM provider.

When to Use

Activate this skill when the user asks:

  • "Compress this skill"
  • "Make this skill smaller"
  • "Distill this skill to X tokens"
  • "What can I remove from this skill?"
  • "Reduce skill context usage"

Options

FlagDefaultDescription
--modethresholdCompression mode: threshold, tokens, oneliner
--threshold0.9Functionality preservation target (0.0-1.0)
--tokens-Target token count (for tokens mode)
--providerautoLLM provider: auto, ollama, gemini, openai
--model-Specific model (e.g., llama3.2, gemini-2.0-flash)
--verbosefalseShow section-by-section analysis
--dry-runfalseAnalyze without outputting compressed skill
--debug-stagesfalseShow intermediate stage outputs

Provider auto-detection (in order):

  1. Check ollama availability via ollama list
  2. Check GEMINI_API_KEY environment variable
  3. Check OPENAI_API_KEY environment variable
  4. Error if none available

Process

1. Provider Detection

IF ollama available → use ollama (local, fast)
ELIF GEMINI_API_KEY set → use gemini
ELIF OPENAI_API_KEY set → use openai
ELSE → Error: "No LLM provider available. Run 'ollama serve' for local inference, or set GEMINI_API_KEY for cloud."

2. Parse Skill

Parse input skill into sections:

  • Frontmatter (YAML header with name, description)
  • Headers (##, ### sections)
  • Code blocks (examples, output format)
  • Lists (triggers, constraints)
  • Prose (explanations)

3. Classify Sections

Classify each section using LLM:

TypeImportanceCompressible?
TRIGGER1.0 (required)No
CORE_INSTRUCTION1.0 (required)No
CONSTRAINT0.9Partially
OUTPUT_FORMAT0.8Partially
ADVISORY_PATTERN0.7Yes, with warning
EXAMPLE0.5Yes (reduce count)
EDGE_CASE0.4Yes (summarize)
EXPLANATION0.3Yes (remove)
VERBOSE_DETAIL0.2Yes (remove first)

Protected patterns (boost to 0.85+):

  • YAML name/description (REQUIRED BY SPEC)
  • Task creation references
  • N-count tracking (N=1, N=2, N≥3)
  • Checkpoint/state recovery
  • BEFORE/AFTER markers

3.5. Token-Level Importance (LLMLingua/Selective Context)

For compressible sections (EXAMPLE, EDGE_CASE, EXPLANATION, VERBOSE_DETAIL), apply token-level scoring based on self-information theory:

Principle: self_info(token) = -log(P(token|context))

  • HIGH self-information = surprising/important → KEEP
  • LOW self-information = predictable/removable → PRUNE

Scoring Prompt:

Analyze this section for compression. Classify phrases as:
- ESSENTIAL: Specific values, unique terms, key constraints, surprising info
- REDUNDANT: Could be inferred, restates earlier content, filler words

Section type: {type}
Content: {content}

Return JSON: {"essential": [...], "redundant": [...], "compression_potential": 0.0-1.0}

Pruning Rules:

  1. Never prune ESSENTIAL tokens
  2. Remove REDUNDANT phrases while preserving sentence structure
  3. If >50% is REDUNDANT, consider removing entire section
  4. Preserve specific values (numbers, thresholds, error codes)

Example:

Input:  "The system will then proceed to process the input data and return the results"
Output: "process input data → return results"
Removed: "The system will then proceed to", "and"

4. Apply Compression

All modes use MetaGlyph native symbols (see §Symbol Reference below):

  • Replace "results in" → →
  • Replace "implies" → ⇒
  • Replace "for all" → ∀
  • Replace "not" → ¬

Threshold Mode (default):

  1. Sort sections by importance (descending)
  2. Include sections until functionality target reached
  3. Apply symbol substitutions
  4. Generate compressed markdown

Token-Target Mode:

  1. Calculate minimum tokens (triggers + core)
  2. If target < minimum: attempt LLM summarization
  3. Add sections by importance until target
  4. Apply symbol substitutions

One-Liner Mode:

  1. Extract trigger conditions
  2. Extract core action
  3. Extract expected result
  4. Format as 3-line summary with symbols

4.1. Example Compression (RECOMP)

For EXAMPLE sections, use extractive + abstractive compression:

Phase 1: Extractive Selection (preferred)

  1. Score each example for pattern coverage, uniqueness, clarity
  2. Select top 1-2 examples (keep full detail)
  3. Compress remaining examples to one-liners (don't discard)
  4. If coverage ≥ 0.8 → use selected + one-liners

Phase 1.5: One-Liner Compression (for non-selected examples) Instead of discarding, compress to: {trigger} → {result}

  • Use MetaGlyph symbols
  • Preserves coverage, reduces tokens
  • Group under "### One-liners:" heading

Output structure:

### Full (selected):
[Detailed example with steps...]

### One-liners (compressed):
- `--mode=tokens` → hard token limit
- `--verbose` → section-by-section analysis

Phase 2: Abstractive Fallback (if extractive + one-liners < 0.8)

  1. Generate summary example combining key patterns
  2. Format: {generalized_pattern} → {expected_result}
  3. Preserve specific values where critical

Selection Prompt:

Select the 1-2 BEST examples that cover the most patterns with minimum redundancy.

Examples:
{numbered_list}

Return JSON: {
  "selected": [indices],
  "coverage": 0.0-1.0,
  "rationale": "..."
}

Synthesis Prompt (if coverage < 0.8):

Compress these examples into 1-2 summary examples.
Preserve: specific values, key patterns, expected outcomes.
Format: "When X → Do Y → Expect Z"

{examples}

Output shows: Examples: 5 → 2 full + 3 one-liners (extractive) or Examples: 5 → 1 (abstractive)

5. Measure Functionality

Evaluate by semantic understanding, NOT metrics.

Wrong (Metrics)Right (Semantic)
"60% line reduction is too aggressive""Can an agent still execute this skill?"
"Token count exceeds target""Are all triggers and actions preserved?"
"Ratio doesn't match threshold""Would an agent behave the same way?"

LLM evaluates preservation by asking:

  • Can all original triggers still activate?
  • Are all core actions still specified?
  • Are critical constraints preserved?
  • Would an agent behave the same way?

Score 0-100 reflects semantic capability preservation, not line/token ratios. A skill compressed to 40% of original size can still preserve 95% functionality if the removed content was verbose explanation, redundant examples, or non-essential formatting.

6. Save Calibration

After compression, save entry to .learnings/skill-distiller/calibration.jsonl:

{
  "id": "c[N]",
  "timestamp": "[ISO 8601]",
  "skill": "[skill name from frontmatter]",
  "mode": "[threshold|tokens|oneliner]",
  "threshold": 0.9,
  "input_tokens": 1800,
  "output_tokens": 1100,
  "reduction_pct": 39,
  "sections_total": 14,
  "sections_kept": 9,
  "sections_removed": 5,
  "classification_confidence_mean": 0.90,
  "functionality_score": 90,
  "protected_patterns_found": ["n-count"],
  "protected_patterns_preserved": ["n-count"],
  "advisory_patterns_found": [],
  "advisory_patterns_removed": [],
  "expected": {"functionality": 90},
  "actual": null
}

File rotation: If entries > 1000, truncate oldest 100 before appending.

7. Output Result

Return compressed skill with metadata.


Output

Standard Output

Functionality preserved: 90% (uncalibrated - first 5 compressions build baseline)
Tokens: 2000 → 1800 (10% reduction)
Classification confidence: 0.87 (mean across sections)

Removed: 3 examples, 2 edge cases
Kept: all triggers, core instructions, constraints

[Compressed skill markdown follows...]

Verbose Output (--verbose)

Section Analysis:
  ## When to Use: TRIGGER (1.0, confidence: 0.95) → KEPT
  ## Process: CORE_INSTRUCTION (1.0, confidence: 0.92) → KEPT
  ## Examples: EXAMPLE (0.5, confidence: 0.88) → RECOMP
    └─ Examples: 5 → 2 full + 3 one-liners (coverage: 0.95)
  ## Edge Cases: EDGE_CASE (0.4, confidence: 0.85) → SUMMARIZED
  ## Technical Details: VERBOSE_DETAIL (0.2) → TOKEN-SCORED
    └─ Tokens: 150 → 45 (redundant phrases removed)

Token-level analysis:
  VERBOSE_DETAIL sections: 3 analyzed, 67% average compression
  Phrases removed: "The system will then", "proceed to", "in order to"

RECOMP example analysis:
  Original examples: 5
  Full (selected): [0, 4] (basic usage, error handling)
  One-liners: [1, 2, 3] (threshold, tokens, verbose options)
  Coverage: 0.95 (full + one-liners)
  Mode: extractive

Protected patterns found: none
Advisory patterns found: parallel-decision → removed (no score penalty)

[Compressed skill markdown follows...]

One-Liner Output

TRIGGER: [activation conditions]
ACTION: [core behavior]
RESULT: [expected output]

Example with MetaGlyph symbols:

TRIGGER: user asks "compress skill" ∨ "distill" ∨ "reduce context"
ACTION: parse → classify sections → score importance → ¬low-value → output
RESULT: compressed skill ∧ functionality% ∧ token reduction stats

Compression Modes

Mode 1: Threshold (Default)

Preserve X% of functionality, compress as much as possible.

/skill-distiller path/to/skill.md --threshold=0.9

Understanding thresholds: The threshold (0.9 = 90%) refers to semantic functionality, not token/line ratios.

ThresholdMeaningNOT
0.9595% of *capabilities* preserved95% of *lines* kept
0.9090% of *semantic function*90% of *tokens*
0.8080% of *agent behavior*80% of *bytes*

A 0.9 threshold can result in 50%+ line reduction if the removed content was verbose examples, redundant explanations, or formatting. Judge quality by semantic analysis, not size ratios.

Why 0.9 default: Skill functionality is normally distributed across sections. Wide tails mean some "low importance" sections occasionally carry critical value for edge cases. At 0.9, you preserve more of the tail while still achieving meaningful compression.

Mode 2: Token Target

Compress to exact token budget.

/skill-distiller path/to/skill.md --tokens=500

Token estimation: Uses 4 chars/token heuristic. Accuracy: +/-20% vs actual provider tokenization. For precise limits, verify with provider's tokenizer.

Mode 3: One-Liner

Extreme compression for quick reference.

/skill-distiller path/to/skill.md --mode=oneliner

Produces 3-line summary: TRIGGER/ACTION/RESULT


Protected Patterns

These patterns must be preserved even if they look verbose:

PatternWhy Protected
YAML name/descriptionREQUIRED by Agent Skills spec
Task creationCompaction resilience
N-count trackingObservation workflow
Checkpoint/stateState recovery
BEFORE/AFTERSelf-calibration

If a protected pattern is removed, the functionality score is penalized (-10% per pattern) and flagged explicitly in output.


Advisory Patterns

These patterns improve efficiency but aren't required:

PatternImpact if Removed
Parallel/serial decisionSuboptimal execution order
Performance hintsSlower but functional
Caching guidanceWorks but inefficient

Advisory patterns removed are warned but don't penalize the functionality score.


Symbol Reference (MetaGlyph)

Native mathematical symbols LLMs understand from pre-training. Zero legend overhead.

SymbolReplacesExample
→results in, leads to, producestrigger → action
⇒implies, therefore, thuscondition ⇒ behavior
∈belongs to, is in, member ofvalue ∈ {a, b, c}
∀for all, for every, for each∀ files: validate
¬not, doesn't, isn't¬empty → process
∃there exists, there is∃ config → load
∧and, also, plusvalid ∧ safe → proceed
∨or, eithererror ∨ timeout → retry

Application: Symbols replace verbose phrases in compressed output. No legend needed in output—LLMs comprehend natively.

Research: Based on MetaGlyph (arXiv:2601.07354) - 62-81% compression with native symbols.


Calibration

Storage: .learnings/skill-distiller/calibration.jsonl

Each compression run is logged with expected functionality score. User feedback updates the actual field, enabling calibration over time.

Calibration Stages

N-countOutputMeaning
N < 590% (uncalibrated - first 5 compressions build baseline)LLM-only estimate
N = 5-1088% (building baseline, N=7)Gathering data
N > 1088% +/- 4% (calibrated, N=12)Historical data informs CI

Feedback Recording

After using a compressed skill, report actual outcome to improve future estimates:

/skill-distiller feedback --id=c1 --actual=85 --outcome="worked"

Outcome values: worked, partial, failed

This updates the calibration entry, enabling the system to learn from real-world usage.

Viewing Calibration Data

cat .learnings/skill-distiller/calibration.jsonl | jq -s 'length'  # Count entries
cat .learnings/skill-distiller/calibration.jsonl | jq -s 'map(select(.actual != null))' # Entries with feedback

Self-Compression

This skill can compress itself (meta-recursive).

Guardrails:

  • Higher threshold: Require 95% functionality (not 90%)
  • Recursion check: Detect self-referential compression
  • Preserve original: Output to SKILL.compressed.md, never overwrite
  • Manual verification: Require human approval

Why 0.95 threshold: The distiller must remain fully functional to distill other skills. Capability loss compounds (0.95 x 0.95 = 0.90 at next level).

Enforcement: The 0.95 threshold is a documented guardrail, not an automated check. When compressing skill-distiller variants, manually verify you're using --threshold=0.95 or higher. The formula variant (SKILL.md) should never be the input for self-compression.


Error Handling

ErrorRecovery Hint
No contentProvide a valid SKILL.md file path or pipe content via stdin
No frontmatterAdd --- block with name and description
No trigger sectionAdd '## When to Use' for best results
Token target impossibleUse --mode=oneliner for extreme compression
LLM unavailableRun 'ollama serve' for local, or set GEMINI_API_KEY
Already minimalNo compression possible at threshold Y

Future

Planned features not yet implemented:

FlagDescriptionStatus
--with-ciCalculate confidence interval (3x LLM calls)Planned

Related

VariantTokensFunctionality
skill-distiller (main)~400~90% (formula)
compressed~975~90% (prose)
oneliner~100~70%
reference (this)~2,500~90%

*Token counts are estimates using 4 chars/token heuristic. Functionality scores are LLM-estimated.*


平台分布

OpenClaw

84.57%
按下载量换算620

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills