marketplace/bundles/pm-plugin-development/skills/tools-marketplace-inventory/SKILL.md
Scans and reports complete marketplace inventory (bundles, agents, commands, skills, scripts)
npx skillsauth add cuioss/plan-marshall tools-marketplace-inventoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Execution mode: Select workflow and execute immediately using documented script commands.
Prohibited actions:
--direct-result for large unfiltered inventories (use file mode instead)Constraints:
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-marketplace-inventory ...python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies ...--format json only when explicitly neededProvides complete marketplace inventory scanning capabilities using the scan-marketplace-inventory.py script.
This skill scans the marketplace directory structure and returns a comprehensive TOON inventory of all bundles and their resources (agents, commands, skills, scripts).
Activate this skill when you need to:
When activated, this skill scans the marketplace and returns structured TOON inventory.
Run the marketplace inventory scanner script:
Script: pm-plugin-development:tools-marketplace-inventory
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-marketplace-inventory --scope marketplace
The script will:
.plan/temp/tools-marketplace-inventory/inventory-{timestamp}.toonThe script outputs a TOON summary to stdout. Bundles are top-level keys (not a list):
status: success
scope: marketplace
base_path: /path/to/marketplace/bundles
plan-marshall:
path: marketplace/bundles/plan-marshall
agents[1]:
- execution-context
commands[2]:
- tools-fix-intellij-diagnostics
- tools-sync-agents-file
skills[18]:
- manage-architecture
- extension-api
- manage-lessons
pm-dev-java:
path: marketplace/bundles/pm-dev-java
agents[0]:
skills[12]:
- java-core
- java-cdi
statistics:
total_bundles: 8
total_agents: 28
total_commands: 46
total_skills: 30
total_scripts: 7
In file mode (default), a summary is printed and full inventory is written to .plan/temp/tools-marketplace-inventory/inventory-{timestamp}.toon.
| Parameter | Default | Description |
|-----------|---------|-------------|
| --scope | auto | Scan scope: auto, marketplace, plugin-cache, global, project |
| --resource-types | all | Filter: all, agents, commands, skills, scripts (comma-separated) |
| --bundles | all | Filter to specific bundles (comma-separated) |
| --name-pattern | none | fnmatch glob filter, pipe-separated for multiple (e.g., *-plan-*\|manage-*) |
| --content-pattern | none | Regex content filter (requires --include-descriptions or --full) |
| --content-exclude | none | Regex content exclusion (requires --include-descriptions or --full) |
| --include-descriptions | off | Extract description fields from YAML frontmatter |
| --full | off | Include frontmatter fields and skill subdirectory contents |
| --include-tests | off | Include test files from test/{bundle-name}/ directories |
| --include-project-skills | off | Include project-level skills from .claude/skills/ |
| --direct-result | off | Output full TOON to stdout instead of writing to file |
| --format | toon | Output format: toon or json |
For detailed parameter documentation with examples: Read references/parameter-guide.md
If the script fails:
This skill is designed to run without user prompts. Required permissions:
Script Execution:
Bash(bash:*) - Bash interpreter/tools-setup-project-permissionsEnsuring Non-Prompting:
.plan/scripts-library.toon (system convention).plan/temp/ (covered by Write(.plan/**) permission)The resolve-dependencies.py script tracks and resolves all dependency relationships across marketplace components.
| Type | Pattern | Detection Method |
|------|---------|------------------|
| script | bundle:skill:script | Regex in markdown/python |
| skill | skills: frontmatter, Skill: bundle:skill | YAML + regex |
| import | from module import ... | AST parsing |
| path | ../../skill/file.md | Markdown link regex |
| implements | implements: bundle:skill/path frontmatter | YAML parsing |
bundle:skill # Skill (e.g., plan-marshall:phase-1-init)
bundle:skill:script # Script (e.g., plan-marshall:manage-files:manage-files)
bundle:agents:name # Agent (e.g., plan-marshall:agents:execution-context)
bundle:commands:name # Command (e.g., plan-marshall:commands:tools-fix)
Get direct and transitive dependencies of a component:
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
deps --component plan-marshall:manage-files --direct-result
Output:
status: success
component: plan-marshall:manage-files
component_type: skill
file_path: marketplace/bundles/plan-marshall/skills/manage-files/SKILL.md
direct_dependencies[4]:
- target: plan-marshall:ref-toon-format:toon_parser, type: import, context: line:28
- target: plan-marshall:tools-file-ops:file_ops, type: import, context: line:26
transitive_dependencies[2]:
- target: plan-marshall:ref-toon-format, depth: 2, via: plan-marshall:ref-toon-format:toon_parser
statistics:
direct_count: 4
transitive_count: 2
by_type: {import: 3, path: 1}
Get components that depend on a given component:
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
rdeps --component plan-marshall:ref-toon-format:toon_parser --direct-result
Generate a visual dependency tree:
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
tree --component plan-marshall:manage-files --depth 3 --direct-result
Output:
plan-marshall:manage-files
├── plan-marshall:ref-toon-format:toon_parser (import)
│ └── plan-marshall:ref-toon-format (skill)
├── plan-marshall:tools-file-ops:file_ops (import)
└── plan-marshall:manage-logging:plan_logging (import)
Validate all dependencies and check for broken or circular references:
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
validate --scope marketplace --direct-result
Output:
status: success
validation_result: passed
total_components: 95
total_dependencies: 234
resolved: 231
unresolved_count: 3
unresolved[3]:
- source: plan-marshall:manage-files, target: nonexistent:skill, type: skill, context: frontmatter
| Option | Description |
|--------|-------------|
| --component <notation> | Component to resolve (required for deps/rdeps/tree) |
| --scope <value> | auto, marketplace, plugin-cache, project (default: auto) |
| --format <value> | toon (default), json |
| --direct-result | Output to stdout |
| --depth <N> | Max transitive depth (default: 10) |
| --dep-types <types> | Filter: script,skill,import,path,implements (comma-separated) |
# Get all dependencies of a skill
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
deps --component plan-marshall:phase-1-init --direct-result
# Get only import dependencies
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
deps --component plan-marshall:manage-files --dep-types import --direct-result
# Find what depends on a module
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
rdeps --component plan-marshall:ref-toon-format:toon_parser --direct-result --format json
# Validate entire marketplace
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
validate --scope marketplace
The scan-planning-inventory script provides a focused view of all planning-related components across the marketplace. It wraps scan-marketplace-inventory with predefined planning filters and categorizes results into core (plan-marshall) and derived (domain bundles) categories.
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-planning-inventory scan
| Parameter | Values | Default | Description |
|-----------|--------|---------|-------------|
| --format | full, summary | full | Output format |
| --include-descriptions | flag | off | Include component descriptions from frontmatter |
# Full inventory with all details
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-planning-inventory scan --format full
# Summary with component names only
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-planning-inventory scan --format summary
# Include descriptions
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-planning-inventory scan --include-descriptions
Results are organized into core (plan-marshall bundle) and derived (domain bundles) categories with statistics. Planning-related patterns: plan-*, manage-*, *-workflow, workflow-*, task-*, *-task-plan, *-solution-outline, *-plan-*.
The canonical argparse surface for the three entry-point scripts this skill registers: scan-marketplace-inventory.py, resolve-dependencies.py, and scan-planning-inventory.py. The plugin-doctor analyzer (_analyze_manage_invocation.py) reads this section as source-of-truth for the manage-invocation-invalid and missing-canonical-block rules. Consuming docs xref this section by name instead of restating the command inline. See pm-plugin-development:plugin-script-architecture cross-skill-integration.md § "Script invocation in documentation".
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-marketplace-inventory \
[--scope {auto,marketplace,global,project,plugin-cache}] [--resource-types RESOURCE_TYPES] \
[--include-descriptions] [--full] [--name-pattern NAME_PATTERN] [--bundles BUNDLES] \
[--content-pattern CONTENT_PATTERN] [--content-exclude CONTENT_EXCLUDE] [--output OUTPUT] \
[--direct-result] [--format {toon,json}] [--include-tests] [--include-project-skills]
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:resolve-dependencies \
{deps,rdeps,tree,validate} \
[--component COMPONENT] [--scope {auto,marketplace,plugin-cache,project}] [--format {toon,json}] \
[--direct-result] [--depth DEPTH] [--dep-types DEP_TYPES]
The first positional is required and one of deps / rdeps / tree / validate.
python3 .plan/execute-script.py pm-plugin-development:tools-marketplace-inventory:scan-planning-inventory \
[--format {full,summary}] [--include-descriptions]
testing
A test skill for README generation
testing
A test skill with existing references
tools
Skill without references directory
development
Test skill with table-format references