target

target is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 204 tokens per session (1,549 once invoked), scanned A, original, MIT.

An evidence-based way to choose what part of a system to optimize. It ranks possible targets by the quality of the measurements supporting them, rather than by what merely sounds expensive.

In plain words
What is it for?
Use it to select an optimization target from observed slow operations, named components, telemetry, or an open-ended performance complaint.
Why use it?
It prevents teams from optimizing the wrong component based on guesses or a plausible explanation that the data does not support.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Part of the performance plugin — 4 skills shipped together

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 skills/melodic-software/claude-code-plugins/target
Any agent
npx skills add melodic-software/claude-code-plugins --skill target
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

Or install performance, the plugin that ships this one along with the rest of its 4 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 target

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/target.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/target)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/target"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/target.svg" alt="Measured on agentmods" height="20"></a>
Per session 204 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,549 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.1 $0.00204 $0.01549
Opus 5 $0.00102 $0.00775
Sonnet 5 $0.00041 $0.00310
Haiku 4.5 $0.00020 $0.00155

Measured 2d ago against content hash 55de9ff7f228, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

target 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 2d 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/performance/skills/target/SKILL.md · 111 lines

How it starts

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

Purpose

Answers "what should we optimize, and how much do we actually know about it?"

The failure this prevents is picking a target because its mechanism sounds expensive. In the source run behind this plugin, a parallel session diagnosed WDAC code-integrity enforcement as the cause of slow process spawns. The mechanism was real and the policy was genuinely enabled. It was still the wrong answer, and had to be retracted: a spread of min 180.5 ms / median 1107.7 ms / max 2841.3 ms across identical no-op spawns is a contention signature, because a fixed policy check cannot produce a 15x spread. The bimodality was the diagnosis; the plausible mechanism was a distraction.

So this skill ranks by evidence, and says so when there is none.

Inputs it accepts

Source What to do
The current session's own pain Name the operation that felt slow and what was observed. Anecdote is a valid candidate source and an invalid ranking basis.
A named path or component Enumerate the layers it spans before choosing one (see "Measure the layers first").
A telemetry store /claude-ops:observability for Claude Code's own; otherwise the project's. Prefer it over every other source.
Open-ended "what is slow here" Widest scope, weakest evidence. Expect the output to be "instrument this first".

Evidence tiers

Rank every candidate into exactly one. A lower tier never outranks a higher one, regardless of how compelling the mechanism sounds.

Tier Means Example
E1, attributed measurement A measurement that isolates this component's cost from its neighbours' A spawn census showing this hook costs 4 of the 7 spawns per tool call
E2, aggregate measurement A real measurement that includes this component but does not isolate it "The whole pre-tool path takes 1.2 s"
E3, structural inference No measurement; a documented cost model predicts expense "This is a 125-line shell wrapper that runs per tool call"
E4, suspicion A plausible mechanism and nothing else "WDAC is probably slowing spawns"

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file 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. 2d ago First seen · 111 lines · 204 tokens per session scan A 55de9ff7f228

Subscribe to this mod's changes

target is a skill published in the GitHub repository melodic-software/claude-code-plugins (15 stars, last pushed today), licensed MIT. It adds 204 tokens to every session and 1,549 once invoked, about $0.0010 per session on Opus 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

parallel-worker

Execute focused implementation tasks in a parallel workflow. Use when: working on assigned files in a worktree, making checkpoint commits, signaling dependencies or blockers, completing orchestrator-assigned tasks. Triggers: worker, checkpoint, worktree, assigned scope, commit prefix, parallel task.

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

solve-constraint-puzzle

For constraint satisfaction: Sudoku, scheduling, N-queens, logic puzzles, SAT-like problems, assignment problems. Uses propagate-then-search pattern.

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

use-class-for-state

For complex state: encapsulate multiple interacting variables, stateful algorithms, backtracking search state.

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

build-priority-queue

For ordered processing: A search, Dijkstra, event simulation, task scheduling. Efficient min/max extraction with heap-based queue.

jimmc414/claude-code-plugin-marketplace · 32 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