install

install is a command for Claude Code from paulbaranowski/wild-horses. It costs 54 tokens per session (1,115 once invoked), scanned A, original, MIT.

An installer for the software required by the linting-hooks plugin's automatic checks. It installs tools for formatting Markdown, checking Markdown style, checking Python types, and reading JSON.

In plain words
What is it for?
Use it to install Prettier, markdownlint-cli2, Pyright, and jq for the Markdown and Python checks.
Why use it?
The hooks do nothing when their required tools are missing. This command makes the selected checks usable on the current machine.

Command for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: names the AskUserQuestion tool.

Part of the linting-hooks plugin — 1 command 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 commands/paulbaranowski/wild-horses/install
Clone the repo
git clone --depth 1 https://github.com/paulbaranowski/wild-horses

Made for: Claude Code.

Or install linting-hooks, the plugin that ships this one along with the rest of its 1 command.

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 install

README.md
[![agentmods](https://agentmods.dev/badge/commands/paulbaranowski/wild-horses/install.svg)](https://agentmods.dev/commands/paulbaranowski/wild-horses/install)
Your own site
<a href="https://agentmods.dev/commands/paulbaranowski/wild-horses/install"><img src="https://agentmods.dev/badge/commands/paulbaranowski/wild-horses/install.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,115 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.00054 $0.01115
Opus 5 $0.00027 $0.00558
Sonnet 5 $0.00011 $0.00223
Haiku 4.5 $0.00005 $0.00112

Measured 6d ago against content hash f9ca8ae02379, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

install 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 6d 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/linting-hooks/commands/install.md · 101 lines

How it starts

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

Linting Hooks — Install

Set up the PostToolUse hooks bundled with this plugin. Hook registration is automatic (via hooks/hooks.json merged on plugin enable). Scripts silently no-op until their dependencies are installed — so a hook is inert on a fresh install and becomes active once the right software is on PATH.

This command is the opt-in surface for which hooks the user wants functional and what software to install to make that so.


Bundled hooks

Hook When it fires What it does Dependencies
markdown-combo-fix PostToolUse on Edit|Write|MultiEdit for .md Runs prettier --write then markdownlint-cli2 --fix on the edited file. Non-blocking. jq, prettier, markdownlint-cli2
pyright-post-edit PostToolUse on Edit|Write|MultiEdit for .py Runs pyright <file> and prints findings to stderr. Non-blocking — never blocks the edit. jq, pyright

Each script self-guards: if required tools are missing, it exits 0 without output.


Phase 1 — Present the options and ask

Show the table above to the user. Then use AskUserQuestion with multiSelect: true:

  • Question: "Which linting hooks should be functional on this machine? (Hooks are already registered; this picks which ones get their software installed.)"
  • Header: "Hooks"
  • Options (one per bundled hook above) — label is the hook name, description summarises its behavior + deps.

If the user picks nothing, stop cleanly: "No hooks selected — nothing to install. The hooks stay registered but dormant."


Phase 2 — Detect missing tools

Read the full file on GitHub · 101 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. 6d ago First seen · 101 lines · 54 tokens per session scan A f9ca8ae02379

Subscribe to this mod's changes

install is a command published in the GitHub repository paulbaranowski/wild-horses (11 stars, last pushed 18d ago), licensed MIT. It adds 54 tokens to every session and 1,115 once invoked, about $0.0003 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-08-30.