/skills:align-skillfrom skills
Inspects, aligns, hardens, and validates existing skill folders for Agent Skills, Codex, and Claude Code. Reviews frontmatter, trigger quality, workflow clarity, evals, and safety guardrails.
Ships in skills. 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.
For $align-skill --help or $align-skill -h (including native Claude forms), return concise help and stop before
any workflow step. State the purpose and invocation policy. Show exact usage
for every public action. Describe each public action, positional
argument, and flag in one concise line, including -h, --help; say "No
additional public flags" when there are no others. Use only the documented
public interface. For internal or coordinator-only skills, state that boundary
and that no standalone public workflow action exists. After the selected
SKILL.md is loaded, help is report-only: do not call any additional tools,
inspect project state, or modify files, private state, Git, or external systems.
Never expose private helper actions or flags or treat help as workflow
authorization.
Inspect, align, harden, validate, and improve one or more existing Agent Skill folders. Make the target easier to trigger correctly, cheaper to load, safer to execute, and independently evaluable without losing supported behavior. For every authorized writable target that completes alignment, create or update its canonical trigger evals and report static, runtime, and output-quality evidence separately.
This skill is separate from align, which is for end-to-end project/codebase
alignment.
SKILL.md front matter, description trigger quality,
scope, workflow clarity, output contract, and progressive disclosure.## Learning Loop rule on target skills.## Help contract so
$skill-name --help and $skill-name -h concisely explain the skill and
describe every public action, positional argument, and flag.evals/.code-review and apply-security review lanes to every target
skill before claiming the target is aligned.SKILL.md".align for that.skill-creator for initial scaffolding when the user is
creating a brand-new skill and the creator is available. Use this skill as the
authoring, hardening, and validation helper around that flow.Agent Skills use progressive disclosure: the host sees metadata first, then loads
the full SKILL.md only when the skill is selected. Front-load target type,
authoring intent, and boundaries in the front matter description.
For deterministic activation, use the host's explicit skill invocation and
name the target path, skill, folder, or GitHub URL. Codex uses $align-skill;
Claude Code uses /align-skill, or /skills:align-skill for the native plugin.
Read references/agent-portability.md before changing host-specific behavior.
Read references/triggering-guide.md when reviewing trigger behavior, surface
support, or prompt examples.
SKILL.md containing name and
description; agents/openai.yaml, assets/, evals/, references/, and
scripts/ are optional unless local repository policy requires them.SKILL.md short enough for
progressive disclosure.SKILL.md lines as a review warning. Move deep material
into focused references or record why the remaining core is justified.references/ or assets/.SKILL.md content limited to trigger, scope, required workflow,
guardrails, validation, and output contract. Put detailed rubrics, examples,
policy, troubleshooting, and templates in supporting files.Read references/canonical-skill-structure.md and
references/alignment-rubric.md when structure or quality criteria are in
scope.
Read references/progressive-disclosure-refactor.md before editing when a
target exceeds 500 SKILL.md lines or semantic review finds its always-loaded
instructions overloaded. Do not summarize sections mechanically.
Read references/evaluation-guide.md whenever creating, migrating, validating,
running, or reporting target evals.
For skill draft, scaffold, or update tasks, also read
references/skill-authoring-best-practices.md after the target scope is known.
For coordinator or state-machine skills, also use
assets/stateful-workflow-skill-template.md as the optional section template
and validate with the stateful-workflow profile when appropriate.
When the user asks to refine, harden, complete, or update a skill draft or newly scaffolded skill folder:
skill-creator is available, use it for
the initial scaffold or naming workflow, then return here for alignment,
safety, trigger quality, and validation.description
with user intent, accepted inputs, and boundaries from adjacent skills.SKILL.md with front matter name and
description.agents/openai.yaml for UI metadata, invocation
policy, and tool dependencies.## Help and ## Learning Loop sections,
require canonical trigger evals after writable alignment, and add other
resource folders only when useful.## Help contract so every public item
has exact usage plus a concise description. Include -h, --help; when the
skill has no other public flags, require the help response to say so. Never
infer public options from private helper scripts or workflow transitions.agents/openai.yaml when the target repository convention
expects OpenAI metadata. Use agents/openai.yaml, not agents.openai.yaml.
Add interface.default_prompt and a policy.allow_implicit_invocation
value derived from the skill requirements and SKILL.md.references/skill-authoring-best-practices.md.references/evaluation-guide.md.Required Reads, Writes,
Idempotency, Failure Handling, Must Not, and Completion Criteria
sections. Keep private execution state out of committed project files and
keep hooks as invariant guardrails rather than workflow orchestrators.--require-evals and the narrowest relevant checks. Broaden
only when the contract or shared validator changed.For every repo-owned skill that is created, refined, or aligned, add or repair
a standard ## Help section. Treat $skill-name --help and $skill-name -h
as report-only requests that, after the selected SKILL.md loads, stop before
workflow reads, additional tools, or mutation.
Before writing the Help contract, inventory the documented public interface.
Help must state the skill's purpose and invocation policy, show exact usage for
every public action, and describe each public action, positional argument, and
flag in one concise line. It must include -h, --help; when no other public
flags exist, it must say "No additional public flags." Use only the documented
public interface. Never expose private helper actions, script flags, or
workflow transitions. If the public interface is ambiguous, resolve the skill
contract or report the unresolved gap instead of inventing an option.
Internal or coordinator-only skills must state that boundary and that they have no standalone public workflow action.
When repository policy applies, inspect each target SKILL.md for a
## Learning Loop section. Add the standard section when it is missing,
keep existing wording only when it contains the validator-required public-safe
snippets, and repair stale or unsafe variants that allow raw logs, secrets,
environment-specific details, or unverified vendor claims. Report which target
skills were updated, already compliant, skipped, or left uncertain.
For every product, framework, SDK, CLI, API, or cloud service used by the target skill, check current official vendor documentation before changing related guidance, commands, examples, or code. Prefer official docs over blogs, tutorials, generated examples, Stack Overflow, or memory.
If official documentation does not verify a vendor-specific behavior, mark it
as unverified instead of presenting it as fact. Read
references/vendor-research-policy.md for the full policy.
When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.
Before reporting a target skill as aligned, apply these lanes to every target skill selected by a single-skill path, multi-skill parent folder, GitHub repository URL, or GitHub tree URL:
code-review in review-only mode for instruction quality, support scripts,
validation gaps, maintainability, over-complexity, and bloated SKILL.md
content.apply-security in advisory or scan mode for secrets, private URLs, unsafe
live actions, credential handling, external writes, dangerous scripts, and
supply-chain risk.These lanes do not broaden align-skill into project-wide align. Keep them
scoped to the target skill folders and their directly referenced resources. In
report-only mode, both lanes stay report-only. If edits are allowed, apply only
focused, low-risk fixes already permitted by the active task and by each child
skill's stricter safety rules.
If either lane cannot be resolved, loaded, or completed, report the lane as
incomplete with the paths or skills checked. Do not claim full alignment until
blocking code-review or apply-security findings are fixed, explicitly
deferred by the user, or reported as owner-review required.
Add guardrails for destructive operations, secrets, credentials, production systems, write operations, external service calls, and live tests. First verify that any environment is explicitly test, sandbox, disposable, or non-production. If that cannot be confirmed, do not run live external changes.
Use static validation, dry runs, local tests, schema validation, rendering, or
linting when live validation is unsafe. Read
references/safety-and-live-validation.md before running validation with side
effects.
Read references/canonical-skill-structure.md when checking structure,
metadata, naming, section placement, optional resources, or stateful-workflow
profile requirements. Keep the core distinction loaded here:
SKILL.md containing front
matter name and description.agents/openai.yaml, references/, scripts/,
and assets/ when they serve the skill.assets/, references/, and
scripts/ are added only when useful.Before editing every target, capture its current working bytes and inventory its
purpose, public actions, outputs, dependencies, native metadata, invocation
restrictions, hooks, authorization, state, idempotency, and recovery. Map each
compatibility edit to this inventory and compare affected behavior with the
baseline using proportionate tests. Preserve intentional product targets:
config-codex configures Codex and config-claude configures Claude regardless
of the executing host. Preserve Implement and Agentic SDLC worker/commit
ownership, native identity, continuation and recovery.
Do not remove native controls, hide required resources, or substitute weaker
behavior to obtain a compatibility pass. Unsupported host capabilities remain
explicit limitations. A necessary feature removal or behavioral redesign needs
a concrete conflict report and explicit user direction. Read
references/agent-portability.md for the behavior inventory and installation
checks; apply them to every target, including simple instruction-only skills.
When creating or hardening OpenAI metadata, derive
policy.allow_implicit_invocation from the skill requirements and SKILL.md
contract:
true for ordinary reusable skills that Codex may safely select when the
prompt matches their description.false when the skill must be explicitly invoked by the user or
coordinator, such as Git commit/push/PR/merge flows, release/publish flows,
ordinary auth or local setup, high-risk security mutation, container attachment,
external MCP installation, workflow test harnesses, or any sdlc-* Agentic
SDLC phase.true only when implicit selection is
read-only diagnosis/planning and a machine-checkable ## Invocation Policy
requires a displayed plan plus explicit current-turn confirmation before
every IAM, credential, profile, hook, or equivalent mutation.Use only as part of the Agentic SDLC workflow; and set
allow_implicit_invocation: false. The explicit external
sdlc-workflow-test verifier keeps an outside-workflow description and also
sets allow_implicit_invocation: false.agents/openai.yaml instead of relying on prose alone.For a Codex target, use assets/openai-agent-metadata.yaml.template when
OpenAI metadata is required. Do not add it solely to make a portable or Claude
target pass. Follow references/agent-portability.md for Claude policy;
coordinator-only routing is distinct from public explicit-only invocation.
For stateful workflow skills, use the template in
assets/stateful-workflow-skill-template.md. This profile is opt-in and should
not be forced onto simple instruction-only skills.
SKILL.md and
supporting folders. Before editing any writable target, capture its current
working bytes in a task-owned temporary baseline. Inventory the behavior
contract above; do not substitute HEAD for accepted working changes.--policy repository for this catalog and --policy agentskills
for external targets unless their repository requires stronger conventions.
Inventory each target's public actions, positional arguments, and flags.
Where repository policy applies, add or repair the standard ## Help section
so its report-only response describes every public interface item, and repair the
standard ## Learning Loop section when missing or unsafe.evals/trigger-prompts.csv, select proportionate quality evals or
deterministic tests, and run every applicable changed-scope eval. Keep the
CSV target-owned: do not follow symlinked path components or expose raw IDs
or prompts in validation output. For a report-only target, record the
missing or existing coverage without writing.SKILL.md, references,
assets, scripts, metadata, README entries, and changelog entries when those
surfaces exist and are in scope.code-review and apply-security lanes against the
target skill scope. Resolve safe blocking findings when edits are allowed;
otherwise report them as blockers, explicit deferrals, or owner-review needs.SKILL.md for runtime rules, references/
for detailed guidance, assets/ for reusable templates, scripts/ for
deterministic checks, and README or changelog entries for human-facing or
release-note updates.references/agent-portability.md. Compare affected
behavior against the captured baseline. Report strict-format extensions,
required runtime/hook setup, and every unavailable evidence lane separately.
An executed regression blocks acceptance of the affected change.Use the safe validation hierarchy:
Install the declared scripts/requirements.txt in an appropriate Python
environment before validation; never install dependencies silently. Static
checks stay offline. Follow references/agent-portability.md for the exact
policy/host matrix and disposable npx test. Keep --require-evals for writable
aligned targets and add --profile stateful-workflow only when applicable.
Repository validation checks existing canonical CSVs even without that flag;
standard-only validation checks them only when explicitly requested.
When changing validators, run scripts/test-validate-skill-structure.py,
scripts/test-skill-frontmatter.py and scripts/test-npx-compatibility.py.
These offline tests are distinct from the actual network-dependent installer
check. If execution is unavailable, report the missing evidence without a pass.
Report evidence with only these states:
STATIC_PASS: definitions and deterministic static checks passed.RUNTIME_PASS: fresh-surface trigger behavior was observed.QUALITY_PASS: output assertions passed against a prior-version or no-skill
baseline.NOT_RUN, UNAVAILABLE, or FAIL: the lane lacks passing evidence.Do not call a trigger CSV a runtime eval run. Require a fresh trigger check
after invocation changes when a runnable surface exists, and a quality
comparison after material behavior changes when a clean runner and baseline
exist. An executed applicable FAIL blocks completion.
Return:
skill-creator.code-review lane result.apply-security lane result.Use assets/alignment-report-template.md for longer reports and
assets/alignment-plan-template.md when a plan is needed.
Stop before making live external changes when the environment is not confirmed as non-production. Stop before destructive commands, credential changes, publishing, deleting, Terraform apply, Kubernetes mutation, database writes, or CI/CD writes unless the user explicitly requests them and safety checks pass.
Stop if vendor documentation cannot verify a proposed vendor-specific behavior; report it as unverified instead.
Stop before writing learned material into reusable skill sources when the learning is confidential, environment-specific, not evidence-backed, outside the target skill's scope, or the user requested report-only work. In that case, report the skipped source update and the reason.
Stop before claiming an authorized writable target is aligned when its
canonical trigger evals are missing or strict validation fails. For remote or
report-only targets, report EVALS_MISSING or the observed coverage and keep
the outcome partial without mutation.
Stop before claiming full alignment when mandatory code-review or
apply-security evidence is missing or incomplete. Report the incomplete lane
and remaining blocker instead.
Runtime skill triggering can be surface- and installation-dependent. If you did not observe the selected host loading the skill in the target surface, report trigger readiness from metadata inspection only, not as proven runtime activation.
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/alignment-plan-template.md (opens in a new tab)assets/alignment-report-template.md (opens in a new tab)assets/openai-agent-metadata.yaml.template (opens in a new tab)assets/stateful-workflow-skill-template.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/distribution-preservation.md (opens in a new tab)evals/fixtures/irreducible-700-line-skill.md (opens in a new tab)evals/fixtures/mixed-700-line-skill.md (opens in a new tab)evals/fixtures/portability-contract.md (opens in a new tab)evals/trigger-prompts.csv (opens in a new tab)references/agent-portability.md (opens in a new tab)references/alignment-rubric.md (opens in a new tab)references/canonical-skill-structure.md (opens in a new tab)references/evaluation-guide.md (opens in a new tab)references/progressive-disclosure-refactor.md (opens in a new tab)references/safety-and-live-validation.md (opens in a new tab)references/skill-authoring-best-practices.md (opens in a new tab)references/triggering-guide.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-alignment, skill-review, skill-harden, skill-validation
npx claudepluginhub nebius/nebius-ps-services --plugin skills75 skills in this plugin
/agent-nebius-auth-diagnoseRead-only diagnosis for current-session Nebius project discovery, agent authentication, quota reads, profiles, selectors, or auth-hook failures. Use when auth is missing/blocked; never mutate auth or IAM./agent-nebius-auth-setupUse only when explicitly invoked to bootstrap or repair current-project Codex Agent Nebius auth: account/tenant access, credentials/profile, repair lease, or separately requested auth hooks./ai-agent-designDesign provider-neutral production AI agent subsystems: behavior and topology, contracts, tools, context, memory, authority, durability, security, evals, and operations. Use ai-stack when AI technology selection remains, design/app-stack for whole products, and implementation skills for code.