realign

realign is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 101 tokens per session (3,493 once invoked), scanned A, original, MIT.

An assisted editor for moving repository instructions to the folders and files where an agent will load them. Each proposed move is shown for human approval before it changes the repository.

In plain words
What is it for?
Use it to apply the findings of an instruction-placement audit one item at a time and create path-specific rule files.
Why use it?
It reduces the risk that narrowly scoped rules are placed in always-loaded instructions, or that important guidance is hidden where the agent will not see it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the instruction-placement plugin — 3 skills shipped together

Good fit Use it to apply the findings of an instruction-placement audit one item at a time and create path-specific rule files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install instruction-placement

Made for: Claude Code.

Or install instruction-placement, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for realign

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/realign/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/realign)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/realign"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/realign/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for realign

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/realign"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/realign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00101 $0.03493
Opus 5.5 $0.00040 $0.01397
Sonnet 5.5 $0.00020 $0.00699
Haiku 4.5 $0.00010 $0.00349

Measured 9d ago against content hash 2c58f09d4c17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

realign 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 9d ago.

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.

plugins/instruction-placement/skills/realign/SKILL.md · 232 lines

How it starts

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

Arguments. [finding-id ...]. Default: every finding awaiting a decision, in ranked order

Pre-computed context

!"${CLAUDE_PLUGIN_ROOT}/scripts/precompute.sh" realign 2>/dev/null || echo "- Orientation unavailable"

Purpose

Execute what the audit found, one finding at a time, with the operator deciding each one. This is the mutating surface for audit findings (/instruction-placement:migrate is the other mutating skill, and it owns a repository's move to AGENTS.md), and the per-item gate below is the entire reason it is safe to point at a repository nobody has reviewed.

What makes these edits unusual is their target: every file this skill touches is a file that steers the agent's own behavior. A bad code edit fails a test. A bad instruction edit quietly changes what the agent does in every future session, and nothing goes red.

Read these before executing anything

Not restated here. A paraphrase inside a proposal is a drift seed.

Read For
../../context/findings-artifact.md The artifact's location, fields, status vocabulary, merge rules, and the finding-id constituents a suppression entry is keyed by
../../reference/consumer-config.md The suppression surface a decline is recorded on: its layers, its per-key merge, and the offered-never-taken rule
../../context/routing-rubric.md The hard-deny classes and what each destination means
../../context/verified-mechanics.md When the shim is what makes a nested AGENTS.md load, and why the index exists
context/apply-recipes.md The exact edit sequence per destination, and the verification each one owes

The per-item gate

Nothing mutates without an explicit acceptance of that finding, from the operator, at the moment it is presented. Say so in the run's opening line, then hold it literally.

Read the full file on GitHub · 232 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago Changed · +1 lines 2c58f09d4c17
  2. 12d ago Changed e22487d2c78f
  3. 18d ago Changed · +9 lines 9c222d040514
  4. 20d ago Changed · +2 lines 14aac2b4c3bf
  5. 21d ago Changed · -99 tokens per session 4ab0cd583506
  6. 27d ago Changed e5d4fb2fd701
  7. 29d ago Changed · +5 lines · +7 tokens per session 072879cf9a33
  8. 1mo ago Changed · +2 lines 94cd3e392558
  9. 1mo ago Changed · +42 lines 0145a0d8f24f
  10. 1mo ago First seen · 171 lines · 193 tokens per session scan A cdb9ca569ba7

Subscribe to this mod's changes

realign is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 101 tokens to every session and 3,493 once invoked, about $0.0004 per session on Opus 5.5. 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-09-03.

Related

Other skills, from other repositories

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

event-planner

Event planning with timelines, budgets, vendor coordination, logistics checklists, and post-event evaluation. Use when organizing conferences, workshops, galas, or corporate events.

travisjneuman/.claude · 37 tokens

pass-function-as-arg

For generic algorithms: strategy pattern, callbacks, configurable behavior. Pass functions as parameters to customize algorithm behavior.

jimmc414/claude-code-plugin-marketplace · 27 tokens

catch-expected-errors

For iteration with errors: catch exceptions during exploration, skip invalid cases, continue to next attempt.

jimmc414/claude-code-plugin-marketplace · 24 tokens

find-shortest-path

For pathfinding and search: shortest path, maze solving, game AI, route planning, graph traversal, BFS/DFS, Dijkstra, A problems.

jimmc414/claude-code-plugin-marketplace · 37 tokens

hiring-craft

Use when designing interview loops, writing interview questions or rubrics, calibrating panel feedback, running hiring debriefs, or making a hire/no-hire call. Trigger phrases include "design an interview loop for [role]", "write interview questions for [signal]", "help me run the debrief", "should we hire X", "I need…

shrwnsan/vibekit-claude-plugins · 83 tokens