align-skill

Reviews, hardens, and validates Agent Skill folders for Codex, Claude Code, and npx installation.

7|5|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/nebius/nebius-ps-services --skill align-skill-nebius
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: align-skill
Source: https://github.com/nebius/nebius-ps-services/tree/main/skills/align-skill
Command: npx skills add https://github.com/nebius/nebius-ps-services --skill align-skill-nebius

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Agent Skill folders often drift from structural standards, lack trigger evaluations, miss safety guardrails, or fail cross-host compatibility, making them hard to trigger correctly and risky to run. This Skill inspects, aligns, and validates existing or scaffolded skill folders while preserving their existing behavior. ## Core Features & Use Cases - Structural Alignment: Checks SKILL.md front matter, description trigger quality, scope, workflow clarity, and progressive disclosure against the Agent Skills portable minimum or stricter repository policy. - Cross-Host Validation: Validates Codex agents/openai.yaml metadata, Claude invocation policy, canonical trigger evals, and real npx installation parity using disposable environments. - Safety and Review Lanes: Applies mandatory code-review and apply-security lanes, adds guardrails for destructive actions and secrets, and verifies vendor-specific claims against official documentation. - Use Case: After scaffolding a new skill with skill-creator, run this Skill against the folder to repair its Help contract, create trigger evals, set the correct invocation policy, and confirm it installs cleanly for both Codex and Claude Code. ## Quick Start Use the align-skill skill to review and validate the skill folder at skills/my-skill and report its alignment evidence.

Frequently Asked Questions about align-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate an Agent Skill folder for Codex and Claude Code?

Run the included validate-skill-structure.py script with --policy repository and --agent codex or --agent claude against the skill folder. It checks front matter, Help and Learning Loop contracts, invocation policy, and canonical trigger evals without requiring network access.

What is the minimum structure required for an Agent Skill?

The portable Agent Skills minimum is a folder containing SKILL.md with YAML front matter defining name and description. Optional folders like agents/, references/, scripts/, assets/, and evals/ are added only when they serve the skill or when repository policy requires them.

Does align-skill work with skills installed via npx?

Yes, it includes check-npx-compatibility.py, which runs the pinned skills CLI in disposable homes to verify discovery, copied payload parity, and repeat-install convergence for both Codex and Claude Code. It never executes skill scripts or modifies real user configuration.

When should I use skill-creator instead of align-skill?

Use skill-creator for initial scaffolding of a brand-new skill, then use align-skill for hardening, trigger quality, safety guardrails, and validation. align-skill targets existing or scaffolded folders, not greenfield creation.

What happens when a SKILL.md exceeds 500 lines?

More than 500 lines triggers a review warning, not an automatic failure. The skill applies a progressive-disclosure refactor that classifies blocks, preserves safety and decision-changing rationale, and either moves content to references or records a justified exception.

Can align-skill modify remote or report-only skill targets?

No, remote GitHub sources and report-only targets are never mutated. The skill inspects them, reports alignment gaps and missing evals, and keeps the outcome explicitly partial.