npx skills add smithery/igorwarzocha --skill opencode-folder-creator
igorwarzocha/opencode-agent-swarm-demo · Archived
opencode-folder-creator
Creates complete OpenCode folder structures with configuration files, agents, and commands
Installation
npx skills add igorwarzocha/opencode-agent-swarm-demo --skill opencode-folder-creator
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Launch and manage OpenCode servers with simple commands, from single instances to multi-server …
2 installsCreates universal OpenCode orchestrator folder structure with specialized agent that can manage…
1 installs>- Delegate a coding task to the OpenCode CLI as a background implementer, then review its diff…
3.9K installsReference OpenCode docs when implementing skills, plugins, MCPs, or config-driven behavior.
736 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsAlso in this package
Other skills from igorwarzocha/opencode-agent-swarm-demo.
npx skills add igorwarzocha/opencode-agent-swarm-demo
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
master
Skill metadata
Parsed from SKILL.md frontmatter.
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md4,210 B -
docs
SUMMARY.md121 B
History
- First seen on skills.sh
- First recorded snapshot · 1 installs
SKILL.md
OpenCode Folder Creator
Creates complete .opencode directory structures for projects with all necessary configuration files, agents, and commands. This skill sets up the entire OpenCode project structure that teams can immediately use with opencode serve.
IMPORTANT UNIVERSAL PRINCIPLE: This skill creates FOLDERS and STRUCTURES only. The specific agent types mentioned (code-analyzer, documentation-writer, etc.) are EXAMPLES ONLY. Real swarms will have vastly different agent types, purposes, and specializations. This skill is universal and works with ANY agent configuration.
Quick Start
Basic Project Setup
# Create basic OpenCode structure
mkdir -p .opencode/{agent,command}
# Create main config file
cat > .opencode/opencode.json << 'EOF'
{
"$schema": "https://opencode.ai/config.json",
"theme": "opencode",
"autoupdate": true
}
EOF
Specialized Agent Folder Creation (Swarm-Ready)
Creates specialized agent folders with proper communication protocols for swarm deployment:
Folder Structure:
folder-name/
├── AGENTS.md # Agent directory and communication protocol
└── .opencode/
├── opencode.json # Folder-specific configuration
├── agent/
│ └── folder_name.md # Primary agent with communication requirements
└── command/
Communication Protocol: Every agent MUST introduce itself:
I am the [Agent_Name] agent from the [folder_name] folder. I am contacting you because [reason]. I need you to [request]. Please respond with [format].
⚠️ EXAMPLE AGENT TYPES ONLY: The following are EXAMPLES to illustrate the pattern. Real swarms can have ANY agent types:
data-scientist/- Data analysis and machine learningui-designer/- User interface design and prototypingapi-developer/- API development and integrationgame-developer/- Game logic and mechanicsresearcher/- Research and analysistranslator/- Language translation and localizationmusic-composer/- Music composition and audio productionfinancial-analyst/- Financial modeling and analysis
UNIVERSAL TRUTH: This skill works with ANY folder name, ANY agent purpose, ANY specialization. The examples above are for illustration only.
Project Templates
1. Development Project Structure
mkdir -p .opencode/{agent,command}
# Code reviewer agent
cat > .opencode/agent/code-reviewer.md << 'EOF'
---
description: Reviews code for best practices and potential issues
mode: subagent
tools:
read: true
grep: true
permissions:
edit: deny
write: deny
---
You are a code reviewer. Focus on:
- Code quality and best practices
- Potential bugs and edge cases
- Performance implications
- Security considerations
Provide constructive feedback without making direct changes.
EOF
# Main configuration
cat > .opencode/opencode.json << 'EOF'
{
"$schema": "https://opencode.ai/config.json",
"theme": "opencode",
"autoupdate": true
}
EOF
Best Practices
File Organization
- Use kebab-case for agent and command names
- Keep descriptions concise but informative
- Group related agents and commands together
Permission Management
- Restrict write/edit access for security-focused agents
- Allow bash access only when necessary
- Use specific bash command permissions instead of wildcard
Configuration Management
- Always include
$schemafor validation - Use environment variables for sensitive data
- Keep project-specific config in
.opencode/ - Store user preferences in
~/.config/opencode/
Agent Design
- Create focused agents with specific purposes
- Use subagents for specialized tasks
- Reserve primary agents for coordination tasks
- Include clear usage instructions in agent prompts
This skill provides everything needed to create complete, functional OpenCode folder structures for any project type, with ready-to-use agents, commands, and configurations.