🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Prompt Request Pipeline

by @shunsukehayashi

GitHub Issue → auto-implement → PR → review → auto-merge pipeline. Write an Issue with [auto] tag, and the pipeline handles everything: task analysis, implem...

💡 Examples

Basic: Create an [auto] Issue

```markdown Title: [auto] Add utility function X

Body:

⚙️ Configuration

1. Register GitHub Webhook

On your GitHub repo → Settings → Webhooks → Add webhook:

  • Payload URL: https:///hooks/github
  • Content type: application/json
  • Secret: Your OpenClaw hooks token
  • Events: Select individual events:
  • - Issues - Pull requests - Pull request reviews - Check runs - Issue comments - Push

    2. Configure OpenClaw hooks

    Add this to your openclaw.json under hooks.mappings:

    {
      "match": { "path": "github" },
      "action": "agent",
      "name": "GitHub",
      "sessionKey": "hook:github:{{repository.name}}:{{headers.x-github-event}}:{{issue.number}}{{pull_request.number}}{{check_run.id}}",
      "messageTemplate": "",
      "deliver": true,
      "allowUnsafeExternalContent": true,
      "channel": "telegram",
      "to": "",
      "model": "anthropic/claude-opus-4-6",
      "thinking": "high",
      "timeoutSeconds": 900
    }
    

    3. Set working directory

    In the messageTemplate, replace the working directory path:

  • WORKDIR variable: where repositories are cloned (e.g., C:\Users\you\Dev or /home/you/dev)
  • 4. (Optional) Omega-bridge

    If you have Miyabi's omega-bridge for SWML-based task decomposition:

  • Set the path to omega-bridge.ts in the messageTemplate
  • If not available, the pipeline falls back to implementing directly from Issue body
  • 📋 Tips & Best Practices

  • Keep Issues small: 1 Issue = 1 clear deliverable, ≤300 lines of diff
  • Be specific: The quality of the Issue body directly determines output quality
  • Use templates: Create Issue templates for recurring task types
  • Reference skills: Point the agent to relevant SKILL.md files for domain knowledge
  • Reference agent definitions: Store AGENTS.md/SOUL.md in the repo for consistent behavior
  • View on ClawHub
    TERMINAL
    clawhub install prompt-request

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →