ai-agents: Skill for Claude Code

.claude/skills/ai-agents-portability-campaign/SKILL.md

ai-agents-portability-campaign is a skill for Claude Code from rjmurillo/ai-agents. It costs 104 tokens per session (2,765 once invoked), scanned A, original, MIT.

A workflow for changing and testing agent hooks across Claude Code and GitHub Copilot CLI using documented behavior and runtime checks.

In plain words
What is it for?
Use it to port hooks, verify event and timeout behavior, and recheck compatibility after a Copilot CLI release.
Why use it?
It reduces portability problems when the same hook must work across different coding-agent tools or after a tool update.

Skill for Claude Code

Written for Claude Code: SessionEnd hook event. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is rjmurillo/ai-agents's own configuration. It tells Claude Code how to work on ai-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agents configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python build/scripts/build_all.py.

Part of the project-toolkit plugin — 113 skills, 26 commands, 33 agents, 4 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to rjmurillo/ai-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rjmurillo/ai-agents/main/.claude/skills/ai-agents-portability-campaign/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 113 skills, 26 commands, 33 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-agents-portability-campaign

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-portability-campaign/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-portability-campaign)
Your own site
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-portability-campaign"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-portability-campaign/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-agents-portability-campaign

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-portability-campaign"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-portability-campaign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 31
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.02765
Opus 5 $0.00052 $0.01383
Sonnet 5 $0.00021 $0.00553
Haiku 4.5 $0.00010 $0.00277

Measured 8d ago against content hash 826dba704e99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ai-agents-portability-campaign scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test_structure_ai_agents_portability_campaign.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ai-agents-portability-campaign/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ai-agents Portability Campaign

This skill changes hooks. agent-harness-reference owns hook facts. ai-agents-empirical-probe-toolkit owns probe design. ai-agents-generation-and-release owns mirror generation and the release path.

Triggers

  • run the portability campaign
  • port hooks to a new harness
  • copilot hook timeout regression
  • verify the copilot runtime contract
  • new copilot cli release, recheck the contract

Process

Phase 0: Load the Settled Contract

Read:

  1. .claude/skills/agent-harness-reference/SKILL.md
  2. .claude/skills/agent-harness-reference/references/official-hook-contracts.md
  3. .claude/skills/agent-harness-reference/references/probe-evidence.md
  4. .agents/architecture/ADR-068-consolidated-hook-dispatcher.md
  5. .agents/architecture/ADR-071-plugin-hook-runtime-contract-verification.md
  6. .claude/rules/generated-artifacts.md

Do not run open-ended documentation research. Re-search or re-probe only when the reference skill's refresh rules apply.

Current load-bearing facts:

Dimension Settled contract
Event casing PascalCase compatibility events deliver snake_case payloads
Stop Stop is per-turn completion; SessionEnd is process lifecycle
PreCompact Supported locally and in cloud automatic compaction
Matcher Supported; PascalCase tool events use Claude-compatible tool names
PreToolUse deny Top-level permissionDecision; nonzero denies; timeout fails open
PermissionRequest behavior accepts only allow or deny; translated ask emits nothing
Observer output Active PostToolUse text merges into one additionalContext; dormant SessionStart, PreCompact, and UserPromptSubmit adapters discard output; unclassified events stay direct
Cloud reach Only default-branch .github/hooks/*.json loads
Plugin paths Anchor through plugin-root variables; do not depend on cwd

Read the full file on GitHub · 281 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 281 lines · 104 tokens per session scan A 826dba704e99

Subscribe to this mod's changes

ai-agents-portability-campaign is a skill published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 2,765 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.