Skip to content
Skillpedia
Agents76k · #2629

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.md

Copy 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

Use this skill to help me: 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.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

  1. Set SKILL_ROOT to the absolute directory containing this installed SKILL.md. Do not assume the process working directory is the bundle.
  2. Set TARGET_ROOT to the absolute original workspace working directory and resolve the proposed skill directory under that root.
  3. Read $SKILL_ROOT/references/contract.md and validate the portable SKILL.md identity fields.
  4. Read $SKILL_ROOT/references/decision-model.md and separate repository context, reusable method, external capability, lifecycle timing, deterministic logic, and isolated delegation.
  5. Before execution, show the exact resolved argument vector. Run python3 "$SKILL_ROOT/scripts/check_skill.py" "$TARGET_SKILL", where TARGET_SKILL is the absolute proposed skill directory under TARGET_ROOT.
  6. Inspect the JSON report. Fix every error before discussing host-specific extensions.
  7. Compare the proposed artifact with $SKILL_ROOT/assets/task-shapes.json and 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.

repo: rohitg00/ai-engineering-from-scratch

Popularity

GitHub stars
76k
Ranking position
#2629
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills