/plugin - Plugin Management Command
Unified command for managing CODITECT plugins including the Anthropic enterprise workflow foundation.
Usage
# Discovery
/plugin search <query> # Search available plugins
/plugin list # List installed plugins
/plugin info <name> # Show plugin details
/plugin marketplace # Browse plugin marketplace
# Installation
/plugin install <name> # Install from marketplace
/plugin install ./path # Install local plugin
/plugin update <name> # Update to latest version
/plugin uninstall <name> # Remove plugin
# Development
/plugin new <name> <desc> # Create new plugin
/plugin validate <path> # Validate plugin structure
/plugin test <path> # Run plugin tests
/plugin publish <path> # Publish to marketplace
# Customization
/plugin configure <name> # Interactive configuration
/plugin fork <name> <new-name> # Clone for customization
/plugin export <name> # Export as standalone
# Adapters (Anthropic integration)
/plugin adapters # List available adapters
/plugin adapt <anthropic-plugin> # Create CODITECT adapter
Available Plugins
Tier 1: Anthropic Foundation (11 Enterprise Workflows)
| Plugin | Domain | Skills | Commands |
|---|---|---|---|
anthropic/productivity | Task management, calendars | 2 | - |
anthropic/sales | Pipeline, outreach, research | 6 | 3 |
anthropic/customer-support | Ticket triage, response drafting | 5 | 5 |
anthropic/product-management | Specs, roadmaps, research | 6 | - |
anthropic/marketing | Content, campaigns, brand | 5 | - |
anthropic/legal | Contracts, compliance, risk | 6 | - |
anthropic/finance | Journal entries, reconciliation | 6 | - |
anthropic/data | SQL queries, statistical analysis | 7 | - |
anthropic/enterprise-search | Unified search across tools | 3 | 2 |
anthropic/bio-research | Life sciences R&D | 6 | - |
anthropic/cowork-plugin-management | Plugin creation | 1 | - |
Tier 2: CODITECT Enterprise
Plugins converted from CODITECT's 1000+ workflows:
| Plugin | Track | Workflows | Status |
|---|---|---|---|
coditect/devops | C | 69 | Planned |
coditect/security | D | 29 | Planned |
coditect/documentation | F | 31 | Planned |
coditect/testing | E | 13 | Planned |
Tier 3: Custom Plugins
Organization-specific plugins in plugins/custom/.
Execution Flow
/plugin search
def plugin_search(query: str):
"""Search plugin marketplace."""
# 1. Search platform.db for matching plugins
results = db.query("""
SELECT name, description, quality_score, downloads
FROM plugins
WHERE name MATCH ? OR description MATCH ?
ORDER BY quality_score DESC, downloads DESC
LIMIT 20
""", [query, query])
# 2. Include Anthropic foundation plugins
anthropic_plugins = filter_anthropic(query)
# 3. Display results with quality indicators
for plugin in results + anthropic_plugins:
print(f"{plugin.name} [{plugin.quality_score}%] - {plugin.description}")
/plugin install
def plugin_install(name: str):
"""Install plugin from marketplace or local path."""
# 1. Resolve plugin source
if name.startswith("anthropic/"):
source = f"external/anthropic-knowledge-work-plugins/{name.split('/')[1]}"
elif name.startswith("coditect/"):
source = resolve_from_marketplace(name)
elif name.startswith("./"):
source = name
# 2. Validate plugin structure
validate_plugin_structure(source)
# 3. Install dependencies
install_dependencies(source)
# 4. Register in platform.db
register_plugin(source)
# 5. Activate skills and commands
activate_plugin_components(source)
print(f"✅ Plugin {name} installed successfully")
/plugin new
def plugin_new(name: str, description: str, adapter: bool = False):
"""Scaffold new plugin."""
plugin_dir = f"plugins/{'adapters' if adapter else 'enterprise'}/{name}"
# Create directory structure
structure = [
"plugin.json",
"README.md",
"CONNECTORS.md",
".claude-plugin/plugin.json",
"skills/.gitkeep",
"commands/.gitkeep",
"config/defaults.json",
"config/schema.json",
"tests/.gitkeep"
]
for path in structure:
create_file(f"{plugin_dir}/{path}")
# Generate manifest
generate_manifest(plugin_dir, name, description)
print(f"✅ Plugin scaffolded at {plugin_dir}")
print("Next steps:")
print(" 1. Add skills to skills/")
print(" 2. Add commands to commands/")
print(" 3. Run /plugin validate to check")
print(" 4. Run /plugin publish when ready")
Plugin Manifest Example
{
"name": "coditect-enterprise-analytics",
"version": "1.0.0",
"description": "Enterprise analytics and BI workflows",
"coditect": {
"track": "AD",
"cef_tracks": ["I-1", "I-3"],
"experience_pack": "data-analyst",
"quality_score": 85,
"moe_verified": true
},
"skills": [
"skills/data-exploration/SKILL.md",
"skills/dashboard-builder/SKILL.md"
],
"commands": [
"commands/run-query.md"
]
}
Quality Requirements
Plugins must meet MoE verification standards:
| Requirement | Minimum |
|---|---|
| Quality Score | 75% |
| Skills have triggers | Yes |
| Commands have descriptions | Yes |
| README exists | Yes |
| Tests pass | Yes |
| MoE consensus | 2/3 judges |
Examples
# Search for sales automation
/plugin search "sales outreach"
# Install Anthropic sales plugin
/plugin install anthropic/sales
# Create new analytics plugin
/plugin new enterprise-analytics "Analytics and BI workflows"
# Fork and customize sales plugin
/plugin fork anthropic/sales my-sales
/plugin configure my-sales
# Validate before publishing
/plugin validate plugins/enterprise/my-plugin
/plugin test plugins/enterprise/my-plugin
/plugin publish plugins/enterprise/my-plugin
Related Commands
| Command | Purpose |
|---|---|
/experience | Load CEF experience pack (includes plugin skills) |
/which | Find agents (includes plugin recommendations) |
/component-create | Create standalone skills/commands |
References
- ADR-152: Enterprise Plugin Architecture
- ADR-153: Plugin Development Framework
- Anthropic Knowledge Work Plugins
Track: H (Framework Autonomy) Task ID: H.21.5