Openclaw - Coding Automation

@codify/openclaw-coding-automation·Codify official·v1.0.0·Updated yesterday

Run three AI coding agents on your own machine that review pull requests, write tests and refactor code, and talk to them from Discord.

0 appliesmacOS · Linux
Apply with CodifyCustomize a copy

Opens the template in the Codify dashboard. Applying doesn't create a setup; customizing makes a private copy you can edit.

Or from your terminal, with the Codify CLI
codify apply @codify/openclaw-coding-automation
This template runs 1 script on your machine. The Codify CLI shows you the exact command and asks before anything runs. Read the script

Configuration

The exact file codify apply uses. Copy it into your own codify.jsonc, or download it.

codify.jsonc143 lines · 3.7 KB
[
// ### Codify Config — OpenClaw Code Automation Stack
//
// This config sets up a full development environment with:
//
// - **Node.js 24** via nvm (macOS & Linux)
// - **CLI tools** — `gh` (GitHub CLI), `jq` via Homebrew (macOS) or apt (Linux)
// - **GitHub auth** — interactive `gh auth login` on first run
// - **OpenClaw** — AI agent gateway with three specialized workers
//
// **Getting started:**
// 1. Click **Plan** to preview what will be installed
// 2. Click **Apply** to execute (you'll be prompted for `gh auth login`)
// 3. Fill in your Discord bot token and user ID under `channels.discord`
// 4. Run **Apply** again to activate the Discord config
//
// **Using OpenClaw:**
// - Run `openclaw` to start the gateway (it runs in the foreground by default)
// - Open **http://localhost:18789** in your browser for the Control UI
// - Chat with the gateway via Discord (once configured) or the web UI
// - Use `openclaw help` to see all CLI commands
// - The three agents (`pr-reviewer`, `test-writer`, `refactorer`) are
// available as sub-agents you can invoke during a session
// - Skills are loaded from `$HOME/openclaw-skills` — add custom
// `.md` skill files there to extend agent capabilities
{
"type": "nvm",
"nodeVersions": [
"24"
],
"global": "24"
},
{
"type": "homebrew",
"formulae": [
"gh",
"jq"
],
"os": [
"macOS"
]
},
{
"type": "apt",
"install": [
"git",
"gh",
"jq"
],
"os": [
"linux"
],
"distro": [
"debian-based"
]
},
{
"type": "action",Runs a script · asks first
"name": "gh-auth-check",
"condition": "gh auth status &>/dev/null",
"action": "gh auth login",
"requiresStdin": true,
"dependsOn": [
"homebrew",
"apt"
]
},
{
"type": "openclaw",
"name": "code-automation",
"dependsOn": [
"nvm",
"homebrew",
"apt",
"action.gh-auth-check"
],
"settings": {
"gateway": {
"port": 18789,
"bind": "loopback",
"mode": "local"
},
"agents": {
"defaults": {
"model": "anthropic/claude-sonnet-4-6",
"workspace": "$HOME/openclaw-code-workspace",
"maxConcurrent": 6
},
"list": [
{
"id": "pr-reviewer",
"name": "PR Reviewer",
"model": "anthropic/claude-sonnet-4-6",
"description": "Reviews pull requests for code quality, security issues, and best practices",
"skills": ["exec", "read", "github"]
},
{
"id": "test-writer",
"name": "Test Writer",
"model": "anthropic/claude-sonnet-4-6",
"description": "Generates unit tests and integration tests for code changes",
"skills": ["exec", "read", "write"]
},
{
"id": "refactorer",
"name": "Refactorer",
"model": "anthropic/claude-sonnet-4-6",
"description": "Refactors code for readability, performance, and maintainability",
"skills": ["exec", "read", "write"]
}
]
},
"channels": {
"discord": {
"token": "<Replace with your Discord bot token>",
"dmPolicy": "allowlist",
"allowFrom": [
"<Replace with your Discord user ID>"
]
}
},
"tools": {
"allow": [
"exec",
"read",
"write",
"web_search",
"github"
]
},
"skills": {
"load": {
"extraDirs": [
"$HOME/openclaw-skills"
]
}
},
"cron": {
"enabled": true
}
}
}
]