Skip to content

cbuntingde/coding-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Coding Agent Skill

A modified OpenClaw skill for delegating coding tasks to OpenCode via background processes.

Overview

This is a modified version of the OpenClaw coding-agent skill, adapted to work exclusively with OpenCode.

This skill provides patterns and workflows for using OpenCode effectively in your projects. It includes guidance on:

  • Running OpenCode tasks with PTY (pseudo-terminal) for proper interactive output
  • Executing one-shot tasks for quick prompts
  • Running background tasks for longer operations
  • Managing parallel tasks with git worktrees
  • Reviewing pull requests safely

Usage

Quick Start

# Run a simple task
bash pty:true workdir:~/project command:"opencode run 'Add error handling to API calls'"

Background Tasks

# Run longer tasks in background
bash pty:true workdir:~/project background:true command:"opencode run 'Build a REST API for todos'"

Monitoring Progress

# Check session status
process action:poll sessionId:XXX

# View output
process action:log sessionId:XXX

Requirements

  • OpenCode CLI installed
  • Bash tool with PTY support
  • Git (for PR reviews)

Files

  • SKILL.md - OpenCode skill definition with full documentation

License

MIT

About

A modified OpenClaw skill for delegating coding tasks to OpenCode via background processes.

Topics

Resources

Stars

Watchers

Forks

Contributors