Skip to content

πŸ€– Ready-to-use AI agents & skills for OpenCode β€” plan, code, review, commit, release. Generic, multilingual, stack-agnostic.

License

Notifications You must be signed in to change notification settings

humanuoid/opencode-agents-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OpenCode Agents Hub

A collection of ready-to-use agents and skills for OpenCode to assist developers in their daily tasks.

🎯 Philosophy

  • Generic β€” Works with any language, framework, or stack
  • Context-aware β€” Relies on your project's AGENTS.md for specific conventions
  • No vendor lock-in β€” Uses your configured model/provider
  • Multilingual β€” Responds in your language

πŸ“¦ Agents

Primary Agents (Tab to switch)

Agent Description
dev-architect Design implementation plans before coding. Think before you build.
debugger Analyze errors and bugs. Diagnose without modifying code.

Subagents (@ mention)

Agent Description
commit-writer Generate commit messages following Conventional Commits.
code-review Review code for bugs, security, performance, and best practices.
task-writer Draft tasks/tickets from ideas or bugs. Concise and actionable.
pr-writer Create pull requests on GitHub/GitLab with structured descriptions.
release-notes Generate and publish release notes matching your project's style.

🧠 Skills

Skills are reusable knowledge that agents can load on demand.

Skill Description
git-conventions Conventional Commits, branch naming, PR standards, SemVer, changelog format.
context7-lookup How to use Context7 MCP for up-to-date library documentation.

πŸš€ Installation

Recommended: Global Installation

# Clone the repository
git clone https://github.com/humanuoid/opencode-agents-hub.git
cd opencode-agents-hub

# Create symlinks to your global OpenCode config
ln -s $(pwd)/agent ~/.config/opencode/agent
ln -s $(pwd)/skill ~/.config/opencode/skill

Or manually copy the agent/ and skill/ folders to ~/.config/opencode/.

Alternative: Per-Project (Git Submodule)

# Add as submodule in your project
git submodule add https://github.com/humanuoid/opencode-agents-hub.git .opencode

# The agents and skills will be available only in this project

βš™οΈ Configuration

Models

Agents do not specify a model β€” they use your globally configured model or inherit from the invoking agent.

Configure your preferred model in ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "model": "your-provider/your-model"
}

See docs/models-recommendation.md for model suggestions per task type.

Project Context

For best results, create an AGENTS.md file at the root of your project describing:

  • Architecture and patterns used
  • Conventions and coding standards
  • Project structure
  • Tech stack

See docs/AGENTS.template.md for a template.

πŸ“– Usage

Primary Agents

Switch between primary agents with Tab:

build β†’ dev-architect β†’ debugger β†’ build

Plan before coding:

[Tab to dev-architect]
> I need to add a payment system with Stripe

Debug an issue:

[Tab to debugger]
> I get this error: TypeError: Cannot read property 'id' of undefined
> [paste stack trace]

Subagents

Invoke subagents with @ mention:

@commit-writer              # Generate commit message for staged changes
@code-review                # Review staged changes
@code-review #42            # Review a specific PR
@task-writer <description>  # Create a task from an idea
@pr-writer                  # Create and publish a PR
@release-notes              # Create and publish a release

πŸ”§ Customization

Override an Agent

Create a file with the same name in your project's .opencode/agent/ to override:

<!-- .opencode/agent/commit-writer.md -->
---
description: Custom commit writer for this project
mode: subagent
---

[Your custom instructions]

Extend with Project Rules

Add project-specific rules in your AGENTS.md β€” agents will respect them automatically.

πŸ“š Documentation

🀝 Contributing

Contributions welcome! Please read AGENTS.md for conventions.

  • Suggest improvements to existing agents
  • Propose new agents or skills
  • Report issues
  • Share your custom agents

πŸ“„ License

MIT

About

πŸ€– Ready-to-use AI agents & skills for OpenCode β€” plan, code, review, commit, release. Generic, multilingual, stack-agnostic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors