Command Palette

Search for a command to run...

Назад к скиллам
скилл № 67261

Inventory

List every Claude Code surface this machine can invoke: built-in commands, subagents, tools, bundled skills/workflows, and installed plugin components. Use…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Inventory в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Inventory

Arguments. [--builtin|--plugins|--bundled|--agents|--tools|--hooks|--docs] [--marketplace <m>] [--diff <f>]. Full form: [--builtin|--plugins|--bundled|--agents|--tools|--hooks|--docs] [--marketplace <name>] [--diff <file>], or just ask in words

Purpose

Answers one question completely: what can this machine actually invoke, and where did each thing come from?

That question has no single documented answer. The commands page publishes a table of built-in commands, but the shipped executable registers names the table omits, so the executable is the only complete source for the built-in surface and the page is a cross-check (--docs). Plugin components, by contrast, are on disk and enumerable directly. This skill reads both and keeps them clearly separated, because they are evidence of different quality.

The report is an inventory, not a judgment. Nothing here says a component is stale, misconfigured, or wrong; the neighbors below own those verdicts.

What this skill does not do

Question Owner
What can I invoke, and where did it come from? this skill
Is my install directory healthy. What is stale, what does the product manage? /harness-ops:audit-install-state
Is the plugin fleet current, and at what scope? /harness-ops:plugins-audit
Are settings, hooks, permissions, and MCP config correct? /harness-config:audit (if enabled)
Which permission scopes hold which rules? /harness-config:audit-permission-state (if enabled)
Are the configured MCP servers safe to run? /mcp-tools:audit-posture (if enabled) (composed below when present)

The distinction that matters most: audit-install-state inventories files on disk, this skill inventories capabilities that resolve. A plugin can be present on disk and contribute nothing because it is disabled, and a built-in command can be fully live while existing nowhere on disk.

Run it

python3 "${CLAUDE_PLUGIN_ROOT}/skills/inventory/scripts/inventory.py" --deps-dir "${CLAUDE_PLUGIN_DATA}" \
  --sources-file '${user_config.transcript_sources_file}' --diagnostics-dir "${CLAUDE_PLUGIN_DATA}/diagnostics" --out ./claude-inventory.json

--sources-file is the transcript_sources_file option ('' when it still reads ${user_config.…}): the configuration directory read is its first local source's, else $CLAUDE_CONFIG_DIR, else ~/.claude. The report's header lists a local source whose projects directory cannot be listed as a gap, with its retry command, and --diagnostics-dir keeps it as a lookup diagnostics record. Every reply built from a report with a gap opens with each gap and its retry command, before any count or list, a short answer included.

Python 3.11+ is the only requirement of the default bundle reader (--reader regex). No strings, no jq, no PowerShell. The run takes about twenty seconds, dominated by reading and tokenizing the executable once. --reader parser resolves bindings with a JavaScript parser and reads a spread list as partial where code may change it; it needs Node.js with npm, installs its pinned packages into the plugin data directory (--deps-dir) on first use, and without them reports the binary source broken with the command that repairs it. --reader compare runs both.

Useful flags: --binary <path> (else the session's own CLI, then PATH and the usual install roots) · --config-dir <path> (else the first local transcript source's, else $CLAUDE_CONFIG_DIR, else ~/.claude) · --binary-only / --disk-only to skip a source · --reader regex|parser|compare (default regex) · --docs to add the docs_crosscheck block, fetching the commands page, the changelog, and the tools reference · --docs-file <path> / --changelog-file <path> / --tools-docs-file <path> to read one from a file instead (each implies --docs). A failed fetch marks that block unavailable or degraded and never fails the run.

Extract once, filter at presentation. The script always emits the whole inventory; the user's filter selects what you show. Filtering in the script would mean a different extraction per question and a cache that disagrees with itself. One JSON, many views.

Resolving what the user asked for

Both spellings reach the same place. Treat a flag and its sentence as identical requests.

Flag Sentences that mean it Show
--builtin "built-in commands", "what ships with Claude Code", "is /foo real" builtin_commands
--bundled "bundled skills", "Anthropic's skills", "bundled workflows", "built-in plugins", "what cc-plugin-* ships" bundled_skills, bundled_workflows, builtin_plugins
--docs "is /foo documented", "what's undocumented", "was /foo removed" docs_crosscheck
--plugins "only the plugin ones", "what did my plugins add" disk.marketplaces
--marketplace <name> "what does marketplace X give me" that marketplace only
`--agen
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/extraction.md
  • reference/skills-index.md
  • reference/verify-upstream-claim.md
  • scripts/compare_reports.py
  • scripts/docs_crosscheck.py
  • scripts/inventory.py
  • scripts/js/package-lock.json
  • scripts/js/package.json
  • scripts/js/parser_helper.cjs
  • scripts/node_gate.py
  • scripts/parser_reader.py
  • scripts/test_compare_reports.py
  • scripts/test_fixture_parse.py
  • scripts/test_inventory.py
  • scripts/test_inventory_under_parser.py
  • scripts/test_parser_reader.py
  • scripts/test_reader_findings.py
  • scripts/test_skills_index.py

FAQ

Что делает скилл Inventory?

List every Claude Code surface this machine can invoke: built-in commands, subagents, tools, bundled skills/workflows, and installed plugin components. Use when 'what slash commands do I have', 'what agents are available', 'is /foo a real command', what changed after update, or marketplace contents. On-disk audit: /harness-ops:audit-install-state.

Как установить скилл Inventory?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Inventory запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Inventory с