Discovers Claude Code capabilities — skills, agents, plugins, MCP servers, hooks — into typed catalogs and an environment report.
Project description
capdisc
Discovers Claude Code capabilities — skills, agents, plugins, MCP servers, hooks — into typed Pydantic catalogs and an environment report.
Install
uv sync
Library
from pathlib import Path
from capdisc.discovery import scan_environment
from capdisc.scope import ScopeRoots
roots = ScopeRoots.discover(start=Path.cwd(), home_dir=Path.home())
catalog = scan_environment(roots)
for entry in catalog.entries:
... # CatalogSkill | CatalogTool | CatalogMcpServer | CatalogPlugin
report.EnvironmentReport captures the discovery harvest (scan roots, on-disk inventory, skills,
builtin tools, plugins with per-component token cost, MCP servers). mcp_harvest and mcp_catalog
enumerate connected MCP servers; plugin_catalog reads installed plugins; scope resolves which
roots to scan.
The package ships py.typed.
Tests
uv run pytest
uv run mypy src
uv run ruff check .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file capdisc-0.1.1.tar.gz.
File metadata
- Download URL: capdisc-0.1.1.tar.gz
- Upload date:
- Size: 160.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ecb18db24f6d0a4362878c47037c10b5ba11491fd4b983e4c293b27b8930cb7
|
|
| MD5 |
85226c055b793ad55b4150129eced506
|
|
| BLAKE2b-256 |
c80a0cc8769fe204723ba13e1915da7e8af2e1dd0a87ef0924d4b81a40c3904a
|
Provenance
The following attestation bundles were made for capdisc-0.1.1.tar.gz:
Publisher:
publish.yml on Magic-Man-us/capability-discovery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
capdisc-0.1.1.tar.gz -
Subject digest:
6ecb18db24f6d0a4362878c47037c10b5ba11491fd4b983e4c293b27b8930cb7 - Sigstore transparency entry: 2194963006
- Sigstore integration time:
-
Permalink:
Magic-Man-us/capability-discovery@2f01025613c879c6d5a0276f23e9d0f623474c56 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Magic-Man-us
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2f01025613c879c6d5a0276f23e9d0f623474c56 -
Trigger Event:
release
-
Statement type:
File details
Details for the file capdisc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: capdisc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 73.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
520e98963f2089d97b5bf55720eecbe6eabd8eb47c142d6172fa008b3219a028
|
|
| MD5 |
3e62f6d0c1258ee78e4281d4be5b287a
|
|
| BLAKE2b-256 |
c2246ac1249d21840e6be5846dafc6b65318dac32e0034fd9196df6a9baf7076
|
Provenance
The following attestation bundles were made for capdisc-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Magic-Man-us/capability-discovery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
capdisc-0.1.1-py3-none-any.whl -
Subject digest:
520e98963f2089d97b5bf55720eecbe6eabd8eb47c142d6172fa008b3219a028 - Sigstore transparency entry: 2194963024
- Sigstore integration time:
-
Permalink:
Magic-Man-us/capability-discovery@2f01025613c879c6d5a0276f23e9d0f623474c56 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Magic-Man-us
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2f01025613c879c6d5a0276f23e9d0f623474c56 -
Trigger Event:
release
-
Statement type: