Principle:AMAP ML SkillClaw Skill Verification
| Knowledge Sources | |
|---|---|
| Domains | Quality_Evaluation, Publishing_Gate |
| Last Updated | 2026-10-22 00:00 GMT |
Overview
A publication gate that uses an LLM verifier to check candidate skills against multiple quality dimensions before publishing to shared storage, with a configurable acceptance threshold.
Description
Skill verification addresses the problem of preventing low-quality skill updates from reaching the shared skill library. The SkillClaw pattern sends the candidate skill, current skill (if evolving), and session evidence to an LLM verifier. The verifier checks four dimensions: `grounded_in_evidence` (is the change supported by sessions?), `preserves_existing_value` (does it maintain prior quality?), `specificity_and_reusability` (is it general enough?), and `safe_to_publish` (is it free of harmful content?). If the overall score is below the `min_score` threshold (default 0.75), the candidate is rejected regardless of the LLM's decision. On verifier failure, the candidate is safely rejected.
Usage
Use this principle when designing systems that need:
- Quality gates for automated content publishing
- Multi-dimensional verification with threshold enforcement
- Safe-fail behavior (reject on verifier errors)
- Evidence-grounded quality assessment
Theoretical Basis
The verification combines LLM judgment with threshold enforcement:
Failed to parse (syntax error): {\displaystyle \text{accepted} = (\text{decision} = \text{accept}) \land (\text{score} \geq \text{min\_score})}
# Abstract algorithm (NOT real implementation)
async def verify_candidate(llm, skill, sessions, current_skill, min_score=0.75):
payload = {"candidate": skill, "current": current_skill, "evidence": sessions}
result = await llm.chat(verify_prompt(payload))
parsed = parse_json(result)
score = parsed["score"]
decision = parsed["decision"]
accepted = decision == "accept" and score >= min_score
return {"accepted": accepted, "score": score, "checks": parsed["checks"]}