hyphn
Share agents, commands & skills between AI tools
The unified bridge for AI coding assistants. Share your custom agents, commands, and skills across OpenCode and Claude Code without duplicating configuration.
Created default configuration
Added example assets
Configured Claude Code integration
Ready to share assets
Loaded 3 agents, 5 commands, 2 skills
• @skill-deploy (system)
• /test-suite (team-hyphn)
Unified AI Configuration
Write once, use everywhere. Hyphn standardizes your AI assistant capabilities.
Cross-Platform Sharing
Define agents and skills once in your ~/.hyphn directory and use them in both
OpenCode and Claude Code.
Team Sources
Add shared repositories as sources to instantly distribute custom agents and workflows to your entire team.
MCP Integration
Native support for Model Context Protocol. Expose your Hyphn tools as an MCP server for Claude Desktop.
Skill Management
Organize reusable capabilities into skills that any agent can adopt. Specific instructions, prompt templates, and tool definitions.
Safety Features
Automatic backups before overwrites, preservation of runtime data, and confirmation prompts for destructive operations.
Configuration Management
Flexible initialization with force, minimal, and JSON modes. Supports multiple source paths and environment variable overrides.
hyphn init
Initialize ~/.hyphn/ directory structure
Default Initialization
Creates complete structure with examples
Force Reinitialization
Backs up existing config before overwriting
Minimal Structure
For scripting or custom setups
Safety Features
Protect your configuration and data
Automatic Backups
Running init without --force on an existing installation safely exits
with an error. With --force, a backup is created before overwriting.
Data Preservation
User data in runtime directories (history/, cache/, logs/) is
preserved during reinitialization.
Confirmation Prompts
Destructive operations require user confirmation unless --yes or --json flag
is specified.
Complete Backups
Backups include configuration files, agents, commands, skills, hooks, and .gitignore settings.
Installation
Get up and running in seconds
NPM Package
Install globally to use CLI anywhere
Quick Start
Initialize your local configuration and link to supported tools
Team Setup
Add shared repositories to distribute assets
Commands
Complete CLI reference
hyphn init # Create ~/.hyphn/ with examples hyphn init --force # Overwrite existing configuration (creates backup) hyphn init --minimal # Create minimal structure without examples hyphn init --json # JSON output mode (skips prompts) hyphn setup # Configure OpenCode and Claude Code hyphn serve # Start MCP server (for Claude Code) hyphn list # List all loaded assets hyphn sources # Show configured sources hyphn sources add PATH # Add a source directory hyphn sources rm PATH # Remove a source directory hyphn validate # Check assets for errors hyphn help # Show help
Environment Variables
Configure behavior with environment variables
Supported Platforms
Hyphn bridges the gap between your favorite AI tools
OpenCode
Full native integration. Hyphn manages your opencode.json and extension loading.
Claude Code
Injects custom slash commands and prompts directly into your Claude Code sessions.
Claude Desktop
MCP server support exposes Hyphn tools via Model Context Protocol.