A collection of skills to automate the boring workflows in OpenCode. These skills help you:
- Add custom AI providers
- Manage MCP servers
- Organize your conversations
Note: If you are here from freetiermodels.com, download and use the opencode-add-provider skill.
Think of these as plugins or extensions for OpenCode. Once installed, you can activate them by typing a / (slash) followed by the skill name.
- Type
/opencode-mcpto manage MCP servers - Type
/opencode-sessionsto see your past conversations
You need:
- OpenCode - The AI coding assistant (get it from opencodes.dev)
- Terminal/Command Line - Any terminal app on your computer
You need to get the skill files onto your computer. Choose one method:
- Open your terminal
- Navigate to where you want to save this:
cd ~/Documents
- Clone the repository:
git clone https://github.com/your-username/opencode-skills.git
- Go to the GitHub page for this repository
- Click the green "Code" button
- Click "Download ZIP"
- Unzip the file to somewhere on your computer (like your Documents folder)
Now you'll "teach" OpenCode about these skills by linking them to the right folder.
OpenCode looks for skills in this folder on your computer:
~/.agents/skills/
(The ~ means "your home folder" - on Mac it's /Users/yourname/, on Linux it's /home/yourname/)
-
Open your terminal (Terminal app on Mac, or Command Prompt/PowerShell on Windows)
-
Create the skills folder (if it doesn't exist):
mkdir -p ~/.agents/skills -
Navigate to where you saved this repository:
If you used git (Option A):
cd ~/Documents/opencode-skills
If you downloaded the ZIP (Option B), navigate to wherever you unzipped it:
cd ~/Documents/opencode-skills # adjust path as needed
-
Create symbolic links (shortcuts) for each skill:
ln -s "$(pwd)/skills/opencode-mcp" ~/.agents/skills/opencode-mcp ln -s "$(pwd)/skills/opencode-add-provider" ~/.agents/skills/opencode-add-provider ln -s "$(pwd)/skills/opencode-sessions" ~/.agents/skills/opencode-sessions ln -s "$(pwd)/skills/opencode-session-migrate" ~/.agents/skills/opencode-session-migrate
What this does: Creates shortcuts in the
~/.agents/skills/folder that point to the actual skill files.
OpenCode needs to reload to see the new skills.
- Close OpenCode completely
- Reopen OpenCode
- Test it: Type
/(forward slash) in the chat box
You should see suggestions for the new skills!
Here are the complete commands you can copy and paste into your terminal:
# Create the skills directory
mkdir -p ~/.agents/skills
# Navigate to the repository folder (change this to where you cloned/downloaded it)
cd ~/Documents/opencode-skills
# Create links for all skills
ln -s "$(pwd)/skills/opencode-mcp" ~/.agents/skills/opencode-mcp
ln -s "$(pwd)/skills/opencode-add-provider" ~/.agents/skills/opencode-add-provider
ln -s "$(pwd)/skills/opencode-sessions" ~/.agents/skills/opencode-sessions
ln -s "$(pwd)/skills/opencode-session-migrate" ~/.agents/skills/opencode-session-migrate
echo "✓ Skills installed! Now restart OpenCode."Don't want all skills? Just install the ones you need:
mkdir -p ~/.agents/skills
ln -s "/path/to/opencode-skills/skills/opencode-mcp" ~/.agents/skills/opencode-mcpWhat it does: Lets you add and manage MCP servers that extend OpenCode's capabilities.
mkdir -p ~/.agents/skills
ln -s "/path/to/opencode-skills/skills/opencode-add-provider" ~/.agents/skills/opencode-add-providerWhat it does: Helps you add custom AI providers (other AI models) to OpenCode.
mkdir -p ~/.agents/skills
ln -s "/path/to/opencode-skills/skills/opencode-sessions" ~/.agents/skills/opencode-sessionsWhat it does: Manage your conversation history - view, resume, and export past chats.
mkdir -p ~/.agents/skills
ln -s "/path/to/opencode-skills/skills/opencode-session-migrate" ~/.agents/skills/opencode-session-migrateWhat it does: Move your chat history when you rename or move a project folder.
If you're on Windows, the ln command might not work. Try using copy instead:
mkdir -p ~/.agents/skills
cp -r "C:\path\to\opencode-skills\skills\opencode-mcp" ~/.agents/skills/
cp -r "C:\path\to\opencode-skills\skills\opencode-add-provider" ~/.agents/skills/
cp -r "C:\path\to\opencode-skills\skills\opencode-sessions" ~/.agents/skills/
cp -r "C:\path\to\opencode-skills\skills\opencode-session-migrate" ~/.agents/skills/-
Check the skills directory exists:
ls ~/.agents/skills/You should see folders like
opencode-mcp,opencode-sessions, etc. -
Make sure the links point to actual files:
ls -la ~/.agents/skills/You should see arrows (
->) pointing to real files. -
Try restarting OpenCode again (close completely and reopen)
Make sure:
- You're in the right folder where you cloned/downloaded the repo
- The paths in the
ln -scommand point to the actual skill folders
Once installed, you activate them by typing in OpenCode:
| Command | What it does |
|---|---|
/opencode-mcp |
Add, configure, or debug MCP servers |
/opencode-add-provider |
Add new AI providers to OpenCode |
/opencode-sessions |
See and manage past conversations |
/opencode-session-migrate |
Move chat history when you move folders |
Example usage:
To add an MCP server, you might type:
/opencode-mcp Add the vidIQ MCP server
To see your past conversations:
/opencode-sessions List my sessions
opencode-skills/
├── skills/
│ ├── opencode-add-provider/ # Add custom AI providers
│ │ └── SKILL.md
│ ├── opencode-mcp/ # MCP server manager
│ │ └── SKILL.md
│ ├── opencode-sessions/ # Conversation history manager
│ │ └── SKILL.md
│ └── opencode-session-migrate/ # Move sessions between folders
│ └── SKILL.md
└── README.md # This file!
If you're stuck:
- Check OpenCode's docs: opencodes.dev/docs
- Try the
/command in OpenCode - it will show available skills - Check file paths - make sure the repository folder path is correct
To install these skills, paste this prompt into your AI assistant:
Please help me install the OpenCode skills from the repository at [YOUR_PATH_HERE].
I need to:
1. Create the ~/.agents/skills/ directory
2. Symlink these skill folders:
- opencode-mcp
- opencode-add-provider
- opencode-sessions
- opencode-session-migrate
After installation, verify the skills are in place and tell me to restart OpenCode.
Manage Model Context Protocol (MCP) servers that extend OpenCode's capabilities.
Use it when you want to:
- Add a new MCP server
- Debug MCP connections
- Configure authentication
- List installed MCP servers
Example: "Add the vidIQ MCP server"
Add custom OpenAI-compatible AI providers to OpenCode.
Use it when you want to:
- Connect to alternative AI models
- Use self-hosted LLMs
- Add providers not in the default list
Example: "Add a custom provider with this API endpoint"
Check out freetiermodels.com for all AI providers that offer free tiers.
Manage your conversation history, switch between past sessions, and export transcripts.
Use it when you want to:
- Find a previous conversation
- Resume work from last week
- Export chat history to a file
- Switch between projects
Example: "List my past sessions"
Move your chat history when you rename or relocate project folders.
Use it when you want to:
- Rename a project folder
- Move a project to a new location
- Relink sessions to the new path
Example: "I moved my project from /old/path to /new/path"