Vaskin Kissoyan

skill-condenser

知识管理v1.1.0
作者:Vaskin Kissoyan更新于 2026-05-11@clawhub_killerapp/skill-condenser
资料整理摘要总结

据 AlphaMoat 统计,截至 2026-09,skill-condenser 累计下载 2,598 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 4,027 位,在「知识管理」分类(442 个)中排名第 349 位。

累计安装
148
累计下载
2,598
星标
3
全站排名
#4,027
全站前 80% · 「知识管理」前 79%
平台累计安装累计下载星标评论
ClawHub ↗762,2783-
SkillHub ↗1482,5983—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该流程面向需要精简的技能说明,强调保留 frontmatter、标题结构、命令代码块和每个工作流的示例。生成的精简稿可能遗漏重要指导或改变原意,应用前应逐项审阅;移动到 references 的内容也应留在预期技能目录内。 文档流程通过 cod-iteration 执行迭代,需确认其可用并审阅精简结果。

资料发布于 2026-10-29

可以用来做什么

  • 提取技能文档中的关键实体并压缩为列表或表格
  • 精简冗长说明,同时保留命令和工作流示例
  • 检查精简稿是否遗漏必要指导

什么时候用

  • 目标是编辑技能说明文档而非执行其命令时
  • 能对照原文审核生成结果时
  • 需要移动参考资料时能够确认其仍位于目标技能目录内

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

请说明如何精简这份技能说明,同时保留 frontmatter、标题、命令代码块和工作流示例;不要改写或保存文件。

月度数据趋势

累计下载2,598
1,5822,1282,6732026-03 · 累计下载 1,6572026-05 · 累计下载 1,9132026-06 · 累计下载 2,0042026-07 · 累计下载 2,2022026-08 · 累计下载 2,2862026-09 · 累计下载 2,59826-0326-09
星标3
2342026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 32026-09 · 星标 326-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,598—3
2026-082,286+3.8%3
2026-072,202+9.9%3
2026-062,004+4.8%3
2026-051,913—3
2026-031,657—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.8 KB · ClawHub v1.1.0
---
name: skill-condenser
description: "Compress verbose SKILL.md files using Chain-of-Density with skill-aware formatting. Use when a skill exceeds 200 lines or needs terse refactoring."
license: Apache-2.0
metadata:
  author: agentic-insights
  version: "1.0"
---

# Skill Condenser
展开全部(共 150 行)

Compress SKILL.md files using CoD with skill-format awareness. Optimized for 2-3 passes (not 5) since skills are structured, not prose.

## When to Use

- SKILL.md exceeds 200 lines
- Skill contains prose paragraphs instead of bullets
- Refactoring verbose documentation to terse style

## Process

1. Read the skill to condense
2. Run 2-3 iterations of `cod-iteration` with skill-format context
3. Each iteration: extract key entities, compress to bullets/tables
4. Output: condensed skill maintaining structure

## Orchestration

### Iteration 1: Structure Extraction

Pass to `cod-iteration`:

```
iteration: 1
target_words: [current_words * 0.6]
format_context: |
  OUTPUT FORMAT: Agent Skills SKILL.md
  - Use ## headers for sections
  - Bullet lists, not prose paragraphs
  - Tables for comparisons/options
  - Code blocks for commands
  - No filler phrases ("this skill helps you...")

text: [FULL SKILL.MD CONTENT]
```

### Iteration 2: Entity Densification

```
iteration: 2
target_words: [iteration_1_words]
format_context: |
  SKILL.md TERSE RULES:
  - Each bullet = one fact
  - Combine related bullets with semicolons
  - Remove redundant examples (keep 1 best)
  - Tables compress better than lists for options

text: [ITERATION 1 OUTPUT]
source: [ORIGINAL SKILL.MD]
```

### Iteration 3 (Optional): Final Polish

Only if still >150 lines:

```
iteration: 3
target_words: [iteration_2_words]
format_context: |
  FINAL PASS:
  - Move detailed content to references/ links
  - Keep only: Quick Start, Core Pattern, Troubleshooting
  - Each section <20 lines

text: [ITERATION 2 OUTPUT]
source: [ORIGINAL SKILL.MD]
```

## Expected Output Format

Each iteration returns:

```
Missing_Entities: "entity1"; "entity2"; "entity3"

Denser_Summary:
---
name: skill-name
description: ...
---
# Skill Name
[Condensed content in proper SKILL.md format]
```

## Skill-Specific Entities

When condensing skills, prioritize these entity types:

| Entity Type | Keep | Remove |
|-------------|------|--------|
| Commands | `deploy.py --env prod` | Verbose explanations |
| Options | Table row | Paragraph per option |
| Errors | `Error → Fix` | Long troubleshooting prose |
| Examples | 1 best example | Multiple similar examples |
| Prerequisites | Bullet list | Explanation of why needed |

## Target Compression

| Original | Target | Iterations |
|----------|--------|------------|
| 200-300 lines | 100-150 | 2 |
| 300-500 lines | 150-200 | 2-3 |
| 500+ lines | 200 + refs | 3 + refactor |

## Example: Compressing Verbose Section

**Before** (45 words):
```markdown
## Configuration
The configuration system allows you to customize various aspects of the deployment.
You can set environment variables, adjust timeouts, and configure retry behavior.
Each setting has sensible defaults but can be overridden as needed.
```

**After** (18 words):
```markdown
## Configuration
| Setting | Default | Override |
|---------|---------|----------|
| `ENV` | prod | `--env dev` |
| `TIMEOUT` | 30s | `--timeout 60` |
| `RETRIES` | 3 | `--retries 5` |
```

## Integration with Progressive Disclosure

If skill is too large after 3 iterations:

1. Keep in SKILL.md: Overview, Quick Start, Common Errors
2. Move to `references/`: API details, advanced config, examples
3. Update SKILL.md with links: `See [advanced config](references/config.md)`

## Constraints

- Preserve frontmatter exactly (don't condense metadata)
- Keep all ## section headers (structure matters)
- Don't remove code blocks (commands are entities)
- Maintain one concrete example per workflow

「知识管理」分类下的热门技能

Vaskin Kissoyan 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。