This is a personal project with commands, skills and agents for the OpenCode CLI.
Agents are specialized AI workflows stored as markdown files in the agent/ directory. They define specific behaviors based on the task at hand. Whether agents operate autonomously depends on the tools and permissions available to them.
Sub-Agents are agents designed to be invoked by other agents (or by you) to handle focused subtasks. They provide specialized capabilities that primary agents can leverage.
Skills are packaged bundles of instructions, scripts, references, and assets stored in the skill/ directory. Skills extend OpenCode's capabilities by providing domain-specific knowledge, workflows, and tools. Think of them as "onboarding guides" that transform OpenCode into a specialist for particular tasks.
OpenCode ships with built-in plan and build agents. They are defaults in the CLI and are not derived from HumanLayer.
Commands and sub-agents adapted from: https://github.com/humanlayer/humanlayer/tree/main/.claude
- create-plan: Guides interactive implementation planning and produces structured plan documents
- research: Documents the codebase as-is by orchestrating parallel research agents
- implement_plan: Implements approved plans with phased verification and checklist updates
- codebase-locator: Locates files and components relevant to tasks
- codebase-analyzer: Analyzes implementation details and traces data flow
- codebase-pattern-finder: Finds similar implementations and usage examples
- thoughts-locator: Discovers relevant documents in the thoughts directory
- thoughts-analyzer: Extracts key insights from thought documents
- code-simplifier: Simplifies and refines code for clarity and maintainability (sourced from
.clauderesources)
Skills are modular packages that provide specialized knowledge and workflows:
- skill-creator (from Anthropic): Complete workflow for creating, validating, and packaging new skills
- slack-gif-creator (from Anthropic): Knowledge and utilities for creating animated GIFs optimized for Slack
- steal-skill: Steal existing skills, commands, and agents from GitHub repositories
- agents-md-generator: Generates
agents.mdfiles for repositories with development instructions and best practices - spec-writer: Helps write software specifications, requirements, and feature designs
- python-programming (testing): Python coding standards and workflow guidance with Google-style docstrings
Skills include their own documentation in SKILL.md files and may bundle scripts, references, and assets.
Custom commands for improved workflows:
- create-plan: Create implementation plans via the plan agent
- research: Document codebase as-is via the plan agent
- implement_plan: Implement plans via the build agent
- note-improvement: Capture agent/skill/command improvement suggestions and create GitHub issues
- Install OpenCode CLI
- Copy the agents, skills, and commands to your relevant opencode directories
- Use OpenCode CLI to run agents and commands
For detailed instructions, see: https://opencode.ai/
This project is dual-licensed:
- Overall Project: MIT License - see the LICENSE file for details
- HumanLayer-inspired Agent System: Apache License 2.0 - see the LICENSE-APACHE file
- Skills: Licensed under MIT unless a specific LICENSE file exists in the skill's folder