Agent Skills › rohitg00/ai-engineering-from-scratch › skill-invocation-router

skill-invocation-router

GitHub

用于设计并测试Agent技能目录的显式或隐式激活策略。通过模拟脚本评估调用者身份、通道类型及合规性,生成可审计的JSON决策,确保技能调用的安全与规范。

phases/13-tools-and-protocols/25-skill-invocation-and-routing/outputs/skill-invocation-router/SKILL.md rohitg00/ai-engineering-from-scratch

Trigger Scenarios

需要为Agent技能配置可审计的激活策略 执行技能调用模拟与合规性评分 调整技能调用的准入规则与候选过滤

Install

npx skills add rohitg00/ai-engineering-from-scratch --skill skill-invocation-router -g -y
More Options

Non-standard path

npx skills add https://github.com/rohitg00/ai-engineering-from-scratch/tree/main/phases/13-tools-and-protocols/25-skill-invocation-and-routing/outputs/skill-invocation-router -g -y

Use without installing

npx skills use rohitg00/ai-engineering-from-scratch@skill-invocation-router

指定 Agent (Claude Code)

npx skills add rohitg00/ai-engineering-from-scratch --skill skill-invocation-router -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohitg00/ai-engineering-from-scratch --all -g -y

预览 repo 内 skill

npx skills add rohitg00/ai-engineering-from-scratch --list

SKILL.md

Frontmatter
{
    "name": "skill-invocation-router",
    "license": "MIT",
    "metadata": {
        "lesson": "25"
    },
    "description": "Design and test explicit human, implicit model or agent, programmatic application, bounded skill-composition, and harness activation policies for an Agent Skill catalog."
}

Skill invocation router

Use this skill when a host needs an auditable activation policy rather than one undifferentiated invocable flag.

  1. Read references/invocation-model.md and classify the requested channel.
  2. Review assets/host-policy.json as an example adapter configuration, not a portable standard.
  3. 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].
  4. For a human, application, skill, or harness request, require an exact discovered name and its channel-specific allowlist.
  5. For a skill caller, also require caller identity, a non-cyclic target, and a bounded composition depth.
  6. For a model or autonomous agent request, remove candidates that the actor or recognized host extensions make ineligible.
  7. Score only the remaining descriptions. Select the strongest eligible match or abstain when no eligible candidate clears the threshold.
  8. 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.

Version History

  • 39ea8a1 Current 2026-08-28 11:20

Same Skill Collection

.claude/skills/blueprint-figure/SKILL.md
.claude/skills/build-project/SKILL.md
.claude/skills/check-understanding/SKILL.md
.claude/skills/claude-certification/SKILL.md
.claude/skills/course-guide/SKILL.md
.claude/skills/course-style/SKILL.md
.claude/skills/find-your-level/SKILL.md
.claude/skills/isometric-explainer/SKILL.md
.claude/skills/learn-agent-skills/SKILL.md
.claude/skills/learn-mcp/SKILL.md
.claude/skills/learn-reverse-engineering/SKILL.md
.claude/skills/learn/SKILL.md
.claude/skills/mcpa-certification/SKILL.md
.claude/skills/motion-figure/SKILL.md
.claude/skills/start-learning/SKILL.md
.claude/skills/write-manual/SKILL.md
phases/13-tools-and-protocols/22-skills-and-agent-sdks/outputs/skill-contract-reviewer/SKILL.md
phases/13-tools-and-protocols/24-skill-discovery-and-progressive-disclosure/outputs/skill-catalog-builder/SKILL.md
phases/13-tools-and-protocols/26-skill-permissions-sandboxes-and-trust/outputs/skill-safety-reviewer/SKILL.md
phases/13-tools-and-protocols/27-skill-evals-packaging-and-portability/outputs/skill-release-gate/SKILL.md
skills/blueprint-figure/SKILL.md
skills/build-project/SKILL.md
skills/check-understanding/SKILL.md
skills/claude-certification/SKILL.md
skills/course-guide/SKILL.md
skills/course-style/SKILL.md
skills/find-your-level/SKILL.md
skills/isometric-explainer/SKILL.md
skills/learn-agent-skills/SKILL.md
skills/learn-mcp/SKILL.md
skills/learn-reverse-engineering/SKILL.md
skills/learn/SKILL.md
skills/mcpa-certification/SKILL.md
skills/motion-figure/SKILL.md
skills/start-learning/SKILL.md
skills/write-manual/SKILL.md
projects/skill-validator/examples/orchard-release/SKILL.md
projects/skill-router/examples/skills/check-tests/SKILL.md
projects/skill-router/examples/skills/release-publish/SKILL.md
projects/skill-router/examples/skills/release-review/SKILL.md
projects/skill-scanner/examples/benign/SKILL.md
projects/skill-scanner/examples/reviewable/SKILL.md

Metadata

Files
0
Version
0d4b1ca
Hash
7376d66c
Indexed
2026-08-28 11:20

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 02:39
浙ICP备14020137号-1