pin-everything

pin-everything is a skill for Claude Code, Codex from cboone/agent-harness-plugins. It costs 170 tokens per session (6,118 once invoked), scanned A, original, MIT.

A repository-hardening procedure that replaces floating dependency and tool versions with exact versions, commit hashes, or integrity checks. Supply-chain security means reducing the risk of unexpected code entering through dependencies or build tools.

In plain words
What is it for?
Auditing and pinning GitHub Actions, package-manager dependencies, runtime versions, Corepack data, and install commands; it can also create a weekly drift check.
Why use it?
It makes builds and automated workflows less likely to change silently when an external version is updated or compromised.

Skill for Claude CodeCodex

Part of the pin-everything plugin — 1 skill 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/cboone/agent-harness-plugins/pin-everything
Any agent
npx skills add cboone/agent-harness-plugins --skill pin-everything
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code, Codex.

Or install pin-everything, the plugin that ships this one along with the rest of its 1 skill.

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 pin-everything

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/pin-everything.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/pin-everything)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/pin-everything"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/pin-everything.svg" alt="Measured on agentmods" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,118 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.00170 $0.06118
Opus 5 $0.00085 $0.03059
Sonnet 5 $0.00034 $0.01224
Haiku 4.5 $0.00017 $0.00612

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

Security

Grade A, and why

pin-everything 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 4d 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/pin-everything/skills/pin-everything/SKILL.md · 225 lines

How it starts

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

Pin Everything

Pin every version surface in a repository as a one-shot supply-chain hardening pass: SHA pins for actions, integrity hashes for Corepack, exact pins for package-manager dependencies (in application context), version-file refs for language runtimes, and explicit versions for install commands. Optionally generates a weekly drift-audit script and tightens Dependabot.

This skill is a generalization of the canonical hardening pass executed in PR #250 on agent-harness-plugins itself. Adopters who want to repeat that pass on their own repositories run the skill end-to-end. Adopters who only want a subset (for example, SHA-pinning actions) can stop after the relevant step.

Workflow

1. Audit the Repo for Version Surfaces

Scan the working tree for every version surface, then output a categorized table (file paths, count of refs, current pin state).

Surfaces to detect:

Category Detection
GitHub Actions uses: refs Glob .github/workflows/*.{yml,yaml} and .github/actions/**/action.{yml,yaml}; also grep **/*.md for uses: lines (scaffolded reference docs and templates often embed real refs); grep for uses:
Reusable workflow refs Same files plus the same Markdown sweep; grep for uses: lines containing .github/workflows/
packageManager field Read package.json; check .packageManager
package.json deps Read package.json; flag ^/~ ranges in dependencies/devDependencies. Skip peerDependencies — see step 6.
Language version files Glob .tool-versions, .nvmrc, .node-version, .ruby-version, .python-version, rust-toolchain.toml, build.zig.zon; also grep Gemfile for a ruby directive
go.mod go directive Read go.mod; capture the directive line
Inline language pins in CI Grep workflows for node-version:, ruby-version:, go-version:, python-version:, zig-version: (without -file suffix)
go install pins Grep for go install <path>@<ref> where <ref> is latest, a vN.Y.Z tag (with optional prerelease), or a pseudo-version (v0.0.0-YYYYMMDDhhmmss-<12-hex>)
cargo install pins Grep for cargo install with or without --locked --version
pip / uv pins Grep for pip install, uv pip install, uv add, uv tool install, uvx (with or without ==)
npx pins Grep for npx <name> (with or without @version)
Schema URLs Grep *.json and *.yaml for $schema URLs containing @latest. Pinning is per-publisher (see step 7).

Read the full file on GitHub · 225 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. 4d ago First seen · 225 lines · 170 tokens per session scan A a14904dd2589

Subscribe to this mod's changes

pin-everything is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 170 tokens to every session and 6,118 once invoked, about $0.0009 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-31.