OpenCodeGameStudios
Health Uyari
- License รขโฌโ License: MIT
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 0 days ago
- Low visibility รขโฌโ Only 6 GitHub stars
Code Basarisiz
- execSync รขโฌโ Synchronous shell command execution in .opencode/plugins/ccgs-hooks.ts
- fs.rmSync รขโฌโ Destructive file system operation in .opencode/plugins/tests/test-detect-gaps.mjs
- fs.rmSync รขโฌโ Destructive file system operation in .opencode/plugins/tests/test-log-agent-stop.mjs
- fs.rmSync รขโฌโ Destructive file system operation in .opencode/plugins/tests/test-log-agent.mjs
Permissions Gecti
- Permissions รขโฌโ No dangerous permissions requested
This project is an OpenCode port of the Claude-Code-Game-Studios (CCGS) framework. It provides a highly structured, AI-assisted workflow utilizing 49 agents, 72 skills, and 12 hooks specifically designed for long-running game development projects.
Security Assessment
The overall security risk is Medium. The tool actively executes shell commands using synchronous execution (`execSync`) within its hooks plugin. Additionally, it performs destructive file system operations (`fs.rmSync`) in several of its test scripts. No hardcoded secrets or dangerous broad permissions were found, but the file manipulation and command execution capabilities require caution, especially if used in environments with sensitive data.
Quality Assessment
The project is licensed under the permissive MIT license, which is excellent for open-source adoption. It appears to be actively maintained, with repository activity as recent as today. However, community trust and visibility are currently very low, indicated by only 6 GitHub stars. Furthermore, the developer explicitly notes in the documentation that this is an "Early Prototype" and an active work-in-progress, meaning users should expect potential bugs and breaking changes.
Verdict
Use with caution: while actively maintained and fully licensed, the tool employs aggressive file system actions and shell executions, and its early prototype status combined with low community adoption means it may lack stability for critical production environments.
OpenCode port of the original Claude-Code-Game-Studios framework ๐ค
OpenCode Game Studios
โก Port of Claude Code Game Studios (CCGS) to OpenCode
๐ Table of Contents
- ๐ก Motivation
- ๐ Port Status
- ๐ Quick Start
- ๐ Recommended Plugins
- ๐บ๏ธ Key Mappings
- ๐ง Model Mapping
- ๐ฏ Model Assignment Strategy
- ๐ Customizing Models
- ๐ Directory Tree
- ๐ Hooks Plugin
- ๐๏ธ Studio Hierarchy
- ๐ Known Issues
- ๐ License
๐ก Motivation
Claude Code's strict session and usage limits make it impractical for large-scale,
long-running game development โ sessions expire, context is frequently wiped, and
high usage quickly hits rate caps. OpenCode removes those constraints,
allowing sustained development over the full lifecycle of a game project. While there
are some workarounds for Claude Code to access other models through local proxies,
this is not the intended use of Claude Code and such setups are fragile at best.
This port adapts the complete CCGS
framework โ its 49 agents, 72 skills, 12 hooks, and all rules โ to run natively
on OpenCode, giving game teams the same structured AI-assisted workflow without
the artificial limits.
โ ๏ธ Early Prototype โ This is an active work-in-progress port. Things will
break, change, and improve. Report bugs at
github.com/striderZA/OpenCodeGameStudios/issues.
๐ Port Status
| Component | CCGS (Claude Code) | OpenCode | Status |
|---|---|---|---|
| ๐ค Agents | 49 agents (.claude/agents/) |
49 agents (.opencode/agents/) |
โ |
| โจ๏ธ Skills | 72 skills (.claude/skills/) |
72 skills (.opencode/skills/) |
โ |
| ๐ Hooks | 12 bash hooks (.claude/hooks/) |
1 TS plugin (.opencode/plugins/) |
โ 129 tests |
| ๐ Rules | 11 rule files (.claude/rules/) |
11 rule files (.opencode/rules/) |
โ |
| โ๏ธ Config | CLAUDE.md + .claude/settings.json |
AGENTS.md + opencode.json |
โ |
๐ Quick Start
opencode
Type / to browse all 72 skills, or /start for onboarding.
๐ Recommended Plugins
These plugins enhance the OpenCode experience and are recommended for
all game development sessions:
| Plugin | Purpose |
|---|---|
| dynamic-context-purging | Dynamic context pruning โ automatically manages context window size, indexes content for search, and prevents context overflow during long sessions |
| Superpowers | Enhanced skill library โ provides structured workflows for brainstorming, test-driven development, writing plans, code review, and parallel agent dispatch |
Add them to your opencode.json:
{
"plugin": [
"./.opencode/plugins/ccgs-hooks.ts",
"PLUGIN_NAME"
]
}
๐บ๏ธ Key Mappings
| CCGS (Claude Code) | OpenCode |
|---|---|
.claude/skills/*.md โ |
.opencode/skills/*.md |
.claude/agents/*.md โ |
.opencode/agents/*.md |
.claude/hooks/*.sh โ |
.opencode/plugins/ccgs-hooks.ts |
.claude/rules/*.md โ |
.opencode/rules/*.md |
CLAUDE.md โ |
AGENTS.md |
.claude/settings.json โ |
opencode.json |
๐ง Model Mapping
| CCGS | OpenCode |
|---|---|
opus ๐ |
kimi-k2.6 |
sonnet ๐๏ธ |
qwen3.6-plus |
haiku ๐ |
deepseek-v4-flash |
๐ฏ Model Assignment Strategy
| Tier | Model | Agents | Rationale |
|---|---|---|---|
| Directors (Tier 1) | opencode-go/kimi-k2.6 |
3 (creative-director, technical-director, producer) | Heaviest model for strategic planning, architecture decisions, and cross-team coordination |
| Workhorses (Tier 2-3) | opencode-go/qwen3.6-plus |
43 (all other agents) | Balanced model for day-to-day design, implementation, testing, and review tasks |
| Lightweight (Special) | opencode-go/deepseek-v4-flash |
3 (community-manager, devops-engineer, sound-designer) | Fast, low-latency model for simple, repetitive, or always-running agents |
Note: Subagents invoked via the
tasktool inherit the caller's model regardless of their frontmattermodel:field. See Known Issues.
The default session model (set via opencode -m) should match the tier of work:
opencode -m opencode-go/kimi-k2.6โ director-level sessionsopencode -m opencode-go/qwen3.6-plusโ general development sessionsopencode -m opencode-go/deepseek-v4-flashโ quick QA or maintenance sessions
๐ Customizing Models
OpenCode supports any model provider โ switch the studio to your preferred
models, including local ones, with a single command.
Quick switch
# Preview the change first
node utils/assign-models.js --dry-run --map '{
"opencode-go/kimi-k2.6": "anthropic/claude-opus-4",
"opencode-go/qwen3.6-plus": "openai/gpt-4o",
"opencode-go/deepseek-v4-flash": "ollama/llama3.2"
}'
# Apply it
node utils/assign-models.js --map '{
"opencode-go/kimi-k2.6": "anthropic/claude-opus-4",
"opencode-go/qwen3.6-plus": "openai/gpt-4o",
"opencode-go/deepseek-v4-flash": "ollama/llama3.2"
}'
Or save your mapping to a JSON file and refer to it:
node utils/assign-models.js --config my-models.json
Provider examples
| Provider | Model ID Format | Example |
|---|---|---|
| OpenCode (default) | opencode-go/<model> |
opencode-go/qwen3.6-plus |
| Anthropic Claude | anthropic/<model> |
anthropic/claude-opus-4, anthropic/claude-sonnet-4 |
| OpenAI | openai/<model> |
openai/gpt-4o, openai/o3 |
| Google Gemini | google/<model> |
google/gemini-2.5-pro |
| Ollama (local) | ollama/<model> |
ollama/llama3.2, ollama/mistral |
| OpenAI-compatible | <endpoint>/<model> |
http://localhost:11434/v1/llama3.2 |
Tip: Run
opencode modelsto list all models available through your
configured providers. See the OpenCode provider docs
for setup instructions.
๐ Directory Tree
/
โโโ AGENTS.md ๐ Project configuration
โโโ opencode.json โ๏ธ OpenCode config (permissions, plugins)
โโโ .opencode/
โ โโโ skills/ โจ๏ธ 72 skills
โ โโโ agents/ ๐ค 49 agent definitions
โ โโโ plugins/
โ โ โโโ ccgs-hooks.ts ๐ TS plugin (all 12 hooks)
โ โ โโโ tests/ ๐งช 11 test suites (129 tests)
โ โโโ rules/ ๐ Coding standards
โโโ .claude/docs/ ๐ CCGS documentation
โโโ design/ ๐จ Game design documents
โโโ docs/ ๐ Technical documentation
โโโ production/ ๐ Sprint plans, session logs
โโโ utils/ ๐ง Developer utilities
โ โโโ assign-models.js ๐ฏ Batch-model assignment tool
โโโ ... ๐ฎ Game source & assets
๐ Hooks Plugin
All 12 bash hooks from CCGS ported to a single TypeScript plugin
at .opencode/plugins/ccgs-hooks.ts:
| # | Bash Hook | ๐ OpenCode Event | ๐งช Tests |
|---|---|---|---|
| 1 | session-start.sh |
session.created |
18 |
| 2 | session-stop.sh |
session.idle / server.instance.disposed |
10 |
| 3 | detect-gaps.sh |
session.created |
15 |
| 4 | log-agent.sh |
tool.execute.before (task) |
5 |
| 5 | log-agent-stop.sh |
tool.execute.after (task) |
4 |
| 6 | validate-assets.sh |
tool.execute.after |
16 |
| 7 | validate-commit.sh |
tool.execute.before (git commit) |
17 |
| 8 | validate-push.sh |
tool.execute.before (git push) |
13 |
| 9 | validate-skill-change.sh |
tool.execute.after |
12 |
| 10 | pre-compact.sh |
experimental.session.compacting |
14 |
| 11 | post-compact.sh |
experimental.compaction.autocontinue |
5 |
| 12 | notify.sh |
Utility (showNotification) |
โ |
๐งช Run a test suite:
node .opencode/plugins/tests/test-<name>.mjs
๐๏ธ Studio Hierarchy
๐ฌ creative-director ๐ง technical-director ๐ฏ producer
โโโ ๐จ art-director โโโ ๐ป lead-programmer
โโโ ๐ต audio-director โโโ ๐งช qa-lead
โโโ ๐ narrative-director โโโ ๐ฆ release-manager
โโโ ๐ฎ game-designer โโโ ๐ localization-lead
โโโ ... (49 agents total)
๐ Known Issues
| Issue | Impact | Workaround |
|---|---|---|
Subagent model resolution via task โ Agent model: frontmatter fails with ProviderModelNotFoundError for models that work when used directly via opencode -m <model>. Subagents inherit the caller's model per OpenCode docs, so the frontmatter model may only apply when the agent runs as a primary session. |
Agents using opencode-go/kimi-k2.6 and opencode-go/deepseek-v4-flash as subagents via task |
Use opencode-go/qwen3.6-plus for subagent-heavy workflows, or start dedicated sessions with opencode -m <model> for director-level agents. Root cause being tracked upstream in OpenCode. |
๐ License
MIT โ Free for any use.
Built with โค๏ธ for AI-assisted game development
OpenCode Game Studios ยท CCGS Port
MIT License ยท Free for any use
โ Support development
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi