agentleFS
loganware05loganware05/captains-compass-cursor/.cursor/skills/dependency-supply-chain/SKILL.md

dependency-supply-chain

Skill2 starsChanged 33 days agoMITView on GitHub

Reviews young or low-provenance package adds; requires Captain approval and lockfile discipline

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat a package as higher risk when any of the following appear true (guidance — Captain may still approve):

    line 15
  2. Distinctive:

    No lockfile in the consuming project

    line 20
  3. Distinctive:

    Check lockfile presence (or language equivalent) and keep it updated.

    line 28
  4. Distinctive:

    Prefer well-known, pinned versions.

    line 29
  5. Very specific:

    Run available audit tooling when present (npm audit, OSV, etc.) and record output under .agent/evidence/ (scrub secrets).

    line 30
  6. Very specific:

    Prefer source-as-context (source-code-context / opensrc) before guessing APIs.

    line 32
  7. Distinctive:

    Stop and ask the Captain: before adding higher-risk packages.

    line 33
  8. Distinctive:

    If scope expands to new deps not in the plan, return to the approval gate.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dependency Supply Chain

Use this Skill when

Adding or upgrading third-party packages (npm, PyPI, SwiftPM, crates, etc.), especially unfamiliar or newly published libraries.

Labeled guidance (not hard blocks)

Treat a package as higher risk when any of the following appear true (guidance — Captain may still approve):

  • Published / first release younger than ~90 days
  • Fewer than ~500 GitHub stars (or equivalent signal) when that metric applies
  • No lockfile in the consuming project
  • Maintainer / provenance unclear; binary-only releases; unusual install scripts

These thresholds are labeled guidance, not automated hook denials.

Procedure

  1. Identify packages being added or major-upgraded.
  2. Check lockfile presence (or language equivalent) and keep it updated.
  3. Prefer well-known, pinned versions; record why a young package is needed.
  4. Run available audit tooling when present (npm audit, OSV, etc.) and record output under .agent/evidence/ (scrub secrets).
  5. Prefer source-as-context (source-code-context / opensrc) before guessing APIs.
  6. Stop and ask the Captain before adding higher-risk packages. Do not add them unilaterally inside an approved plan unless the plan explicitly listed them.
  7. If scope expands to new deps not in the plan, return to the approval gate.

Output

Risk notes, audit evidence paths, and Captain decision record.

Prohibited actions

  • Adding higher-risk packages without Captain acknowledgment
  • Committing secrets or tokens from registry tooling
  • Weakening lockfiles to force installs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.