/ai-skill-authoring:skill-host-compatfrom ai-skill-authoring
Lints ECC skills for Codex/Cursor-safe frontmatter and Claude-only substitutions before opening a skill PR.
Ships in ai-skill-authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run the same host-compat gate CI uses on skills/ before opening a skill PR.
The check is for Codex and Cursor copies, not Claude-only runtime quality.
skills/.agents/skills/ or .cursor/skills/validate-skill-host-compat.js findingsCanonical skills live in skills/. Codex loads .agents/skills/. Cursor loads a
smaller .cursor/skills/ subset. CONTRIBUTING documents that sync as manual.
validate-skills.js only checks that SKILL.md exists and that name /
description are usable YAML. tests/ci/codex-skill-surface.test.js only
sees .agents/skills/. This script is the cross-tree gate:
bash / sh / zsh fences
in Codex/Cursor projections (${CLAUDE_SESSION_ID}, ${CLAUDE_SKILL_DIR}, ${CLAUDE_PLUGIN_ROOT},
${CLAUDE_PROJECT_DIR}, $ARGUMENTS) fail. Codex leaves those tokens
as literal text. In a Codex copy, rewrite ${CLAUDE_PROJECT_DIR} to
$(pwd) or an explicit path.name, description, metadata, license,
and allowed-tools. origin: ECC may stay on the canonical skills/
copy and must be stripped on the Codex copy.agents/openai.yaml that has a skills/ directory must
have .agents/skills/<name>/. Cursor copies are optional; when present,
name: must match the directory.--strict-checklist.validate-skills.js frontmatter WARN default is unchanged (#1663).
From the repo root:
node scripts/ci/validate-skill-host-compat.js
Print counts without failing:
node scripts/ci/validate-skill-host-compat.js --inventory
Promote checklist warnings:
node scripts/ci/validate-skill-host-compat.js --strict-checklist
Slash command:
/skill-host-compat
/skill-host-compat --inventory
Codex and Cursor projections must resolve Claude-only substitutions in executable blocks. Canonical Claude-scoped examples remain valid. POSIX $1 and ${1} parameters are ambiguous and require review rather than failing this gate. This fence is the
forbidden pattern:
echo "${CLAUDE_SESSION_ID}"
ls "${CLAUDE_SKILL_DIR}"
node "${CLAUDE_PLUGIN_ROOT}/scripts/setup.js" $ARGUMENTS
cd "${CLAUDE_PROJECT_DIR}"
Do not add version: or origin: to a Codex copy under .agents/skills/.
Do not treat a passing validate-skills.js run as Codex-safe. Do not require
every skills/ entry to have a Cursor copy.
origin: ECC if the CONTRIBUTING template calls for it.origin, version, and argument-hint on the Codex copy.npx, ecc, or a resolved
root). Rewrite ${CLAUDE_PROJECT_DIR} in Codex copies to $(pwd) or an
explicit path. Keep valid Claude-scoped forms in canonical instructions; resolve host variables in the target projection.npm test when the change is a new skill.--inventory to see checklist warning volume without failing the tree.skill-comply — runtime behavioral traces, not host-portabilityskill-stocktake — holistic audit of installed ~/.claude/skillsskill-scout — search existing skills before creating a new oneWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub marslanalvi/skillsstack --plugin ai-skill-authoring16 skills in this plugin
/agent-creatorCreate custom AI subagents with proper plugin structure, persona generation, and companion routing skills./diagnosing-superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness./evaluation-methodologyPluginEval quality methodology, covering dimensions, rubrics, and scoring formulas. Use this skill when understanding how plugin quality is measured, when interpreting a low score on a specific dimension, when deciding how to improve a skill's triggering accuracy or orchestration fitness, when setting score thresholds for your marketplace, or when explaining quality badges to external partners like Neon./hookify-rulesCreate and configure hookify rules — markdown files with YAML frontmatter that match bash, file, prompt, or stop events by regex or conditions and show warn/block messages to the agent. Use when creating a hookify rule, writing hook rule syntax, configuring hookify, or adding pattern guardrails such as blocking dangerous commands, .env edits, or debug code./rules-distillScan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files. Use when the same principle keeps recurring across skills and belongs in a rule file instead./setup-matt-pocock-skillsConfigure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.Other plugins' skills for the same job