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

heal-skill治愈技能

Agent Skill

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

总安装

885

周安装

38

GitHub Stars

12

下载量

310
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/scientiacapital/skills --skill heal-skill

简介

heal-skill 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 进一步核验具体用法和功能边界。

SKILL.md

<quick_start>

/heal-skill              → Full library scan (all skills)
/heal-skill <name>       → Single skill diagnosis
/heal-skill --fix        → Apply all auto-fixes (with confirmation)
/heal-skill --fix <name> → Fix single skill (with confirmation)

</quick_start>

<success_criteria>

  • All YAML frontmatter validates against Anthropic spec
  • All required XML sections present (<objective>, <quick_start>, <success_criteria>)
  • All config.json files use standard schema with correct keys
  • Health score reported: X/Y checks passing per skill
  • Auto-fixes applied ONLY with user confirmation (preview diff first)
  • Self-test passes: /heal-skill heal-skill reports 0 issues </success_criteria>

<core_content>

3-Layer Diagnostic Engine

The engine runs checks in order of severity. Each layer builds on the previous.

Layer 1: STRUCTURAL (CRITICAL)     → Files exist, YAML parses, required fields present
Layer 2: CONTENT (HIGH)            → XML sections, line count, naming conventions
Layer 3: INTEGRATION (MEDIUM)      → config.json schema, duplicate triggers, cross-refs

Layer 1: Structural Validation (CRITICAL)

These checks verify the skill can even load. Failures here mean the skill is broken.

IDCheckRuleAuto-fix
S1YAML frontmatter existsSKILL.md starts with ---No
S2name field presentRequired, non-empty stringNo
S3name format valid^[a-z0-9-]+$, max 64 charsYes — slugify
S4description field presentRequired, non-empty stringNo
S5description lengthMax 1024 charsYes — truncate
S6description has no XML tagsNo <tags> in valueYes — strip tags
S7description is a stringNot YAML array/objectYes — join if array
S7bFrontmatter keys validAll keys in valid set (see below)Warning
S8SKILL.md existsMust exist in skill directoryNo
S9config.json existsMust exist in skill directoryYes — generate from SKILL.md
S10config.json is valid JSONMust parse without errorNo

Detection for S1-S2: Read first 5 lines; check --- delimiter and name: key. Detection for S3: Regex ^[a-z0-9-]+$ on name value, check length <= 64. Detection for S6: Regex <[a-z_]+> in description value. Detection for S7: YAML parse — check type is string, not array/object. Detection for S7b: Valid frontmatter keys are: name, description, disable-model-invocation, user-invocable, allowed-tools, model, context, agent, argument-hint, hooks. Any other key is a WARNING (not an error — unknown keys are ignored by Claude Code, not rejected).

Layer 2: Content Quality (HIGH)

These checks verify the skill follows library conventions for discoverability.

IDCheckRuleAuto-fix
C1<objective> section existsMust be present in SKILL.md bodyYes — add stub
C2<quick_start> section existsMust be present in SKILL.md bodyYes — add stub
C3<success_criteria> section existsMust be present in SKILL.md bodyYes — add stub
C4Line countBody ≤ 500 lines (warning only)Warning
C5Dead reference linksInternal reference/ links must resolveYes — remove dead
C6Naming conventionDirectory ends with -skillWarning

Detection for C1-C3: Search SKILL.md body (after frontmatter) for <objective>, <quick_start>, <success_criteria>. Detection for C4: wc -l SKILL.md. Detection for C5: Extract paths from [text](reference/...) links, verify file exists. Detection for C6: Check directory name ends with -skill.

Layer 3: Integration Health (MEDIUM)

These checks verify consistency across the library.

IDCheckRuleAuto-fix
I1config.json has standard keysMust have name, version, categoryYes — add missing
I2Uses activation_triggers keyNot triggers (legacy name)Yes — rename key
I3Uses depends_on keyNot dependencies (legacy name)Yes — rename key
I4Has version fieldMust have version stringYes — add "1.0.0"
I5No duplicate activation triggersNo trigger collisions across skillsWarning

Detection for I2: Check if config.json has key triggers instead of activation_triggers. Detection for I3: Check if config.json has key dependencies instead of depends_on.


Diagnostic Flow

1. DISCOVER
   - Scan active/ and stable/ directories
   - Build skill inventory (name, path, has SKILL.md, has config.json)

2. LAYER 1 — STRUCTURAL
   - For each skill: parse YAML frontmatter, validate fields
   - STOP on critical failures (no SKILL.md = skip remaining checks)

3. LAYER 2 — CONTENT
   - For each skill: search for XML sections, check line count
   - Check naming convention

4. LAYER 3 — INTEGRATION
   - For each skill: validate config.json schema
   - Cross-skill: check for duplicate triggers

5. REPORT
   - Generate health report grouped by severity
   - Calculate health score
   - List available auto-fixes

Output Format

Generate the report in this exact format:

SKILL HEALTH REPORT
════════════════════════════════════════════════
Scanned: X skills | Health Score: Y/Z (N%)

CRITICAL (n):
  ✗ skill-name: Description of issue [CHECK-ID]

HIGH (n):
  ⚠ skill-name: Description of issue [CHECK-ID]

MEDIUM (n):
  ℹ skill-name: Description of issue [CHECK-ID]

WARNINGS (n):
  ~ skill-name: Description of advisory [CHECK-ID]

════════════════════════════════════════════════
AUTO-FIX AVAILABLE: N issues can be auto-fixed
  Run /heal-skill --fix to preview and apply

Single skill mode — same format but for one skill only.

Severity definitions:

  • CRITICAL: Skill cannot load or activate (S1-S10 failures)
  • HIGH: Skill loads but missing expected sections (C1-C3)
  • MEDIUM: Schema inconsistencies that affect library tooling (I1-I5)
  • WARNING: Advisory only, no action required (C4, C6)

Auto-Fix Protocol

When --fix is specified, follow this exact protocol:

1. PREVIEW
   - Show each proposed change as a diff:

FIX: skill-name — [CHECK-ID] Description --- before +++ after @@ change description @@ -old content +new content


2. CONFIRM
   - Ask user: "Apply N fixes? (yes/no/select)"
   - "select" lets user pick individual fixes

3. APPLY
   - Make changes to files
   - Re-run affected checks to verify fix worked

4. RE-VALIDATE
   - Run full scan on fixed skills
   - Report new health score

Auto-fix strategies by check:

CheckFix Strategy
S3Slugify: lowercase, replace spaces/special chars with hyphens
S5Truncate to 1024 chars at last sentence boundary
S6Strip XML tags with regex: </?[a-z_]+> → empty string
S7If array: join elements with ". ". If object: use first value
S9Generate minimal config.json from SKILL.md frontmatter
C1Add <objective>\nTODO: Add objective\n</objective> after frontmatter
C2Add <quick_start>\nTODO: Add quick start\n</quick_start> after objective
C3Add <success_criteria>\nTODO: Add success criteria\n</success_criteria> after quick_start
C5Remove dead [text](reference/...) links
I1Add missing keys with defaults from SKILL.md frontmatter
I2Rename triggersactivation_triggers in config.json
I3Rename dependenciesdepends_on in config.json
I4Add "version": "1.0.0" to config.json

Known Issue Patterns

These patterns come from real GitHub issues and library audits. The diagnostic engine checks for all of them.

SourcePatternCheck
GitHub #9817Whitespace before --- prevents YAML parseS1
GitHub #11322Prettier reformats description to multi-lineS7
GitHub #17604YAML array in description crashes slash commandsS7
GitHub #6377Missing name field despite valid YAML structureS2
GitHub #14882Skills consume full tokens (no progressive disclosure)C4
GitHub #14577/skills shows "No skills found" — frontmatter parse failureS1, S2
Library audit8 skills missing XML sectionsC1-C3
Library audit9 skills using legacy config.json keysI2, I3
Library audit1 skill missing -skill suffixC6

</core_content>

<common_mistakes>

What Goes Wrong

MistakeFix
Running --fix without reviewing diffsAlways preview first. The protocol requires confirmation.
Ignoring WARNINGSWarnings are advisory but indicate tech debt. Track them.
Fixing only CRITICAL issuesHIGH and MEDIUM issues affect discoverability and tooling. Fix all layers.
Adding XML stubs without filling them inStubs are placeholders. Schedule time to write real content.
Running heal on a single skill when library-wide issues existRun full scan first to see the big picture.

Emit Outcome Sidecar

As the final step, write to ~/.claude/skill-analytics/last-outcome-heal.json:

{"ts":"[UTC ISO8601]","skill":"heal","version":"1.0.0","variant":"default",
 "status":"[success|partial|error]","runtime_ms":[estimated ms from start],
 "metrics":{"skills_scanned":[n],"issues_found":[n],"fixes_applied":[n]},
 "error":null,"session_id":"[YYYY-MM-DD]"}

Use status "partial" if some stages failed but results were produced. Use "error" only if no output was generated.

</common_mistakes>

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.5%
按下载量换算107

Claude

30.72%
按下载量换算95

Cursor

17.75%
按下载量换算55

Gemini CLI

10.05%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills