prerequisites

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

A read-only check of the external command-line tools declared by the enabled plugins. It reports which tools are installed and which are missing, without installing anything.

In plain words
What is it for?
Use it to inspect plugin prerequisites and find the documented installation command for a missing tool.
Why use it?
It answers whether the machine has the dependencies the plugins expect before a hook or task fails.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the harness-ops plugin — 18 skills shipped together

Good fit Use it to inspect plugin prerequisites and find the documented installation command for a missing tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/melodic-software/claude-code-plugins/prerequisites
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.

Any agent
npx skills add melodic-software/claude-code-plugins --skill prerequisites
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

Or install harness-ops, the plugin that ships this one along with the rest of its 18 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 prerequisites

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/prerequisites/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/prerequisites)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/prerequisites"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/prerequisites/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 prerequisites

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/prerequisites"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/prerequisites.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 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.00047 $0.01082
Opus 5.5 $0.00019 $0.00433
Sonnet 5.5 $0.00009 $0.00216
Haiku 4.5 $0.00005 $0.00108

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

Security

Grade A, and why

prerequisites 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-prerequisites.mjs, scripts/check-prerequisites.test.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/harness-ops/skills/prerequisites/SKILL.md · 45 lines

How it starts

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

Purpose

Answer "does this host have what the enabled plugins need?" Read prerequisites.json in each enabled plugin, resolve each declared dependency with the shared Node checker, and print one table. Do not install, download, or run npx.

Claim: the fleet check lives here, not as a deps action on plugins and not as a machine-health category. plugins brings marketplace versions current and is disable-model-invocation: true. This question is read-only and model-invocable. Each plugin that needs an external dependency declares it in prerequisites.json at the plugin root, in the schema docs/contracts/prerequisites/ owns, which this skill and the per-plugin check both read.

Run

node "${CLAUDE_SKILL_DIR}/scripts/check-prerequisites.mjs"

The table columns are plugin, id, kind, need, status, the check skill, and the install hints. missing=N present=M is the last line. The status is present, missing, outdated (below its version floor), unverified (the version could not be read) or agent-check (an MCP server only the agent can see). Exit 1 means a required entry is missing or below its floor, and a missing optional entry leaves exit 0. Exit 2 means no plugin roots could be read, the listing was not JSON, or a prerequisites.json fails the schema.

With no arguments and a claude executable on PATH, the script reads the enabled set and each installPath from claude plugin list --json. That output lists installs across every project, so it keeps user and managed rows, and project or local rows only when their projectPath is the current project (CLAUDE_PROJECT_DIR, else the git toplevel); an id resolves by its most specific scope, so user-enabled and project-disabled is disabled. When claude is absent or prints nothing, it merges enabledPlugins from the settings files instead: the user settings in ~/.claude (CLAUDE_CONFIG_DIR overrides that directory) and the project's .claude/settings.json and settings.local.json. A file holding any non-Boolean enabledPlugins value contributes none of its keys, and the managed scope is not read there. Output that is not a JSON list stops the run with exit 2 instead. Only when none of that state exists does it scan plugins/*/prerequisites.json in the current repository; a state with nothing enabled prints an empty table.

Read the full file on GitHub · 45 lines

Files

What ships with it

3 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. 19d ago Changed e201d3ba9c87
  2. 28d ago Changed · -1 lines 0c71b7150728
  3. 1mo ago Changed b91f2991d0c5
  4. 1mo ago Changed 588895d8e04e
  5. 1mo ago Changed · +4 lines 088d9f846df3
  6. 1mo ago Changed · +2 lines 614990af95b2
  7. 2mo ago Changed fcaa3eeb38f3
  8. 2mo ago Changed · +1 lines 7c5844720cf7
  9. 2mo ago Changed 654d9bbe2746
  10. 2mo ago First seen · 39 lines · 47 tokens per session scan A f0c420ff1dd3

Subscribe to this mod's changes

prerequisites is a skill published in the GitHub repository melodic-software/claude-code-plugins (34 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,082 once invoked, about $0.0002 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-30.

Related

prerequisites compared with skills from other repositories

prerequisites next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prerequisitesmelodic-software/claude-code-pluginsSkill34todayMITA47Claude Code
linkedin-enginesystempromptio/systemprompt-marketplaceSkill21mo agononeA36Claude Code
reddit-replysystempromptio/systemprompt-marketplaceSkill21mo agononeA46Claude Code
social-media-guidesystempromptio/systemprompt-marketplaceSkill21mo agononeA26Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code