Lint yus skills for Codex/Cursor-safe frontmatter and Claude-only substitutions before a skill PR.
Ships in yus-admin. 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.
None: SKILL.md is the whole skill.
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: yus 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: yus if the CONTRIBUTING template calls for it.origin, version, and argument-hint on the Codex copy.npx, yus, 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
3 plugins in one repository ship this exact skill · first indexed Nov 17, 2026
24 skills in this plugin
/agent-sortBuild an evidence-backed yus install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when yus should be trimmed to what a project actually needs instead of loading the full bundle./ckPersistent per-project memory for Claude Code (Context Keeper) driven by deterministic Node.js /ck commands: init, save, resume, info, list, forget, and v1-to-v2 migrate, plus a SessionStart hook that injects a compact project brief. Use when context must survive across sessions, saving session state with next steps and decisions, resuming where a previous session left off, or picking up a project without re-explaining it./config-gcOther plugins' skills for the same job
/yus-admin:skill-host-compatfrom yus-admin
npx claudepluginhub yusei21/yus --plugin yus-admin