doc.linea: Skill for Codex

.agents/skills/linea-dependency-maintenance/SKILL.md

linea-dependency-maintenance is a skill for Codex from Consensys/doc.linea. It costs 113 tokens per session (3,262 once invoked), scanned A, original, Apache-2.0.

A guided process for safely updating JavaScript and TypeScript package dependencies and GitHub Actions. It works with npm or pnpm projects, including projects that contain multiple related packages in one repository, and checks lockfiles, audits, release age, and CI settings.

In plain words
What is it for?
Use it to plan and apply dependency updates, review npm or pnpm lockfile changes, check GitHub Actions versions, run validation, and track remaining work with pull requests or GitHub issues.
Why use it?
It reduces the risk of breaking the repository's package-manager setup or overlooking outdated, insecure, or unpinned dependencies.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is Consensys/doc.linea's own configuration. It tells Codex how to work on doc.linea 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 doc.linea configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Consensys/doc.linea/main/.agents/skills/linea-dependency-maintenance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Consensys/doc.linea

Made for: Codex.

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 linea-dependency-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/consensys/doc.linea/linea-dependency-maintenance.svg)](https://agentmods.dev/skills/consensys/doc.linea/linea-dependency-maintenance)
Your own site
<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>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,262 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
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.00113 $0.03262
Opus 5 $0.00056 $0.01631
Sonnet 5 $0.00023 $0.00652
Haiku 4.5 $0.00011 $0.00326

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

Security

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/linea-dependency-maintenance/SKILL.md · 244 lines

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

  1. Read repo instructions first: AGENTS.md, CLAUDE.md, package-specific instructions, and CONTRIBUTING.md.
  2. 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 with npm 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.
  3. Check branch and worktree state with git status --short --branch. If unrelated changes are present, use an isolated worktree or avoid touching those files.
  4. Read .nvmrc, .node-version, engines, .npmrc, deploy config, dependabot.yml, and the GitHub Actions pins in .github/workflows/*.yml and .github/actions/**/action.yml.
  5. 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, minimumReleaseAge is a maturity window in minutes. Treat the configured minimumReleaseAgeExclude list 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-actions PRs: its cooldown in dependabot.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/devDependencies specifier 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 is peerDependencies: 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 on catalog:.
  • 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.

Read the full file on GitHub · 244 lines

Files

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.

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. 8d ago First seen · 244 lines · 113 tokens per session scan A 6e0cb16270cd

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories