fold: Skill for Claude Code

.claude/skills/deps/SKILL.md

deps is a skill for Claude Code from fold-run/fold. It costs 72 tokens per session (1,083 once invoked), scanned A, original, Apache-2.0.

A set of instructions for handling dependency vulnerabilities, Dependabot pull requests, and dependency updates in a Go project. It explains how to tell whether a failed vulnerability check comes from new code or a newly published advisory.

In plain words
What is it for?
Use it when `make vuln` fails, a Dependabot update needs review, CI's vulnerability job is red, or the MCP SDK or Go toolchain needs updating.
Why use it?
It helps separate a real repository change from an external update to the vulnerability database, avoiding unnecessary code changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is fold-run/fold's own configuration. It tells Claude Code how to work on fold itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fold configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fold-run/fold. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fold-run/fold/main/.claude/skills/deps/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fold-run/fold

Made for: Claude Code.

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 deps

README.md
[![agentmods](https://agentmods.dev/badge/skills/fold-run/fold/deps/github.svg)](https://agentmods.dev/skills/fold-run/fold/deps)
Your own site
<a href="https://agentmods.dev/skills/fold-run/fold/deps"><img src="https://agentmods.dev/badge/skills/fold-run/fold/deps/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 deps

Your own site · 80×15
<a href="https://agentmods.dev/skills/fold-run/fold/deps"><img src="https://agentmods.dev/badge/skills/fold-run/fold/deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,083 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.00072 $0.01083
Opus 5.5 $0.00029 $0.00433
Sonnet 5.5 $0.00014 $0.00217
Haiku 4.5 $0.00007 $0.00108

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

Security

Grade A, and why

deps 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 2mo 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.

.claude/skills/deps/SKILL.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.

Dependencies and vulnerabilities

fold has 13 direct dependencies and runs at a trust boundary, so the supply chain is part of the threat model rather than housekeeping. Four separate mechanisms watch it, and knowing which one is talking saves the whole investigation.

Mechanism Watches Produces
CI vuln job / make vuln Go advisories against this tree A red merge gate
dependabot (weekly ×3) gomod, github-actions, docker base images PRs
drift.yml (Mondays 06:00 UTC) the latest MCP SDK and conformance suite An issue
console-sync.yml (on demand; bumped at release) the vendored console A PR — see /console-sync

A red govulncheck often has no commit behind it

Check this first, before reading the diff. make vuln runs go tool govulncheck (pinned in go.mod as a tool dependency, bumped by Dependabot) against the live advisory database, so a run that was green yesterday goes red today because an advisory was published — not because anything changed here.

go version                          # the toolchain in use
grep '^go ' go.mod                  # the version this module requires
make vuln                           # read WHICH module and WHICH advisory

If the finding is in the standard library, the fix is a Go patch version, not a dependency bump: raise the go line in go.mod and let the toolchain download it. That has happened here before — six standard-library advisories at once, fixed by moving to a Go patch release.

If the finding is in a dependency, bump that dependency alone. Do not run a blanket go get -u; a vulnerability fix and a feature bump should not arrive in one commit.

Either way the image builder base may also need repinning — it sets GOTOOLCHAIN=local, so an image whose base is below what go.mod requires cannot fix it at build time and fails the build. That skew once sat on main through two green merges and failed after the tag was pushed. CI's image job now catches it per-PR; check deploy/docker/*.Dockerfile when you move the Go line.

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. 2mo ago Changed 473d74c1635c
  2. 2mo ago Changed f659a61f6780
  3. 2mo ago First seen · 101 lines · 72 tokens per session scan A f6e42fc3257e

Subscribe to this mod's changes

deps is a skill published in the GitHub repository fold-run/fold (1 stars, last pushed 12d ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,083 once invoked, about $0.0003 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-08-31.

Related

deps compared with skills from other repositories

deps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
depsfold-run/foldSkill112d agoApache-2.0A72Claude Code
vhs-e2e-gifdimetron/pi-goSkill2223d agoMITA106Claude Code, Codex
gh-prUnique-Divine/jiyuuSkill6yesterdayMITA63Claude Code, Codex
gh-revUnique-Divine/jiyuuSkill6yesterdayMITA89Claude Code, Codex
bmad-loopmmornati/leanproxy-mcpSkill51mo agoMITA48Claude Code, Codex
code-guidelines-godimetron/pi-goSkill2223d agoMITA124Claude Code, Codex
design-reviewdimetron/pi-goSkill2223d agoMITA30Claude Code, Codex