Agent Native

ai-inventory

This skill generates an AI Bill of Materials (AIBOM) for Python projects by identifying AI models, datasets, frameworks, and tools using the Snyk AIBOM API.

by SnykOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (snyk)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
License
Apache-2.0 (permissive)
Pin
691f03cpinned Oct 9, 2026
Context cost
about 1,700 tokenswhen the skill loads
GitHub stars
66on snyk/studio-recipes
Scripts
None found

What it does

“Generate and analyze AI Bill of Materials (AIBOM) for Python projects using AI/ML components. Identifies AI models, datasets, tools, and frameworks for security and compliance tracking. Use this skill when: - User asks to scan for AI components - User wants to know what AI models a project uses - User mentions "AI BOM", "AI inventory", or "ML security" - User is working with Python AI/ML projects (PyTorch, TensorFlow, HuggingFace) - User needs AI component compliance documentation”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill generates an AI Bill of Materials (AIBOM) for Python projects by identifying AI models, datasets, frameworks, and tools using the Snyk AIBOM API. It analyzes components for security, compliance, and license risks, producing CycloneDX-formatted reports suitable for regulatory documentation and governance tracking.

When to use it

  • Auditing Python projects that use AI/ML frameworks before deployment
  • Tracking AI component licenses and compliance for regulatory requirements
  • Documenting AI systems for EU AI Act or internal governance
  • Assessing risks in third-party Python AI libraries and dependencies

When not to

  • Projects that do not use Python or contain no AI/ML components
  • Environments without internet connectivity or Snyk account access
  • Non-Python languages like JavaScript, Go, or Java projects

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add snyk/studio-recipes --skill ai-inventory

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install snyk/studio-recipes ai-inventory@691f03ce1b74d16514686601d4cb1b033a492518

Installs the commit we checked (691f03c).

Copy by hand

Download the folder at 691f03c and put it in .claude/skills/ai-inventory for Claude Code and in .agents/skills/ai-inventory for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 691f03c

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "ai-inventory" by Snyk.

Source, pinned to commit 691f03ce1b74d16514686601d4cb1b033a492518:
https://github.com/snyk/studio-recipes/tree/691f03ce1b74d16514686601d4cb1b033a492518/command_directives/synchronous_remediation/skills/ai-inventory

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/ai-inventory/ for Claude Code and .agents/skills/ai-inventory/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/snyk/ai-inventory

SKILL.md at the pin

---
name: ai-inventory
description: |
  Generate and analyze AI Bill of Materials (AIBOM) for Python projects using AI/ML components.
  Identifies AI models, datasets, tools, and frameworks for security and compliance tracking. 
  Use this skill when:
  - User asks to scan for AI components
  - User wants to know what AI models a project uses
  - User mentions "AI BOM", "AI inventory", or "ML security"
  - User is working with Python AI/ML projects (PyTorch, TensorFlow, HuggingFace)
  - User needs AI component compliance documentation
allowed-tools: "mcp_snyk_snyk_aibom Read Write Bash Grep"
license: Apache-2.0
compatibility: |
  Requires Snyk MCP server connection and authenticated Snyk account.
  Python projects only. Internet connection required for AIBOM analysis.
  Snyk experimental features must be enabled.
metadata:
  author: Snyk
  version: 1.0.0
---

# AI Component Inventory

Generate and analyze AI Bill of Materials (AIBOM) for Python projects to track AI models, datasets, and ML frameworks for security, compliance, and governance.

**Core Principle**: Know what AI components are in your software.

**Note**: This is an experimental feature. Currently supports Python projects only.

---

## Quick Start

```
# Step 1: Generate AIBOM for the project
mcp_snyk_snyk_aibom(path="/absolute/path/to/project")

# Step 2: (Optional) Save AIBOM to file for documentation
mcp_snyk_snyk_aibom(
  path="/absolute/path/to/project",
  json_file_output="/absolute/path/to/output/aibom.json"
)

# Step 3: Verify the returned JSON contains component entries before proceeding
# Step 4: Summarize findings and flag license/risk issues
```

---

## Prerequisites

- Python project with `requirements.txt`, `setup.py`, or `pyproject.toml`
- Internet connection (required for analysis)
- Snyk experimental features enabled

---

## Phase 1: Project Validation

**Goal**: Ensure the project is suitable for AI BOM generation.

### Step 1.1: Verify Python Project

Check for Python project indicators: `requirements.txt`, `setup.py`, `pyproject.toml`, `Pipfile`, or `.py` files.

> **Error — Not a Python Project**: If no Python indicators are found, stop and report:
> - Verify path contains Python files
> - Check for `requirements.txt` or `pyproject.toml`
> - This feature only supports Python projects

### Step 1.2: Check for AI/ML Indicators

Scan dependency files for known AI/ML packages — common examples include `torch`, `tensorflow`, `keras`, `transformers`, `datasets`, `scikit-learn`, `jax`, `openai`, `langchain`, `mlflow`, and `wandb`. This list is illustrative; use judgment for other AI/ML packages encountered.

### Step 1.3: Report if Not Applicable

If no AI components detected:

```
## AI Inventory Result
**Project**: /path/to/project
**Status**: No AI components detected
This project does not appear to use AI/ML frameworks. AI BOM generation is not applicable.
```

---

## Phase 2: Generate AIBOM

**Goal**: Create comprehensive AI Bill of Materials.

### Step 2.1: Run AIBOM Generation

Invoke the `mcp_snyk_snyk_aibom` tool with the absolute path to the Python project:

```
mcp_snyk_snyk_aibom(path="/absolute/path/to/project")
```

> **Error — Network Error**: If the tool cannot connect, report:
> - Check internet connection and firewall (HTTPS must be allowed)
> - Retry after a few minutes

> **Error — Experimental Feature Not Enabled**: If access is denied, report:
> - Contact Snyk support for experimental access
> - Check organization settings and verify CLI version supports AIBOM

### Step 2.2: Validate AIBOM Output

Before proceeding, verify the returned JSON is valid and contains at least one component entry. If the response is empty or malformed, report the error and do not continue to Phase 3.

### Step 2.3: Save Output (Optional)

To persist the AIBOM as a file for documentation or downstream tooling:

```
mcp_snyk_snyk_aibom(
  path="/absolute/path/to/project",
  json_file_output="/absolute/path/to/output/aibom.json"
)
```

---

## Phase 3: Analyze Components

**Goal**: Understand and categorize AI components from the validated AIBOM output.

### Step 3.1: Component Categories

AIBOM identifies five component types: **Models**, **Datasets**, **Frameworks**, **Tools**, and **Services**.

### Step 3.2: Generate Summary Report

Present findings using the structure below, populated with actual scan results:

```
## AI Component Inventory
**Project**: <project name>
**Scan Date**: <date>
**Format**: CycloneDX v1.6

### Component Summary
| Category  | Count |
|-----------|-------|
| AI Models | N     |
| Datasets  | N     |
| Frameworks| N     |
| Tools     | N     |
| **Total** | N     |

### AI Models Detected
| Model | Source | License | Risk |
|-------|--------|---------|------|
| <from scan results> | ... | ... | ... |

### Datasets Referenced
| Dataset | Source | License | PII Risk |
|---------|--------|---------|----------|
| <from scan results> | ... | ... | ... |

### Frameworks & Tools
| Component | Version | License |
|-----------|---------|---------|
| <from scan results> | ... | ... |
```

---

## Phase 4: Risk Assessment

**Goal**: Identify potential risks in AI components.

### Step 4.1: License Compliance

Flag components by risk level: **Low** (MIT, Apache), **Medium** (proprietary APIs — review terms of service), **High** (unknown/unclear licenses or research-only terms that may prohibit commercial use).

### Step 4.2: Data Privacy Concerns

Flag datasets or models where data provenance or PII handling is unclear. Recommend: documenting data sources, reviewing PII handling procedures, and verifying data retention policies.

### Step 4.3: Model Security

Assess model-specific risks: prompt injection (LLM-based models — mitigate with input validation), model extraction (custom/fine-tuned models — apply access controls), adversarial inputs (vision models — input validation), and bias/fairness (consider bias testing).

---

## Phase 5: Documentation

**Goal**: Create compliance-ready documentation.

### Step 5.1: Generate Compliance Report

```
## AI Compliance Report
**Project**: <project name>
**Generated**: <date>
**Standard**: EU AI Act / Internal Governance

### AI System Classification
- **Risk Level**: [High/Limited/Minimal]
- **Category**: [Classification based on use case]

### Component Inventory
[Summary from Phase 3]

### License Compliance
- All components licensed: Yes/No
- Commercial use permitted: Yes/No
- Attribution required: [list components]

### Data Governance
- Data sources documented: Yes/No
- PII handling reviewed: Yes/No
- Consent verified: Yes/No

### Model Governance
- Model cards available: Yes/No
- Bias testing completed: Yes/No
- Performance benchmarks: Yes/No

### Approval Status
- [ ] Technical review
- [ ] Legal review
- [ ] Ethics review
- [ ] Deployment approved
```

---

## Use Cases

- **Pre-Deployment Audit**: Generate AIBOM → review licenses → check data/PII handling → document for audit trail
- **Regulatory Compliance (EU AI Act)**: Generate AIBOM → classify AI system risk level → document capabilities/limitations → create compliance checklist
- **Third-Party AI Review**: Generate AIBOM → analyze licenses → assess data handling → document risks and mitigations

---

## Constraints

1. **Python only**: Currently only supports Python projects
2. **Experimental**: Feature may change or have limitations
3. **Network required**: Needs internet for analysis
4. **CycloneDX output**: Generates CycloneDX v1.6 format only
5. **Point-in-time**: Reflects current state — regenerate on updates

From snyk/studio-recipes at 691f03c, shown as plain text under its license: Apache-2.0 (permissive). The license text is in command_directives/synchronous_remediation/skills/ai-inventory/SKILL.md.

View SKILL.md on GitHub at 691f03c

Files

1 file, 7.6 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 691f03c
All 34 skills from Snyk

More from Snyk

  • algorithmic-art

    This skill generates algorithmic art using p5.js by first creating a computational philosophy describing the generative aesthetic, then implementing it as an…

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 4.8K tokens · pinned 6 days ago

  • brand-guidelines

    This skill applies Anthropic's official brand identity to artifacts by setting specific colors, typography, and design standards.

    Claude Code, Codex, Cursor +4 · about 480 tokens · pinned 6 days ago

  • canary-project-skill

    This is a test fixture skill used by the canary testing system to verify that the agent-scan inspect command properly detects project-scoped skills located in…

    Claude Code, Codex, Cursor +4 · about 45 tokens · pinned 6 days ago

  • canvas-design

    This skill helps agents create visual art and design work as PNG or PDF files by first developing a design philosophy or aesthetic movement, then expressing…

    Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago

  • doc-coauthoring

    This skill guides users through a structured three-stage workflow for co-authoring documentation, proposals, specs, and similar structured content.

    Claude Code, Codex, Cursor +4 · about 3.8K tokens · pinned 6 days ago

  • docx

    This skill enables the agent to create, edit, and analyze Word documents (.docx files) with support for tracked changes, comments, and formatting preservation.

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago

All Security skills
  • sensitive-logging-audit

    The skill helps audit and fix sensitive data leaks in Python SDK logging, exceptions, and telemetry by collecting candidate sinks, manually tracing values…

    by OpenAIOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 970 tokens · pinned 6 days ago

  • django-access-review

    This skill guides agents through investigating Django and Django REST Framework code for IDOR and access control vulnerabilities.

    by SentryOfficial publisher

    Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago

  • secret-serialization

    This skill detects credential leaks through generated serialization when types storing secrets are converted to strings or dictionaries by logging, tracing…

    by SentryOfficial publisher

    Claude Code, Codex, Cursor +4 · about 2.4K tokens · pinned 6 days ago

  • authoring

    This skill helps agents author Falcon Fusion workflow YAML files by discovering action IDs from the live API, validating YAML against the schema, and…

    by CrowdStrikeOfficial publisher

    Contains scripts

    Claude Code · about 5.2K tokens · pinned 6 days ago

  • hf-broker

    This skill enables agents to interact with Hugging Face repositories and buckets through a secured broker that manages authentication and permissions.

    by Hugging FaceOfficial publisher

    Claude Code, Codex, Cursor +4 · about 1.2K tokens · pinned 6 days ago

  • aig-scanner

    This skill submits security scanning tasks to Tencent AI-Infra-Guard via Python CLI, analyzing AI infrastructure, tools, skills, agents, and LLM jailbreak…

    by TencentCommunity

    Contains scripts

    Agents not labelled yet · about 3.5K tokens · pinned 6 days ago

Open roles at Snyk

1 open role on the jobs board

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use