skill-contract-reviewer
What it does
This skill checks a proposed Agent Skill package and recommends the right building blocks for it. It is for people who are creating reusable skills for AI agents.
When to use it
- ✓When a repeated workflow is about to become a reusable agent skill.
- ✓When you want to check that a skill package has valid identity fields and structure.
- ✓When you want to decide whether a task should be a skill, a tool, or a scheduled step.
Skill link
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/22-skills-and-agent-sdks/outputs/skill-contract-reviewer/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check my new skill folder for mistakes and tell me whether it should be a skill or a tool.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the skill contract, runs a validation script on the proposed folder, and reads the report. It then compares the skill with common task types and suggests the smallest set of parts that fit.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Skill contract reviewer
Use this skill when a workflow is about to become a reusable agent artifact.
- Set
SKILL_ROOTto the absolute directory containing this installedSKILL.md. Do not assume the process working directory is the bundle. - Set
TARGET_ROOTto the absolute original workspace working directory and resolve the proposed skill directory under that root. - Read
$SKILL_ROOT/references/contract.mdand validate the portableSKILL.mdidentity fields. - Read
$SKILL_ROOT/references/decision-model.mdand separate repository context, reusable method, external capability, lifecycle timing, deterministic logic, and isolated delegation. - Before execution, show the exact resolved argument vector. Run
python3 "$SKILL_ROOT/scripts/check_skill.py" "$TARGET_SKILL", whereTARGET_SKILLis the absolute proposed skill directory underTARGET_ROOT. - Inspect the JSON report. Fix every error before discussing host-specific extensions.
- Compare the proposed artifact with
$SKILL_ROOT/assets/task-shapes.jsonand return the smallest composable set of primitives.
Do not claim that a runtime extension is part of the portable contract. Do not treat a valid skill as permission to run scripts or access tools.
Return the validation report, the selected primitives, and one sentence explaining each selection. Include execution evidence with the resolved script path, resolved target path, cwd, exact argv, and exit code. If the host cannot expose one of those observations, mark it unverified instead of inventing it.
FAQ
Does a valid skill get permission to run scripts?
No. The skill states that being valid does not give permission to run scripts or use tools.
What does it check?
It checks the portable identity fields and the package structure, and reports every error it finds.
Does it change my skill?
It reports problems. Fixes are made by you or by another step.
Details
Original description by the author
Validate an Agent Skill package and choose the right instruction, capability, or lifecycle primitive before implementation.
Popularity
- GitHub stars
- 76k
- Ranking position
- #2629
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
blueprint-figure
76kHelps your agent draw clear, static SVG diagrams for lessons, READMEs, and manuals, showing how real parts of a system connect.
build-project
76kActs as a project tutor that guides you through one stage of a hands-on AI project at a time, with hints and a grader, but not full answers.
check-understanding
76kQuizzes you on a completed phase of the AI Engineering from Scratch course, so you can check what you have learned before moving on.
claude-certification
76kActs as a step-by-step tutor for the Claude certification tracks in the AI Engineering from Scratch course, with lessons, labs, and practice exams.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.