/claude-toolkit:project-inventoryfrom claude-toolkit
Scans directories to discover and inventory Claude Code and AI-integrated projects, detects CLAUDE.md, .claude/, AI SDK imports, and MCP configs, then generates Markdown, JSON, and HTML dashboard reports.
Ships in claude-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Discovers, audits, and reports on all Claude Code and AI-integrated projects across your workspace. Generates human-readable Markdown, machine-readable JSON inventories, and a visual HTML portfolio dashboard with AI collaboration metrics.
| Command | Purpose |
|---|---|
/inventory scan | Scan directories for Claude Code / AI projects |
/inventory report | Generate Markdown + JSON inventory reports |
/inventory audit | Audit Claude Code adoption and configuration quality |
/inventory dashboard | Generate AI collaboration metrics + HTML portfolio dashboard |
/inventory scanScan one or more directories to discover projects that use Claude Code or AI integrations.
Scan for these indicators (in priority order):
| Signal | Weight | Description |
|---|---|---|
CLAUDE.md | High | Claude Code project instructions file |
.claude/ directory | High | Claude Code configuration directory |
.claude/settings.json | High | Claude Code settings with MCP servers, permissions |
anthropic SDK import | Medium | @anthropic-ai/sdk or anthropic Python package |
openai SDK import | Medium | OpenAI SDK usage in source files |
google.generativeai import | Medium | Google Gemini SDK usage |
.cursorrules | Medium | Cursor AI configuration |
.github/copilot | Medium | GitHub Copilot configuration |
MCP config references | Medium | Model Context Protocol server configs |
Ask user for directories to scan — prompt for one or more root directories
(e.g., ~/Projects, ~/Packages, ~/Work)
Discover projects — for each directory, find all git repositories or
directories containing a composer.json, package.json, Cargo.toml,
go.mod, pyproject.toml, or similar project markers
Detect AI signals — for each discovered project, check for the detection signals listed above
Extract metadata — for each matching project:
composer.json description, package.json description,
README first line, or CLAUDE.md first paragraphPresent summary — show count and grouped list to user for review before generating reports
Found 48 projects with AI integration:
~/Projects — 30 projects
2025/ — 11 projects
2026/ — 6 projects
nadi-pro/ — 11 projects
~/Packages — 18 projects
claude-tools/ — 4 projects
laravel-packages/ — 14 projects
/inventory reportGenerate structured inventory reports in Markdown and JSON formats.
Run scan if not already done — execute /inventory scan first
Ask for output directory — where to save the reports
Generate Markdown report (claude-code-projects.md):
Follow this structure:
# Claude Code Project Inventory
> Generated: YYYY-MM-DD
> Total: **N projects** across [directories listed]
---
## [Location 1] (count)
### [Category/Subfolder]
| # | Project | Description | URL |
|---|---------|-------------|-----|
| 1 | **project-name** | Short description | https://github.com/org/repo |
---
## Summary
| Metric | Count |
|--------|-------|
| **Total projects** | **N** |
| Projects with CLAUDE.md | N |
| Projects with .claude/ only | N |
### By Organization
| Organization | Count |
|-------------|-------|
| org-name | N |
### By Tech Stack
| Stack | Projects |
|-------|----------|
| Laravel | ~N |
Generate JSON report (claude-code-projects.json):
Array of objects with this schema:
[
{
"name": "project-name",
"path": "/absolute/path/to/project",
"description": "Short project description",
"url": "https://github.com/org/repo",
"location": "Projects",
"category": "Category Name",
"hasClaudeMd": true,
"org": "github-org-name",
"techStack": "Laravel",
"aiSignals": ["CLAUDE.md", ".claude/"]
}
]
Rules:
url: set to null if no git remote configuredorg: set to null if local-only projecthasClaudeMd: boolean based on file existenceaiSignals: array of all detected signalsValidate outputs:
python3 -m json.tool <file> > /dev/null/inventory auditAudit Claude Code adoption quality across discovered projects.
Run scan if not already done
Check each project for:
CLAUDE.md (not just .claude/ directory)CLAUDE.md has meaningful content (not empty/boilerplate).claude/settings.json with configured permissionsGenerate audit report:
## Claude Code Adoption Audit
### Fully Configured (CLAUDE.md + settings)
- project-a, project-b, ...
### Partial (CLAUDE.md only)
- project-c, project-d, ...
### Minimal (.claude/ directory only)
- project-e, project-f, ...
### Recommendations
- N projects missing CLAUDE.md — add project instructions
- N projects have empty CLAUDE.md — add stack, conventions, gotchas
- N projects missing .claude/settings.json — configure permissions
Offer to scaffold — ask if user wants to generate template CLAUDE.md
files for projects that are missing them
/inventory dashboardGenerate an AI collaboration portfolio dashboard — a self-contained HTML file
with embedded metrics, charts, and interactive features. Requires a
claude-code-projects.json from /inventory report as input.
Locate or generate project JSON — check if claude-code-projects.json
exists in the output directory. If not, run /inventory report first.
Ask user for output directory — where to save the dashboard files
Optionally expand project list from GitHub orgs — ask user if they want
to scan GitHub organizations for additional repos not in the local scan. Use
gh repo list <org> --limit 200 --json name,description,url,primaryLanguage,isArchived,isFork,pushedAt
to discover repos, filter by pushedAt date (e.g., active since 2025), exclude
archived and forked repos, merge with existing claude-code-projects.json, and
deduplicate by URL and name.
Generate data collection script (collect-ai-metrics.sh):
Create a bash script following the template in references/collect-metrics-template.md.
The script:
claude-code-projects.json as input.git/ directory, extracts metrics via git loggh apiCo-Authored-By trailersai-portfolio-data.json with per-project and aggregate metricsPer-project metrics:
| Metric | Source |
|---|---|
total_commits | git rev-list --all --count or GitHub API |
co_authored_commits | Commits with Co-Authored-By matching AI tool emails (case-insensitive) |
co_author_percentage | Calculated |
first_commit_date / last_commit_date | Earliest & latest commit dates |
first_ai_commit_date | Earliest co-authored commit date |
claude_models_used | Parsed from Co-Authored-By: Claude <model> trailer |
ai_tools | Array of detected AI tools (Claude, OpenCode, Copilot) |
claude_commits / opencode_commits / copilot_commits | Per-tool commit counts |
authors_count | Unique committer emails |
tech_stack | Detected from project files or GitHub languages API |
monthly_commits / monthly_ai_commits | {month, count} arrays |
AI tool detection by email pattern:
| Tool | |
|---|---|
[email protected] | Claude (Claude Code) |
[email protected] | OpenCode |
[email protected] | GitHub Copilot |
Aggregate metrics:
Edge cases:
Co-Authored-By email pattern (not name)Run the collection script — execute and verify output is valid JSON
Generate HTML dashboard (ai-portfolio.html):
Create a self-contained HTML file following the template in
references/dashboard-template.md. Embed the JSON data inline via
<script>const DATA = {...};</script>.
Dashboard sections:
| # | Section | Visualization |
|---|---|---|
| 1 | Hero Header | Gradient bg, dynamic count-up stats from DATA |
| 2 | Executive Summary | 6 stat cards in 3x2 grid |
| 3 | AI Activity Heatmap | GitHub-style 365-day calendar heatmap |
| 4 | AI Adoption Trend | Dual-line chart (AI commits + cumulative projects) |
| 5 | AI Adoption Timeline | Swim-lane chart (project bars from first AI commit to last) |
| 6 | Monthly Activity | Stacked bar chart (AI vs human commits) |
| 7 | Projects by Category | Grouped card grids |
| 8 | Organization Breakdown | Horizontal bar chart |
| 9 | Tech Stack Distribution | Horizontal bars + CSS donut chart |
| 10 | AI Collaboration Leaderboard | Ranked table with AI tool badges, progress bars, medals |
| 11 | AI Tools Breakdown | Per-tool cards with commit counts + CSS donut chart |
| 12 | Claude Model Usage | Cards per model with project tag lists |
| 13 | Project Detail Grid | Searchable, filterable, sortable table with AI Tools column |
| 14 | Footer | Generated date, "Powered by Claude Code" badge |
Important implementation notes:
DATA.aggregates via JS, never hardcodedata-count attributes should be set from DATA at runtimeclass="reveal visible" (always visible, not scroll-dependent)color:var(--fg) to prevent dark-on-dark in dark modeoption { background:var(--bg2); color:var(--fg) } for dark modeDesign system:
#0B1120), light mode toggle with localStorage#F59E0B, Green #10B981, Blue #3B82F6, Purple #8B5CF6, Cyan #06B6D4, Pink #EC4899max-width: 1200px, CSS Grid, responsive at 768px/480px@media print forces light theme, hides interactive controlsJS features (all inline):
Verify dashboard:
| File | Purpose |
|---|---|
collect-ai-metrics.sh | Bash script for git + GitHub API metric extraction |
ai-portfolio-data.json | Structured JSON with per-project + aggregate metrics |
ai-portfolio.html | Self-contained dashboard (all CSS/JS inline, no deps) |
Use these file indicators to detect tech stack:
| File | Stack |
|---|---|
artisan + composer.json (laravel/) | Laravel |
package.json + next.config.* | Next.js |
package.json + vite.config.* | Vite (React/Vue) |
go.mod | Go |
Cargo.toml | Rust |
pyproject.toml / setup.py | Python |
Gemfile | Ruby |
*.csproj / *.sln | .NET |
pom.xml / build.gradle | Java |
docker-compose.yml | Docker |
VitePress in package.json | VitePress |
drupal/ in composer.json | Drupal |
wordpress theme/plugin structure | WordPress |
Extract organization from git remote URL:
https://github.com/ORG/repo.git → ORG
[email protected]:ORG/repo.git → ORG
https://gitlab.com/ORG/repo.git → ORG
https://custom.domain/ORG/repo → ORG
If no remote is configured, set org to null.
CLAUDE.md and .claude/ directory projects in the count| File | Description |
|---|---|
references/detection-patterns.md | AI signal detection patterns and file indicators |
references/collect-metrics-template.md | Template for the data collection bash script |
references/dashboard-template.md | Template for the self-contained HTML dashboard |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-discovery, inventory, ai-audit, reporting, dashboard, claude-code
npx claudepluginhub nasrulhazim/claude --plugin claude-toolkit43 skills in this plugin
/business-cardSVG business card designer that takes contact details and brand preferences, then produces 12 front design concepts with optional back designs, interactive HTML preview galleries, individual card showcases with front/back flip animation, and print-ready SVG exports with bleed area and crop marks. Supports horizontal and vertical orientations, six layout styles (minimal, corporate, creative, elegant, bold, tech), multiple color schemes, QR code placeholders, social media icons, and logo integration. Use this skill whenever the user asks to design a business card, create a name card, make visiting cards, or says "design business card", "buat kad bisnes", "create name card", "reka kad perniagaan", "design kad nama", "I need a business card for X".
/ci-cd-pipelineCI/CD pipeline builder for Laravel projects — extends Kickoff's existing GitHub Actions CI with continuous deployment pipelines (staging/production), Docker containerisation, secret management, and failure notifications. Generates Dockerfiles, docker-compose.yml, deployment configs for VPS via SSH, container registry push workflows, and leverages Kickoff's /bin scripts (deploy.sh, backup.sh, setup.sh) in automated workflows. Use this skill whenever the user asks to set up deployment pipelines, containerise a Laravel app, configure CD for staging or production, push Docker images to a registry, manage deployment secrets, add failure notifications to CI, or integrate /bin scripts with GitHub Actions. Triggers for requests like "set up CD pipeline", "deploy to staging automatically", "dockerise my Laravel app", "add Docker to my project", "push image to registry", "manage secrets in CI", "notify on failure", "extend CI with deployment", "setup deploy pipeline", "nak deploy guna GitHub Actions", "tambah Docker dalam project", "setup CD untuk staging", "nak auto deploy ke production", "dockerise Laravel app aku", "tambah notification kalau CI fail", "macam mana nak manage secrets dalam GitHub Actions", or "integrate bin scripts dengan CI". Assumes Laravel Kickoff as the baseline — GitHub Actions CI (Pint, PHPStan, Rector, Pest) and /bin scripts (deploy.sh, backup.sh) are already configured. This skill extends that baseline with CD, Docker, and deployment automation.
/code-qualityPHP and Laravel code quality toolchain — static analysis with Larastan/PHPStan, code style enforcement with Pint, automated refactoring with Rector, baseline management for legacy codebases, and CI pipeline integration via GitHub Actions. Use this skill whenever the user asks to check code quality, fix linting errors, run static analysis, modernise PHP code, set up CI quality gates, manage PHPStan baselines, configure Pint presets, or apply Rector rules. Triggers for requests like "run quality check", "fix my code style", "analyse with larastan", "update phpstan baseline", "modernise my PHP code", "set up CI for quality", "check code quality", "pint tak jalan", "nak fix phpstan error", "setup rector", "betulkan code style", "tambah quality gate dalam CI", or "baseline phpstan untuk legacy code". Assumes Laravel Kickoff as the baseline — PHPStan, Pint, Rector, and GitHub Actions CI are already configured. This skill extends and customises that baseline.
/courseware-builderInteractive HTML courseware builder — turns any technical topic, flow, or process into a CD-Courseware-style interactive slide deck with animated diagrams, step-by-step simulation, syntax-highlighted code examples, and key points panels. Use this skill whenever the user wants to create teaching materials, interactive slides, animated flow diagrams, or step-by-step technical walkthroughs — even if they say "buatkan slides untuk topik X", "jadikan courseware", "buat interactive tutorial", or "create a lesson on X". Also triggers for "convert my diagram to interactive slides" or "build a visual walkthrough for my training".
/debuggingSystematic debugging and error recovery for Laravel and PHP projects — a five-step triage that goes reproduce, localise, reduce, fix, guard. Covers reading a stack trace properly, bisecting with git, isolating a failure to the smallest reproducer, telling a symptom apart from a root cause, and closing every fix with a regression test. Includes Laravel-specific traps: N+1 masked as a timeout, queue jobs failing silently on the wrong connection, cache and config caches serving stale values, Livewire state desync, and eloquent/model events firing in unexpected order. Use this skill whenever the user reports something broken, failing, flaky, slow-then-erroring, or behaving differently in production than locally — including "this test is flaky", "why is this failing", "debug this error", "it works locally but not on staging", "find the root cause", "this exception makes no sense", "the queue job never runs", "bisect this regression", "kenapa error ni", "tolong debug", "test ni kejap pass kejap fail", "cari punca sebenar", "jalan kat local tapi tak jalan kat production", or "job queue tak jalan". Pairs with kickoff-pest-testing for the regression test and log-monitor for production-log-driven investigations.
/deploy-appDeploys a Kickoff-based Laravel application to its host by running `bin/deploy` over SSH, then verifies the release and knows what each way it can stop means. Use this skill whenever the user asks to deploy an app, push the latest code to production, check what commit production is running, bring a site back up after a failed deploy, or roll back — "deploy latest", "deploy the app", "tolong deploy", "deploy latest dulu", "push to production", "apa commit dekat production", "site down after deploy", "keluarkan maintenance mode", "rollback production", "kenapa 503". Covers the deploy command and its flags, the post-deploy verification checklist, the recovery path for each failure mode, and the production traps that have already cost time. Does NOT cover provisioning a new host from bare metal (`bin/provision-host`), CI/CD pipeline design (`ci-cd-pipeline`), or writing deploy operations.
Other plugins' skills for the same job