agentleFS
strikersamstrikersam/autonomous-ai-agency/.agents/skills/dependency-audit/SKILL.md

dependency-audit

Skill9 starsChanged 3 months agoMITView on GitHub

Review, validate, and update Python dependencies safely. Use when adding a new package, upgrading an existing one, or reviewing the dependency surface.

  • Reads credentials
  • Installs packages

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-audit, container-audit and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • briiirussellSkill

    api-audit

    Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023). Use when the user mentions 'API security,' 'API audit,' 'BOLA,' 'broken object level authorization,' 'BFLA,' 'function-level authorization,' 'mass assignment,' 'API rate limiting,' 'GraphQL security,' 'REST security,' 'API authentication,' 'API authorization,' 'excessive data exposure,' or needs to review API endpoints for security weaknesses.

    Also in 3 projects that use this

  • grichaSkill

    container-audit

    Audit local Docker images and running containers for hardening issues before deploy — privileged flags, root users, stale base images, missing resource limits. Use for pre-deploy container review.

    Also in 3 projects that use this

  • vbrevikSkill

    secret-scan

    Scan git repositories for leaked secrets (API keys, passwords, tokens, certificates) using gitleaks. Detects secrets in git history and current code. Produces STIG V-ID-tagged findings that feed into /stig-compliance as pipeline evidence. Use when (1) reviewing code changes for accidental secret commits, (2) auditing git history for previously committed secrets, (3) /stig-compliance review needs secret detection evidence. Works air-gapped.

    Also in 3 projects that use this

  • UnitOneAISkill

    threat-modeling

    Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.

    Also in 4 projects that use this

  • OpenAISkill

    threat-model

    Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

    Also in 4 projects that use this

  • renfei-designSkill

    a11y-audit

    Audit Figma designs for WCAG accessibility issues — color contrast, minimum font size, touch target sizing, and missing text alternatives. Use when asked to check accessibility, audit contrast ratios, find a11y issues, verify WCAG compliance, or review designs for accessibility problems. Scans nodes, analyzes offline, and annotates issues in Figma.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before adding any new package to requirements.txt

    line 21
  2. Distinctive:

    Before upgrading a package to a new major version

    line 22
  3. Distinctive:

    Is it maintained?: Check the GitHub repo — recent commits, open issues, last release.

    line 31
  4. Distinctive:

    Does it have known CVEs?: Check https://pypi.org/project/<name>/ and https://osv.dev.

    line 34
  5. Very specific:

    Use >=X.Y.Z with a known-working version.

    line 39
  6. Distinctive:

    All existing tests must still pass after the dependency change.

    line 50
  7. Distinctive:

    No dependency conflicts should be reported.

    line 58
  8. Very specific:

    Add an entry to docs/changelog.md:

    line 62
  9. Very specific:

    If the new package requires configuration (API keys, URLs), add example env vars to .env.example.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “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

Skill: dependency-audit

When to Use

  • Before adding any new package to requirements.txt
  • Before upgrading a package to a new major version
  • Periodically (quarterly) to audit for known CVEs

Instructions

Step 1 — Evaluate the new dependency

Answer these questions:

  1. Is it necessary? Can this be done with the stdlib or an already-imported package?
  2. Is it maintained? Check the GitHub repo — recent commits, open issues, last release.
  3. Is the license compatible? This project appears MIT/Apache-compatible. Avoid GPL dependencies unless isolated.
  4. What is the download / adoption level? Low-adoption packages carry higher supply chain risk.
  5. Does it have known CVEs? Check https://pypi.org/project/<name>/ and https://osv.dev.

Step 2 — Pin appropriately

This repo uses >= version lower bounds in requirements.txt.

  • Use >=X.Y.Z with a known-working version.
  • For security-sensitive packages (auth, crypto), prefer >=X.Y.Z,<X+1 (major-pinned).

Step 3 — Install and verify

source .venv/bin/activate
pip install -r requirements.txt
pytest -x

All existing tests must still pass after the dependency change.

Step 4 — Check for conflicts

pip check

No dependency conflicts should be reported.

Step 5 — Update changelog

Add an entry to docs/changelog.md:

### Changed
- `requirements.txt` — added `<package>>=X.Y.Z` for <reason>.

or

### Changed
- `requirements.txt` — upgraded `<package>` from `>=X.Y` to `>=Z.W` for <reason>.

Step 6 — Update .env.example if needed

If the new package requires configuration (API keys, URLs), add example env vars to .env.example.

Acceptance Checks

  • Necessity evaluated — stdlib/existing package could not do the job
  • License checked — compatible with project
  • No known CVE at time of addition (note if CVE exists and is accepted)
  • requirements.txt updated with appropriate version bound
  • pytest -x passes after adding package
  • pip check shows no conflicts
  • docs/changelog.md updated
  • .env.example updated if new config required

Current Dependencies (quick reference)

PackagePurposeRisk Level
fastapiWeb frameworkLow
uvicornASGI serverLow
httpxHTTP client (async)Low
python-dotenvEnv loadingLow
langfuseObservabilityMedium (external API)
jinja2TemplatingLow
python-multipartFile uploadsLow
itsdangerousSession signingMedium (crypto)
pytestTestingDev only
pyngrokTunnelMedium (external service)

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.