Back to home@Xiaopeng212321414321413231

critical-skillgovern

🔍 Critical SkillGovern — 批判式技能治理框架。跨平台(Hermes/Claude Code/Codex)技能质量审查方法论,已在 120+ 技能实战验证

Stars
1
Language
Python
Created
Jul 14, 2026
Updated
Aug 17, 2026

Introduction

🔍 Critical SkillGovern

A cross-platform skill quality governance framework — battle-tested on 128 skills across 40 categories.

License: MIT Platforms

中文版


The Problem

The more skills you have, the harder it is for an LLM agent to pick the right one. This isn't a model limitation — it's a routing problem. Skill descriptions lack the signal LLMs need for accurate selection.

Skill CountRouting IssuesImpact
1-10Nearly noneEasy to distinguish
10-50Occasional misfiresDescriptions too vague
50-100Frequent misfiresNeed structured routing
100+Unreliable systemMust govern

Critical SkillGovern gives you a battle-tested workflow to keep your skill library accurate at any scale.


Why You Should Care

The third-party skill packs you downloaded — Superpowers workflow pack, Baoyu creative pack, Matt Pocock TypeScript pack, design skill packs — likely have routing issues:

SourceRouting HealthTypical Problem
Built-in (official)100% ✅
Superpowers packExcellent ✅Best among community packs
Baoyu pack⚠️ ~60%Weak negative samples, single-layer tags
Design pack (16 skills)⚠️ ~19%13/16 had weak negative samples
Matt Pocock pack⚠️ ~70%Weak negative sample

📖 Full case study → examples/third-party-packs.md

Before governance:

【不适用场景】不需要生成创意内容/可视化时    ← Too vague, no alternative

After governance:

【不适用场景】For simple charts/diagrams → use excalidraw;
For AI art rather than structured infographics → use image generation
            ← Points to specific alternatives

The difference: before, the model guesses wrong ~30% of the time. After, misfires drop to ~5%.


Core Pipeline

Routing Diagnosis → Critical Questioning → User Approval → Execution → Verification → Final Report
PhaseWhat It DoesOutput
1️⃣ Routing DiagnosisScan skill descriptions for template residuals, English-only triggers, weak negative samplesIssue list
2️⃣ Critical Questioning5W1H questioning + reverse thinking + assumption miningDeep analysis
3️⃣ User ApprovalSeverity-based triage, user decides what to fixApproved fix list
4️⃣ ExecutionModify routing only (never touch functionality)Patched files
5️⃣ VerificationRe-run diagnosis to confirm fixesVerification report
6️⃣ Final ReportDocument resultsComplete audit report

Supported Platforms

PlatformSkill FormatAdapter
🏛️ Hermes AgentSKILL.md (YAML frontmatter + Markdown)adapters/hermes.md
🔌 DeepSeek HarnessDSH tool plugin (defineTool)dsh-plugin/
🤖 Codex CLIPrompt templates / Shell wrappersadapters/codex.md

Quick Start

# 1. Review all your skills
python scripts/batch-review.py --path ~/.hermes/skills --format hermes

# 2. Review a specific category (e.g., third-party packs)
python scripts/batch-review.py --path ~/.hermes/skills/creative --format hermes

# 3. Export CSV report
python scripts/batch-review.py --path ~/.hermes/skills --format hermes --csv report.csv

What to Fix (Priority Order)

SeverityIssueHow to Fix
🔴 CriticalTemplate residuals (.join, kw[:)Remove Python literals from descriptions
🔴 CriticalEnglish-only triggersTranslate to Chinese (or user's locale)
🟡 SuggestedWeak negative samplesPoint to specific alternative skills
🟢 OptionalSingle-layer tagsAdd subcategory tags
🟢 OptionalMissing related_skillsLink cross-category skills

Project Structure

critical-skillgovern/
├── README.md                         # English (this file)
├── README.zh-CN.md                   # 中文版
├── LICENSE                           # MIT
├── docs/
│   ├── methodology.md                # Core methodology (6-stage pipeline)
│   ├── routing-optimization.md       # Routing optimization guide
│   └── prompts/
│       └── classify-skills-v2.txt    # Skill classification prompt v2.1
├── adapters/
│   ├── hermes.md                     # Hermes Agent guide
│   └── codex.md                      # Codex CLI guide
├── dsh-plugin/                       # DeepSeek Harness plugin
│   ├── package.json                  # DSH bundle manifest
│   ├── cordis.patch.yml              # Cordis configuration
│   └── index.js                      # Plugin entry (3 tools)
├── templates/
│   ├── diagnostic-card.md            # Diagnostic card template
│   └── skill-audit-report.md         # Audit report template
├── scripts/
│   ├── batch-review.py               # Batch review script
│   └── validate-routing.py           # Routing validation script
├── examples/
│   ├── before-after.md               # Before/after optimization examples
│   ├── full-audit-example.md         # Full 128-skill audit walkthrough
│   └── third-party-packs.md          # Third-party pack case study
└── CONTRIBUTING.md                   # Contribution guide

Real-World Impact

Tested on a 128-skill, 40-category Hermes Agent library with Superpowers, Baoyu, and 16 design skill packs:

MetricBeforeAfter
Routing coverage23/128 (18%)128/128 (100%)
Template residuals14 skills0
English-only triggers97 skills0
Weak negative samples54 skillsAll fixed
Third-party pack misfire rate~30%~5%

Why Critical SkillGovern?

FeatureCritical SkillGovernTraditional Approaches
Cross-platformHermes / Codex / DeepSeek HarnessSingle platform only
Critical thinkingReverse thinking + assumption miningForward checks only
Third-party pack supportDedicated case studies + batch scriptsNo third-party coverage
Battle-tested128 real skills with real dataTheoretical design
User-controlledSeverity-based triage + selective fixFully automated, no oversight
Verification stepFull re-check after fixesNo verification

DeepSeek Harness Plugin

Install the DSH plugin to get 3 skill governance tools directly in your agent:

# From GitHub
dsh plugin --profile web add github:Xiaopeng212321414321413231/critical-skillgovern#path:dsh-plugin

# Or from local clone
dsh plugin --profile web add ./dsh-plugin
ToolDescription
skill-diagnoseDiagnose a single skill file for routing health issues
skill-auditBatch audit all skills in a directory
skill-classifyClassify skills into structured categories (7 major, 19 sub)

Listed on DSH 1024Store.


Contributing

PRs and issues welcome! See CONTRIBUTING.md.

License

MIT — free to use, modify, and distribute.