align

A command for aligning project instructions and rules with the project’s profile and development tools. It reads the project context, selects relevant guidance, and applies a staged plan with checks.

In plain words
What is it for?
Use it to review and update instructions for projects using click, pytest, arch-business-logic, arch-ui, and arch-unknown.
Why use it?
It helps prevent agent instructions from drifting away from the actual project, its current stage, or its tools.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/apexiq/skillsmith/align
Clone the repo
git clone --depth 1 https://github.com/ApexIQ/skillsmith

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00534
Opus 5 $0.00000 $0.00267
Sonnet 5 $0.00000 $0.00107
Haiku 4.5 $0.00000 $0.00053

Measured yesterday against content hash fe1ea16fe1ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

align 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 yesterday.

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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • evolve — 88% identical, 10 lines differ
  • bootstrap — 88% identical, 10 lines differ
  • autonomous — 88% identical, 10 lines differ
  • explain — 84% identical, 10 lines differ
  • audit — 84% identical, 12 lines differ
  • implement-feature — 84% identical, 10 lines differ
  • cleanup — 83% identical, 10 lines differ
  • compose — 83% identical, 10 lines differ
.claude/commands/align.md · 28 lines

How it starts

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

Command: /align

This command is powered by a dynamic Skillsmith workflow bundle.

Goal

align project instructions and rules with the profile for library click, pytest, arch-business-logic, arch-ui, arch-unknown

Resources

  • Workflow Bundle: .agent/workflows/align.md
  • Top Skills: uv_package_manager, core_components, javascript_testing_patterns, notebooklm, loki_mode

Execution Plan

  1. Read .agent/project_profile.yaml and .agent/context/project-context.md.
  2. Confirm the requested goal against the current project stage and target tools.
  3. [AND] Discover stage: Read .agent/project_profile.yaml and .agent/context/project-context.md before taking action. Acceptance: Project profile and generated context are present or inferred without error.; The ranked skill list is deterministic for the current goal and profile..
  4. [OR] Plan stage: Turn the goal into a minimal patch plan with explicit verification checkpoints. Acceptance: The plan names concrete files, commands, or subsystems.; Every planned step has at least one verification check..
  5. [OR] Build stage: Implement the smallest coherent change needed for the goal. Acceptance: The patch changes only the files needed for the requested goal.; The requested behavior is present in the generated workflow output..
  6. [AND] Review stage: Inspect the changed files for correctness, regressions, and missing coverage. Acceptance: The review names concrete risks or confirms the change is safe.; The review output is ordered and actionable for the next agent..
  7. [AND] Test stage: Run the relevant automated tests for the changed workflow behavior. Acceptance: Targeted tests pass after the implementation change.; The failure mode is observable if the stage structure regresses..
  8. [AND] Ship stage: Make the workflow output usable as a release-grade handoff artifact. Acceptance: The generated workflow includes both stage structure and the legacy steps list.; Compose output remains stable across repeated runs with the same inputs..
  9. [AND] Reflect stage: Summarize what the evidence says about the current run. Acceptance: Reflection text is grounded in the run's actual feedback or retry state.; Any mode suggestion comes from the current evidence, not a dummy rule..
  10. Load the top relevant skills: uv_package_manager, core_components, javascript_testing_patterns, notebooklm, loki_mode.
  11. Verification loop: run 1 verification pass before completion.
  12. Run the most relevant test or validation command before completion.

Read the full file on GitHub · 28 lines

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. yesterday First seen · 28 lines · 0 tokens per session scan A fe1ea16fe1ff

Subscribe to this mod's changes

align is a command published in the GitHub repository ApexIQ/skillsmith (5 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 534 tokens. 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-08-31.