Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ContextHubNew to Visual Studio Code? Get it now.
ContextHub

ContextHub

jonathan-nafta

|
5 installs
| (0) | Free
Manage AI assistant catalog resources (chat modes, instructions, prompts, tasks, MCP) across multiple repositories inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ContextHub (VS Code Extension)

License: MIT VS Code Marketplace Security Policy

A Visual Studio Code extension that enables teams to manage and share AI assistant catalog resources (chat modes, instructions, prompts, tasks, and MCP servers) across multiple repositories inside VS Code.

✨ Features

  • 🗂️ Catalog Management: Organize and manage AI assistant resources across multiple repositories
  • 🎭 Chat Modes: Define custom AI assistant personas and behaviors
  • 📚 Instructions: Share reusable instruction sets for AI assistants
  • 💡 Prompts: Manage and activate prompt templates
  • ⚡ Tasks: Define automated task configurations
  • 🔧 MCP Integration: Manage Model Context Protocol servers
  • 🎩 Hats (Presets): Save and apply resource combinations as presets
  • 🔄 Real-time Sync: Automatically sync resources between catalogs and workspaces
  • 🎯 Multiple Sources: Support for local directories, workspace folders, and remote URLs
  • 🚀 Team Collaboration: Share catalog configurations across development teams

🚀 Quick Start

Installation

Install from VS Code Marketplace: ContextHub

Basic Usage

  1. Open the ContextHub view in the VS Code Activity Bar.
  2. Add a catalog directory:
    • Click the Options menu → Add Catalog Directory... (recommended), OR
    • Open the Dev menu → Open Settings and add paths under the contexthub.catalogs setting.
  3. (Optional) Create a template catalog: Dev menu → Create Template Catalog (helpful if you don't already have a catalog).
  4. Activate resources: Right-click any resource and choose Activate.
  5. Apply presets (Hats): Use the Hats menu to apply saved resource combinations.
  6. (Optional) Repeat step 2 to add multiple catalogs (local folders or remote URLs) for aggregation.

Example Catalog Structure

example-catalog/
├── chatmodes/
│   └── developer-assistant.chatmode.md
├── instructions/
│   └── code-review-guidelines.instructions.md
├── prompts/
│   └── bug-analysis.prompt.md
├── tasks/
│   └── automated-testing.task.json
├── mcp/
│   └── development-servers.mcp.json
└── hats/
    └── full-stack-dev.json

📖 Documentation

  • Setup Guide - Detailed installation and configuration instructions
  • Software Architecture - Technical architecture overview
  • Test Plan - Testing strategies and test cases
  • Changelog - Version history and release notes
  • Catalog Display Names - Naming conventions and examples

🛠️ Development

Prerequisites

  • Node.js 18+
  • VS Code 1.90.0+
  • TypeScript 5.4+

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Process

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Write tests for your changes
  4. Implement your feature
  5. Ensure all tests pass: npm test
  6. Commit your changes: git commit -m 'Add amazing feature'
  7. Push to the branch: git push origin feature/amazing-feature
  8. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔒 Security

If you discover a security issue, please do NOT open a public issue immediately. Instead:

  1. Reproduce and collect minimal details.
  2. Contact the maintainer privately (e.g. via the email listed in the repository profile) OR temporarily make a private draft issue.
  3. After a fix is prepared and released, disclosure can be coordinated.

📞 Support

For support and questions, please see our Support Guide.

🏷️ Versioning

We use Semantic Versioning for release management:

  • MAJOR: Breaking changes
  • MINOR: New features (backward compatible)
  • PATCH: Bug fixes (backward compatible)

🙏 Acknowledgments

  • Thanks to the VS Code extension development community
  • Inspired by the need for better AI assistant resource management
  • Built with ❤️ by independent contributors

Code of Conduct

Please adopt a standard open-source code of conduct (e.g. Contributor Covenant) for community interactions. If one is added, reference it here.

Trademarks

All product names, logos, and brands are property of their respective owners. Use of any third-party trademarks or logos does not imply endorsement.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft