skill-invocation-router
What it does
This skill sets and tests the rules that decide who can start an agent skill and when. It is for teams that run skills in several ways and want clear, checkable rules.
When to use it
- ✓When you want to control whether a person, the AI, or another skill can start a skill.
- ✓When you need to test how a request would be matched to a skill before it runs.
- ✓When you want an activation rule that can be audited later.
Skill link
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/25-skill-invocation-and-routing/outputs/skill-invocation-router/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 whether the AI can start my billing skill on its own, and show why the decision was made.”
5 new skills a week. 1 minute to read.
How it works
The agent classifies the request, checks the allowed skills for that channel, removes ineligible ones, and scores the rest. It returns a decision with the reason, or abstains when no skill is a good enough match.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Skill invocation router
Use this skill when a host needs an auditable activation policy rather than one undifferentiated invocable flag.
- Read
references/invocation-model.mdand classify the requested channel. - Review
assets/host-policy.jsonas an example adapter configuration, not a portable standard. - Run
python3 scripts/simulate_invocation.py --policy assets/host-policy.json --actor ACTOR --name NAME --description DESCRIPTION --query QUERY [--explicit-name NAME] [--caller-name NAME] [--depth N] [--user-invocable true|false] [--disable-model-invocation true|false]. - For a human, application, skill, or harness request, require an exact discovered name and its channel-specific allowlist.
- For a skill caller, also require caller identity, a non-cyclic target, and a bounded composition depth.
- For a model or autonomous agent request, remove candidates that the actor or recognized host extensions make ineligible.
- Score only the remaining descriptions. Select the strongest eligible match or abstain when no eligible candidate clears the threshold.
- Return the JSON decision with the adapter, channel, score, and policy reason.
Activation loads instructions. It does not approve tools, filesystem changes, network access, secret use, or bundled scripts.
FAQ
Does activating a skill give it permission to act?
No. Activation loads instructions only. It does not approve tools, file changes, network access, or scripts.
What if no skill matches well?
The router can abstain, so no skill is started by mistake.
Are the rules portable?
No. The example policy is one host's setup, not a universal standard.
Details
Original description by the author
Design and test explicit human, implicit model or agent, programmatic application, bounded skill-composition, and harness activation policies for an Agent Skill catalog.
Popularity
- GitHub stars
- 76k
- Ranking position
- #2631
- 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.