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
累計下載
2598
星標
3
全站排名
#4,027
全站前 80% · 「知識管理」前 79%
平台累計安裝累計下載星標評論
ClawHub ↗7622783-
SkillHub ↗14825983—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該流程面向需要精簡的技能說明,強調保留 frontmatter、標題結構、命令程式碼塊和每個工作流的示例。生成的精簡稿可能遺漏重要指導或改變原意,應用前應逐項審閱;移動到 references 的內容也應留在預期技能目錄內。 文件流程透過 cod-iteration 執行迭代,需確認其可用並審閱精簡結果。

資料釋出於 2026-10-29

可以用來做什麼

  • 提取技能文件中的關鍵實體並壓縮為列表或表格
  • 精簡冗長說明,同時保留命令和工作流示例
  • 檢查精簡稿是否遺漏必要指導

什麼時候用

  • 目標是編輯技能說明文件而非執行其命令時
  • 能對照原文稽核生成結果時
  • 需要移動參考資料時能夠確認其仍位於目標技能目錄內

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

請說明如何精簡這份技能說明,同時保留 frontmatter、標題、命令程式碼塊和工作流示例;不要改寫或儲存檔案。

月度資料趨勢

累計下載2598
1582212826732026-03 · 累計下載 16572026-05 · 累計下載 19132026-06 · 累計下載 20042026-07 · 累計下載 22022026-08 · 累計下載 22862026-09 · 累計下載 259826-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092598—3
2026-082286+3.8%3
2026-072202+9.9%3
2026-062004+4.8%3
2026-051913—3
2026-031657—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),按月更新。口徑說明見資料方法。