yarn-audit

yarn-audit is a skill for Codex from CDCgov/cdc-open-viz. It costs 71 tokens per session (893 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating and fixing dependency vulnerabilities reported by yarn audit in Yarn workspaces, where one project contains multiple related packages.

In plain words
What is it for?
Use it to inspect audit findings, check workspace version consistency with syncpack, update direct or parent dependencies, regenerate the lockfile, and verify the audit again.
Why use it?
It identifies whether versions drift between packages and chooses the smallest appropriate upgrade or dependency override instead of changing unrelated code.

Skill for Codex

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

Good fit Use it to inspect audit findings, check workspace version consistency with syncpack, update direct or parent dependencies, regenerate the lockfile, and verify the audit again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdcgov/cdc-open-viz/yarn-audit
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.

Any agent
npx skills add CDCgov/cdc-open-viz --skill yarn-audit
Clone the repo
git clone --depth 1 https://github.com/CDCgov/cdc-open-viz

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 yarn-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdcgov/cdc-open-viz/yarn-audit/github.svg)](https://agentmods.dev/skills/cdcgov/cdc-open-viz/yarn-audit)
Your own site
<a href="https://agentmods.dev/skills/cdcgov/cdc-open-viz/yarn-audit"><img src="https://agentmods.dev/badge/skills/cdcgov/cdc-open-viz/yarn-audit/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 yarn-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdcgov/cdc-open-viz/yarn-audit"><img src="https://agentmods.dev/badge/skills/cdcgov/cdc-open-viz/yarn-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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 medium

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 →

  • medium Excessive Agency · line 63
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00071 $0.00893
Opus 5 $0.00036 $0.00447
Sonnet 5 $0.00014 $0.00179
Haiku 4.5 $0.00007 $0.00089

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

Security

Grade A, and why

yarn-audit 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 9d 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.

.agents/skills/yarn-audit/SKILL.md · 98 lines

How it starts

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

Yarn Audit

Resolve dependency audit findings with the smallest safe change.

Workflow

  1. Reproduce the dependency-only audit issue with yarn audit --groups dependencies.
  2. Identify the affected package names, severities, advisory paths, and whether the vulnerable package is direct or transitive.
  3. Check whether the problem is actually workspace version drift before changing versions:
    • Run yarn sync:check.
    • Search manifests with rg -n '"<package-name>"' package.json packages/*/package.json.
  4. Choose the least invasive fix:
    • If the same dependency or devDependency has inconsistent ranges across workspace manifests, use syncpack first.
    • If a direct dependency is vulnerable, bump the direct dependency to the minimum safe range.
    • If the vulnerable package is transitive and the parent can be bumped safely, upgrade the parent package instead of adding a broad override.
    • If the vulnerable package is transitive and no safe parent bump is available, add or tighten a root resolutions entry for the minimum fixed version.
  5. Regenerate the lockfile with yarn install after manifest changes.
  6. Re-run yarn audit --groups dependencies.
  7. Report what changed, what advisory path was addressed, and any remaining findings.

Use Syncpack When Applicable

Treat syncpack as the first fix when audit work reveals monorepo drift rather than a true package-selection problem.

Use it when:

  • Multiple workspaces declare the same package with different semver ranges and the audit fix needs them aligned.
  • A package upgrade was applied in one workspace but other workspaces still pin an older vulnerable range.
  • The repo already exposes yarn sync:check and yarn sync:fix, which this repository does.

Do not use it when:

  • The issue is isolated to one package by design.
  • The fix requires changing a root resolutions entry for a transitive dependency.
  • The audit finding is caused only by the lockfile selecting an old transitive version while manifest ranges are already aligned.

Read the full file on GitHub · 98 lines

Files

What ships with it

1 file 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. 9d ago First seen · 98 lines · 71 tokens per session scan A cfa7577017d1

Subscribe to this mod's changes

yarn-audit is a skill published in the GitHub repository CDCgov/cdc-open-viz (55 stars, last pushed today), licensed Apache-2.0. It adds 71 tokens to every session and 893 once invoked, about $0.0004 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

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens

chatgpt-app-submission

Inspect a ChatGPT Apps MCP server codebase and generate chatgpt-app-submission.json with app info suggestions, tool hint justifications, test cases, and negative test cases, then report review-check findings and outputSchema warnings for submission review.

nteract/semiotic · 56 tokens

semiotic-charts

Build, repair, and verify charts in an existing Semiotic project, when Semiotic is explicitly requested, or when evaluating its documented capabilities against a visualization task. Preserve the project's dependency and runtime constraints; routine changes in another charting stack and tasks without a chart do not…

nteract/semiotic · 64 tokens

infographic-item-creator

Generate or update infographic Item components for this repo (TypeScript/TSX in src/designs/items). Use when asked to design, implement, or modify data item visuals, layout logic, or registerItem composites.

antvis/Infographic · 49 tokens

data_analyst

Analyses datasets with professional rigour — statistical summaries, clear narratives, and well-chosen visualisations.

siddsachar/row-bot · 26 tokens

frame-data-rollup

A native Remotion data frame — bars grow from zero by real data via spring physics while the figures roll 0→target in sync. The numbers come alive in a way a static HTML chart can't.

nexu-io/html-video · 46 tokens