From ai-sbom
Generate an AI SBOM declaration for a PR description. Use this skill when the user asks to generate an AI SBOM, create an ai-assisted block, fill out their AI assistance section, or prepare a PR description with AI provenance. Also use when the user says 'what skills did I use' or 'summarize my AI usage'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-sbom:generate-sbomThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a formatted `ai-assisted` code fence block for a PR description that declares which AI tools, models, and skills contributed to the work.
Generate a formatted ai-assisted code fence block for a PR description that declares which AI tools, models, and skills contributed to the work.
When the user asks to generate an AI SBOM during an active session, you already know which skills were invoked. Collect the list from your own tool usage history in this conversation. Get the tool version by running claude --version.
When the user wants an SBOM for a previous session or across multiple sessions:
~/.claude/projects/<project-path-with-dashes>/python3 <ai-sbom-plugin-path>/scripts/extract_skills.py <path-to-session-or-project-dir>
skills, models, and tool_version. The tool version is extracted from the session transcript when available; if not found, it falls back to the currently installed version via claude --version.For each skill identified, resolve its version and source:
Read ~/.claude/plugins/installed_plugins.json to find the plugin entry
plugin-name@marketplace-name (e.g., superpowers@claude-plugins-official)version and gitCommitSha from the entryRead ~/.claude/plugins/known_marketplaces.json to find the source repo
source.repo (e.g., anthropics/claude-plugins-official)For repo-local skills (.claude/skills/), use the repo: prefix with no version
For user-level skills (~/.claude/skills/), use the user: prefix with no version
Read the format specification at plugins/ai-sbom/docs/AI_SBOM.md for the exact block structure, field definitions, skill entry format, and examples. Generate the ai-assisted code fence block following that spec.
When the user asks to write the SBOM to a PR:
gh pr view --json number,body## AI Assistance header## AI Assistance section
## AI Assistance through the closing ``` of the ai-assisted fencegh pr edit <number> --body "<updated body>"claude --version~/.claude/plugins/installed_plugins.json~/.claude/plugins/known_marketplaces.json.claude/skills/ and ~/.claude/skills/ for repo-local and user-level skills## AI Assistance section with the ai-assisted code fence blockgh pr editGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
npx claudepluginhub bryan-cox/ai-helpers --plugin ai-sbom