skill-validate
Validate a skill's manifest, catalog entry, and blast-radius gates. Use before publishing any skill.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 6
01 前言 Front Matter
- name
- skill-validate
- description
- Validate a skill's manifest, catalog entry, and blast-radius gates. Use before publishing any skill.
- allowed-tools
- Read, Grep, Glob
- argument-hint
- [skill-name]
- disable-model-invocation
- true
02 资源文件 1
- 参考文档manifest.yaml608 B
03 SKILL.md 正文
Skill Validate — Governance Gate
Purpose
Verify that a skill complies with the manifest schema, catalog requirements, and blast-radius gates.
Inputs
-
Skill name
-
Template paths are resolved from
${AGENTS_SKILLS_ROOT}/skill-validate/.
Steps
- Locate skill in
.agents/skills,.agents/OpenClaw, or.agents/n8n. - Read
manifest.yamland validate required fields:name,type,version,owner,status,blast_radius,description,permissions,data_categories,egress,invoke,location
- Confirm catalog entry exists in
.jarvis/context/skills/_catalog.md. - Blast-radius gates
- Low: self-test evidence required
- Medium: self-test + peer spot-check evidence required
- High: self-test + staging proof + explicit approval required
- Traces infrastructure check (if
traces:block exists in manifest):- Verify
_shared/trace_capture.pyexists at${AGENTS_SKILLS_ROOT}/_shared/trace_capture.py - Verify
_shared/trace_query.pyexists at${AGENTS_SKILLS_ROOT}/_shared/trace_query.py - If
traces.gatesdeclares gate names, verify the SKILL.md or commands/*.md contains the "Decision Trace Protocol" or "Feedback Capture" section - If traces is enabled but no protocol section exists, warn: "traces enabled but no capture/consultation directives in skill docs"
- Verify
- Return a pass/fail with a remediation list.
Decision Trace Protocol
This skill participates in the skill evolution system by capturing decision traces at gate resolutions and consulting accumulated feedback.
Trace Consultation (short loop)
Before executing any step with a quality or human gate, query accumulated decision traces:
python3 "${AGENTS_SKILLS_ROOT}/_shared/trace_query.py" recent \
--skill "skill-validate" --gate "<gate_name>" --limit 5 --min-loops 1
If patterns or recent feedback exist, incorporate them as additional constraints. Do not cite traces to the user unless asked.
Trace Capture (after gate resolution)
After every gate resolves, capture a decision trace:
python3 "${AGENTS_SKILLS_ROOT}/_shared/trace_capture.py" capture \
--skill "skill-validate" \
--gate "<gate_name>" --gate-type "<human|quality>" \
--outcome "<approved|rejected|passed|failed>" \
--refinement-loops <N> \
[--feedback "<user's feedback text>"] \
[--category <CATEGORY>]
Post-Run Retrospective
After completion, ask: "Any feedback on this skill-validate run? (skip to finish)" If provided, capture via trace_capture.py with gate "run_retrospective" and gate-type "retrospective".
Output
- Status: PASS or FAIL
- Missing fields or mismatches
- Required next actions (tests, approvals)
04 同仓库更多 Skills
personal-knowledge
Save sources to the private Harnessy learning library, sync delivered readings, answer questions from saved evidence, browse its wiki, and generate weekly learning reviews.
valid-skill
A valid skill for testing purposes.
unknown-field
A skill with an unknown frontmatter field.
nested-child
Nested skill should be ignored.
root-skill-preferred
Root skill should win.
no-frontmatter
暂无简介