RFC: Skills Lifecycle Management in ToolHive CLI#30
Merged
Conversation
amirejaz
reviewed
Jan 27, 2026
amirejaz
reviewed
Jan 27, 2026
amirejaz
left a comment
There was a problem hiding this comment.
Overall looks good to me, added a small comment
amirejaz
previously approved these changes
Jan 28, 2026
jhrozek
previously approved these changes
Jan 28, 2026
Contributor
jhrozek
left a comment
There was a problem hiding this comment.
I left some comments inline but overall this sounds like a good proposal
lorr1
reviewed
Jan 29, 2026
|
Overall I like it. I'm sure we'll change a lot over time, but this gets us wiggling! We'll start playing with it as soon as anything is remotely ready. |
This RFC proposes adding skill lifecycle management capabilities to the ToolHive CLI (thv), enabling users to install, remove, list, and package Agent Skills as OCI artifacts. Key decisions: - Dedicated `thv skill` command namespace - Extend pkg/client/ for skills (convergence with MCP client system) - Hybrid state storage (per-skill metadata + index file) - Integration with groups system - Require explicit --client selection Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Address PR feedback: instead of modifying thv group list behavior, add --group flag to existing thv skill list command for filtering skills by group. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add -u/--upgrade flag to install command for skill upgrades - Add thv skill validate command for pre-build validation - Expand client support table with all Skillet clients (Claude, Codex, Copilot, OpenCode) - Clarify OCI artifact format (not runnable containers, uses OCI for distribution) - Explain deterministic packaging rationale for supply chain security - Expand Alternative 5 rationale for requiring explicit --client selection - Note that plugins cache is out of scope (managed by Claude's plugin system) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34ea83c to
f5e947b
Compare
jhrozek
approved these changes
Jan 29, 2026
aponcedeleonch
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This RFC proposes adding skill lifecycle management capabilities to the ToolHive CLI (
thv), enabling users to install, remove, list, and package Agent Skills as OCI artifacts.Key Decisions
thv skillcommand namespace - Avoids conflicts with existing MCP server commandspkg/client/- Converge with existing client system rather than duplicating.thv-skill.json+ lightweight index file for fast queries--clientflag (no default to avoid mistakes)Commands
thv skill list- List installed skills (managed + unmanaged)thv skill install <ref>- Install from OCI registrythv skill uninstall <name>- Remove managed skillthv skill info <name>- Show skill detailsthv skill build <path>- Package as OCI artifactthv skill push <ref>- Push to registryOut of Scope (Post-MVP)
Related
🤖 Generated with Claude Code