From copilot-cli-toolkit
Configures Context Hub dependencies: installs Serena and Context7 plugins, sets up Forgetful MCP server (standard or custom). For new dev environments or MCP troubleshooting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/copilot-cli-toolkit:context-hub-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure Context Hub's dependencies: Forgetful MCP server and prerequisite plugins.
Configure Context Hub's dependencies: Forgetful MCP server and prerequisite plugins.
Context Hub requires these plugins to be installed:
/encode-repo-serena)/context_gather)First, check if the required plugins are installed:
claude plugins list
Look for:
serena or similar (for code analysis)context7 or similar (for framework docs)If Serena is not installed:
To use /encode-repo-serena, install the Serena plugin:
claude plugins install serena
Or search for it in the marketplace:
claude plugins search serena
If Context7 is not installed:
For framework documentation in /context_gather, install Context7:
claude plugins install context7 --marketplace pleaseai/claude-code-plugins
Or search for it:
claude plugins search context7
Check if Forgetful is already configured:
claude mcp list | grep -i forgetful
If already configured:
claude mcp remove forgetfulAsk the user which setup they prefer:
Question: "How would you like to configure Forgetful?"
Options:
claude mcp add forgetful --scope user -- uvx forgetful-ai
Confirm success:
claude mcp list | grep -i forgetful
Report: "Forgetful is now configured. Your memories will persist in ~/.forgetful/ using SQLite."
If user chose Custom:
WebFetch: https://github.com/ScottRBK/forgetful/blob/main/docs/configuration.md
Guide through options:
Build appropriate command based on choices.
Report status of all components:
Context Hub Setup Status:
-------------------------
Forgetful MCP: [Configured / Not configured]
Serena Plugin: [Installed / Not installed - run: claude plugins install serena]
Context7 Plugin: [Installed / Not installed - run: claude plugins install context7 --marketplace pleaseai/claude-code-plugins]
Commands available:
- /context_gather - Multi-source context retrieval
- /encode-repo-serena - Repository encoding (requires Serena)
- /memory-search, /memory-list, /memory-save, /memory-explore - Memory management
Offer to test the setup:
Test Forgetful:
/memory-list
Test Serena (if installed):
Ask Claude to use Serena's get_symbols_overview on a file in your project
Test Context7 (if installed):
Ask about a framework: "How does FastAPI dependency injection work?"
Forgetful issues:
uvx is installed: which uvxPlugin issues:
claude plugins install <plugin-name>claude plugins search <name>~/.claude.json (persists across updates)claude plugins install~/.forgetful/forgetful.dbThe Context Hub setup is complete when ALL of the following are true:
| Criterion | Verification |
|---|---|
| Forgetful MCP configured | Run claude mcp list and pipe to grep -i forgetful; expect a non-empty result |
| Serena plugin status reported | Output shows "Installed" or explicit "Not installed" message |
| Context7 plugin status reported | Output shows "Installed" or explicit "Not installed" message |
| Setup status block printed | Step 3 status block has been emitted to the user |
After printing the Step 3 status block, the command is complete. Do not continue polling, re-checking, or offering additional tests unless the user explicitly requests a re-run with /context-hub-setup again.
If the user chooses to run the optional Step 4 quick tests, those are supplementary and do not affect completion status.
npx claudepluginhub rjmurillo/ai-agentsGuides integration of Model Context Protocol (MCP) servers into Claude Code plugins via .mcp.json or plugin.json. Covers stdio, SSE, and HTTP server types.
Guides integration of Model Context Protocol (MCP) servers into Claude Code plugins using .mcp.json or inline plugin.json configs, covering stdio, SSE, HTTP, WebSocket types for external services.
Checks sp-context dependencies (claude-mem, git, bun) and guides installation. Use when session-start reports missing components or for knowledge sync setup.