Skip to content

feat: add installed plugin read workflow - #12

Merged
peter-gy merged 1 commit into
mainfrom
feat/generic-reads
Sep 20, 2026
Merged

peter-gy merged 1 commit into
mainfrom
feat/generic-reads

Conversation

@peter-gy

Copy link
Copy Markdown
Owner

Python packages can now expose their version-matched agent guidance through one README command:

uvx --with my-package agent-plugins read my-package

read renders package and plugin metadata, a bounded resource inventory, MCP and extension summaries, and complete skill instructions. --skill NAME narrows multi-skill plugins, while uvx agent-plugins reads this package's own guidance. The bundled guidance is split between consuming installed plugins and adding Agent Plugin packaging to a repository.

The implementation makes Skill.name the canonical structural identity, resolves distribution metadata and plugin files together, and indexes selected files and skills for constant-time lookup. On a local Python 3.11 synthetic benchmark, constructing a 500-skill, 3,001-file plugin fell from 6.25s to 0.40s, 1,000 named skill lookups fell from 62ms to 0.77ms, and 1,000 checked lookups in a 10,000-file skill fell from 1.07s to 28ms. Filesystem resolution and containment are still rechecked before returning selected files.

The public Skill equality and hash contract now includes its structural name. Validation covered 228 tests, both type checkers, lint and formatting, both Agent Skills validators, the documentation build, direct and source-rebuilt wheels, editable installation, and cross-distribution CLI reads.

Add a version-matched CLI briefing, split consumer and packaging skills, and centralize skill identity and inventory indexes for predictable large-plugin performance.
@peter-gy
peter-gy merged commit c360798 into main Sep 20, 2026
11 checks passed
@peter-gy
peter-gy deleted the feat/generic-reads branch September 20, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant