Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

opencode-gamesopencode games 搜索

Agent Skill

opencode-games 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,885

周安装

119

GitHub Stars

公开资料未说明

下载量

942
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:opencode-games(opencode games 搜索)
来源仓库:https://github.com/jadegaul/opencode-games
安装命令:
openclaw skills install opencode-games
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install opencode-games

简介

opencode-games 将 OpenCode 作为 ACP 子代理,用于游戏、Web 应用等大型项目开发。

  • 适用于多文件项目构建与复杂用户需求拆解场景。
  • 支持用户交互与进度反馈机制。opencode-games 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 使用前需确认 ACP 协议版本与资源分配策略。
  • 建议查看原始 README 了解适用边界与性能预期。

SKILL.md

name
opencode
description
Spawn OpenCode as an ACP (Agent Client Protocol) subagent for complex coding tasks. Use when building games, web apps, multi-file projects, or when the user says "use opencode", "spawn opencode", "code with opencode", or "build with opencode". Triggers on any coding task that would benefit from a dedicated coding agent.

OpenCode

Overview

OpenCode is an open-source AI coding agent that integrates with OpenClaw via ACP (Agent Client Protocol). It provides specialized coding capabilities including game development, multi-file projects, complex refactoring, and production-ready code generation.

Status: ✅ Fully tested - Built 12 production-ready games including Pac-Man, Space Invaders, Tetris, Q*bert, and more.

When to Use This Skill

Use OpenCode when:

  1. Building games (HTML5 Canvas games work excellently)
  2. Creating multi-file projects from scratch
  3. Performing complex code refactoring across multiple files
  4. Building production-ready applications with proper structure
  5. Tasks requiring dedicated coding agent focus
  6. The user explicitly asks to use OpenCode

Quick Start

Spawn OpenCode as ACP Subagent

// One-shot task (recommended for most builds)
sessions_spawn({
  runtime: "acp",
  agentId: "opencode",
  task: "Create a complete [game/app] in HTML/CSS/JavaScript...",
  mode: "run",
  cwd: "/path/to/project"
})

// Parallel builds (run multiple simultaneously)
sessions_spawn({...}) // Game 1
sessions_spawn({...}) // Game 2  
sessions_spawn({...}) // Game 3

Parallel Builds

OpenCode supports parallel execution - spawn multiple subagents simultaneously:

// Launch 3 games at once
const game1 = sessions_spawn({... Asteroids ...})
const game2 = sessions_spawn({... Doodle Jump ...})
const game3 = sessions_spawn({... Flappy Bird ...})

// All build concurrently, limited by slowest

Performance: 3 parallel games completed in ~1m 20s (same as single game)

Performance Expectations

Based on 12-game test suite:

ComplexityExamplesBuild TimeLines
SimplePong, Flappy Bird30-60s300-600
MediumSnake, 2048, Breakout1m - 1m 30s500-800
ComplexPac-Man, Q*bert, Tetris1m 30s - 2m+1000-1300

Proven Game Templates

The following game types have been fully tested and verified:

GameKey FeaturesTest Result
TetrisGhost piece, hold, preview, levels✅ Complete
Pac-Man4 AI ghosts, maze, power pellets✅ Complete
Space InvadersEnemy formation, bunkers, UFO✅ Complete
SnakeGrid movement, progressive speed✅ Complete
PongAI opponent, physics✅ Complete
BreakoutMulti-level, power-ups✅ Complete
2048Merge algorithm, undo, swipe✅ Complete
MinesweeperFlood-fill, 3 difficulties✅ Complete
**Q*bert**Isometric, pyramid, enemies✅ Complete (fixed spawn)
AsteroidsVector physics, screen wrap✅ Complete
Flappy BirdGravity, pipes, medals✅ Complete
Doodle JumpBouncing, power-ups, black holes✅ Complete (fixed spawn)

Commands Reference

Core Commands

CommandDescription
opencodeStart interactive TUI
opencode run <message>Run non-interactive mode
opencode acpStart ACP server (for OpenClaw integration)
opencode serveStart headless server
opencode webStart web interface

Utility Commands

CommandDescription
opencode providersManage AI providers
opencode modelsList available models
opencode statsShow token usage
opencode upgradeUpdate to latest version
opencode sessionManage sessions

Built-in Agents

  • build - Full-access agent for development work (default)
  • plan - Read-only agent for analysis and exploration
  • @general - Subagent for complex searches

Configuration

ACP Integration

OpenCode is configured in OpenClaw. The ACP command is:

opencode acp

This starts JSON-RPC over stdio for ACP-compatible communication.

Providers

OpenCode supports multiple AI providers:

  • OpenCode Zen (recommended)
  • Claude (Anthropic)
  • OpenAI
  • Google Gemini
  • Local models

Set API keys via opencode providers or environment variables.

Usage Patterns

Pattern 1: One-shot Build

sessions_spawn({
  runtime: "acp",
  agentId: "opencode",
  task: "Create a complete Snake game in HTML/CSS/JavaScript...",
  mode: "run",
  cwd: "/Users/jadegaul/.openclaw/workspace/codeprojects"
})

Pattern 2: Parallel Builds

// Build 3 games simultaneously
const builds = [
  sessions_spawn({ task: "Asteroids...", ... }),
  sessions_spawn({ task: "Doodle Jump...", ... }),
  sessions_spawn({ task: "Flappy Bird...", ... })
]

Pattern 3: Bug Fixes

// Fix existing code
sessions_spawn({
  runtime: "acp",
  agentId: "opencode",
  task: "Fix the bug in /path/to/file.html where...",
  mode: "run"
})

Pattern 4: Check Status

subagents({ action: "list" })

Pattern 5: Steer Running Subagent

subagents({
  action: "steer",
  target: "<runId>",
  message: "Continue with the implementation"
})

File Operations

OpenCode has full file system access:

  • Read/write files
  • Execute shell commands
  • Navigate directories
  • Git operations

Capabilities

  • 100% open source (unlike Claude Code)
  • Provider-agnostic - use any model
  • LSP support - code intelligence
  • Client/server architecture - run remotely
  • Undo/redo - /undo and /redo commands
  • Session sharing - /share creates shareable links

Best Practices

  1. Be specific in task descriptions - include file paths, required features
  2. Use mode: "run" for one-shot builds (faster)
  3. Use mode: "session" for multi-step work
  4. Test immediately - some games need spawn fixes
  5. Parallel builds work great for 3+ independent tasks

Common Issues & Solutions

Issue: Game spawns in wrong position

Fix: Spawn OpenCode to add starting platform/position

Issue: Character dies immediately

Fix: Add spawn delay or ensure safe starting position

Issue: Controls not working

Fix: Check that touch + keyboard controls both specified

References

See references/opencode-docs.md for complete ACP documentation.

Test Results Summary

Total Games Built: 12 Total Build Time: ~15 minutes Total Lines of Code: ~8,000+ Success Rate: 100% (with minor spawn fixes)

Average Build Times:

  • Simple games: ~50s
  • Medium games: ~1m 15s
  • Complex games: ~1m 40s

OpenCode via ACP is production-ready for game development and coding tasks.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.2%
按下载量换算727

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills