feat(cli): add plugin system with marketplace integration#121
Open
feat(cli): add plugin system with marketplace integration#121
Conversation
Add a complete plugin system that enables skill sharing via plugins: - Plugin discovery, loading, and registry (PluginRegistry, PluginLoader) - Marketplace integration with Anthropic's claude-plugins-official repo - Plugin CLI commands: list, install, uninstall, update, search, info - Skill discovery from plugins with namespaced pattern support (/plugin:skill) - Compatible with Claude Code's .claude-plugin/plugin.json format The plugin system allows users to: - Search and install plugins from the official Anthropic marketplace - Discover skills from installed plugins automatically - Use namespaced skill invocation (e.g., /example-plugin:example-skill) - Manage plugins via `codemie plugin` CLI commands Generated with AI Co-Authored-By: AI/Run CodeMie <noreply@codemieai.com>
fc53203 to
b99a4ca
Compare
…mprovements - Add path traversal protection via validatePluginName and isPathWithinDirectory checks - Replace silent catch blocks with logger.debug() for consistent error diagnostics - Migrate console.error to logger.error in MarketplaceClient - Fix broken dynamic import of exec.js with static import from processes.ts - Improve type safety by replacing `as any` with proper ReadableStream type - Add null check for response.body before Readable.fromWeb - Parallelize dev plugin discovery with Promise.all instead of sequential await Generated with AI Co-Authored-By: AI/Run CodeMie <noreply@codemieai.com>
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
Add a complete plugin system that enables skill sharing via plugins, compatible with Claude Code's official plugin format.
Changes
PluginRegistry,PluginLoader,PluginDiscovery,PluginManifestParserfor discovering and loading plugins from~/.codemie/plugins/MarketplaceClient,MarketplaceRegistry,PluginInstallerfor searching, installing, and managing plugins from GitHub-based marketplaces (default:anthropics/claude-plugins-official)codemie plugincommand with subcommands:list,install,uninstall,update,search,info,marketplaceSkillDiscoveryto load skills from installed plugins with proper priority (750 for plugin skills)/plugin-name:skill-nameinvocation pattern inpattern-matcher.tsImpact
Users can now:
Checklist