Borrowing it
Nothing to install: this file belongs to Consensys/doc.linea. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Consensys/doc.linea/main/.agents/skills/linea-dependency-maintenance/SKILL.mdgit clone --depth 1 https://github.com/Consensys/doc.lineaWrote 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.
[](https://agentmods.dev/skills/consensys/doc.linea/linea-dependency-maintenance)<a href="https://agentmods.dev/skills/consensys/doc.linea/linea-dependency-maintenance"><img src="https://agentmods.dev/badge/skills/consensys/doc.linea/linea-dependency-maintenance.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 31 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.03262 |
| Opus 5 | $0.00056 | $0.01631 |
| Sonnet 5 | $0.00023 | $0.00652 |
| Haiku 4.5 | $0.00011 | $0.00326 |
Grade A, and why
linea-dependency-maintenance 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 8d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- linea-dependency-maintenance — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dependency Maintenance
Use this workflow to maximize safe dependency progress without changing the repository's package-manager contract or hiding remaining risk.
Preflight
- Read repo instructions first:
AGENTS.md,CLAUDE.md, package-specific instructions, andCONTRIBUTING.md. - Detect the package-manager contract from lockfiles,
packageManager, CI, deploy config, and package-manager guard scripts:- npm repo: use npm, preserve
package-lock.json, and validate withnpm ci. - pnpm repo: use pnpm, preserve
pnpm-lock.yaml,pnpm-workspace.yaml, catalogs, and overrides. - Do not introduce a different lockfile, workspace file, package-manager metadata, or install command.
- npm repo: use npm, preserve
- Check branch and worktree state with
git status --short --branch. If unrelated changes are present, use an isolated worktree or avoid touching those files. - Read
.nvmrc,.node-version,engines,.npmrc, deploy config,dependabot.yml, and the GitHub Actions pins in.github/workflows/*.ymland.github/actions/**/action.yml. - Capture the baseline: outdated report, audit report, lockfile state, and relevant validation commands.
Policy
- Treat release-age and cooldown rules as hard gates. Compute exact cutoff timestamps before selecting versions.
- In pnpm repos,
minimumReleaseAgeis a maturity window in minutes. Treat the configuredminimumReleaseAgeExcludelist as read-only: respect the existing entries, but never add or widen it to push a fresher version through — the maturity window is a hard gate, not a hurdle to bypass. - Treat npm/pnpm dependency updates as owned by this skill. Do not re-enable Dependabot npm/pnpm package-ecosystem jobs unless the user explicitly asks.
- GitHub Actions are in scope for manual/agent sweeps and for policy enforcement, but Dependabot keeps opening the
routine
github-actionsPRs: its cooldown independabot.yml(7 days) matches the action maturity window, so leave that job enabled and let the two coexist. Docker and other non-JavaScript ecosystems also stay under Dependabot. - Pin GitHub Actions to a full 40-character commit SHA, never a tag or branch ref (
@v4,@main). A movable ref lets the upstream repo change what runs in CI without review. Append the human-readable version as an end-of-line comment (uses: actions/checkout@<sha> # v7.0.0) and update that comment on every bump so the SHA stays auditable. - Gate GitHub Actions on release age: only adopt a SHA whose release (tag) is older than 7 days. Actions use a longer 7-day window than the JS/npm/pnpm gate because an action runs with repository scope in CI, so a fresh release is higher-risk supply-chain surface. Treat the window as a hard gate, not a suggestion.
- Pin exact versions (mandatory). Every npm/pnpm
dependencies/devDependenciesspecifier must be an exact pin, never a^caret or~tilde range. Floating ranges silently pull unreviewed releases and widen the supply-chain attack surface, so a single exact version is the only safe and reproducible default. When a bump touches a manifest, also tighten any pre-existing^/~range on that package to an exact pin. The exception ispeerDependencies: those declare the version range a consumer must satisfy (the package never installs them itself), so pinning them exact invents false incompatibilities — leave intentional peer ranges as ranges. - Preserve reference style otherwise: keep
catalog:references,workspace:references, and repo-specific package placement unchanged. Pin the concrete version at the catalog definition so consumers stay oncatalog:. - Default PR scope is eligible patch and minor updates. Major upgrades, risky transitive fixes, and broad migrations get tracking issues unless the user explicitly approves doing them now.
- Prefer official migration guides, changelogs, package registry metadata, and advisory pages for decisions that affect risk.
What ships with it
8 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.
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.
- 8d ago First seen · 244 lines · 113 tokens per session scan A 6e0cb16270cd
linea-dependency-maintenance is a skill published in the GitHub repository Consensys/doc.linea (474 stars, last pushed 11d ago), licensed Apache-2.0. It adds 113 tokens to every session and 3,262 once invoked, about $0.0006 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.
Other skills, from other repositories
starknet-js
Use when writing or debugging JavaScript/TypeScript that interacts with Starknet through the starknet.js SDK — building Call objects or calldata, encoding/decoding Cairo types (felt252, u256, structs, arrays, spans, ByteArray, Option/Result/custom enums), or working with contracts, accounts, providers, transactions…
sync-public-surface
Input: an owning package directory and an already-defined exported symbol, optionally the intended contributor-facing guide.
upgrade-viem
Input: optionally a target viem version. Without one, use the latest release on npm.
raise-coverage
Input: a package directory (for example packages/txpool) and optionally a target line-coverage percentage. Without a target, raise every threshold by five points or to what the new run measures, whichever is lower.
scaffold-cli
Scaffolds a TypeScript CLI and npm package with the house toolchain, dual tsdown outputs, CLI contracts, changesets, and publishing templates. Use when asked to "scaffold a CLI" or "start an npm package". For an existing package release use autoship; for existing API ergonomics use dx-audit.
docstring-generator-skill
Generate language-specific docstrings for C#, Java, Python, and TypeScript following industry standards (PEP 257, Javadoc, JSDoc, XML documentation).