skills$openclaw/claude-code-wingman
yossiovadia3.1k

by yossiovadia

claude-code-wingman – OpenClaw Skill

claude-code-wingman is an OpenClaw Skills integration for planning workflows. Your Claude Code wingman - dispatch coding tasks via tmux for free/work-paid coding while keeping Clawdbot API costs minimal

3.1k stars3.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026planning

Skill Snapshot

nameclaude-code-wingman
descriptionYour Claude Code wingman - dispatch coding tasks via tmux for free/work-paid coding while keeping Clawdbot API costs minimal OpenClaw Skills integration.
owneryossiovadia
repositoryyossiovadia/claude-code-wingmanpath: clawdbot-skill
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @yossiovadia/claude-code-wingman:clawdbot-skill
last updatedFeb 7, 2026

Maintainer

yossiovadia

yossiovadia

Maintains claude-code-wingman in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
clawdbot-skill
README.md
871 B
SKILL.md
4.4 KB
SKILL.md

name: claude-code-wingman description: Your Claude Code wingman - dispatch coding tasks via tmux for free/work-paid coding while keeping Clawdbot API costs minimal metadata: {"clawdbot":{"emoji":"🎯","requires":{"anyBins":["claude","tmux"]}}}

Claude Code Wingman

Automate Claude Code sessions from Clawdbot - leverage free/work Claude Code API while keeping your Anthropic budget for conversations.

GitHub: https://github.com/yossiovadia/claude-code-wingman

What It Does

Spawns Claude Code in tmux sessions with automatic approval of permission prompts. Perfect for when you have free/work Claude Code access but limited Anthropic API budget.

Cost Comparison:

  • Without: Clawdbot does all coding → uses your $20/month API
  • With: Clawdbot spawns Claude Code → uses work's free API ✅

Installation

The skill references the standalone repo. Install it once:

cd ~/code
git clone https://github.com/yossiovadia/claude-code-wingman.git
cd claude-code-wingman
chmod +x *.sh

Usage from Clawdbot

When a user asks for coding work, spawn Claude Code:

~/code/claude-code-wingman/claude-wingman.sh \
  --session <session-name> \
  --workdir <project-directory> \
  --prompt "<task description>"

Example Patterns

User: "Fix the bug in api.py"

Clawdbot Response:

Spawning Claude Code for this...

bash:~/code/claude-code-wingman/claude-wingman.sh \
  --session vsr-bug-fix \
  --workdir ~/code/semantic-router \
  --prompt "Fix the bug in src/api.py - add proper error handling for null responses"

Then report:

  • Session name (so user can attach)
  • Monitor command
  • Auto-approver is running

User: "What's the status?"

Clawdbot: Capture tmux output and summarize:

tmux capture-pane -t vsr-bug-fix -p -S -50

Commands

Spawn Session

~/code/claude-code-wingman/claude-wingman.sh \
  --session <name> \
  --workdir <dir> \
  --prompt "<task>"

Monitor Progress

tmux capture-pane -t <session-name> -p -S -100

View Auto-Approver Log

cat /tmp/auto-approver-<session-name>.log

Kill Session

tmux kill-session -t <session-name>

List All Sessions

tmux ls | grep claude-auto

Workflow

  1. User requests coding work (fix bug, add feature, refactor, etc.)
  2. Clawdbot spawns Claude Code via wingman script
  3. Auto-approver handles permissions in background
  4. Clawdbot monitors and reports progress
  5. User can attach anytime to see/control directly
  6. Claude Code does the work on work's API ✅

Trust Prompt (First Time Only)

When running in a new directory, Claude Code asks:

"Do you trust the files in this folder?"

First run: User must attach and approve (press Enter). After that, it's automatic.

Handle it:

User, Claude Code needs you to approve the folder trust (one-time). Please run:
tmux attach -t <session-name>

Press Enter to approve, then Ctrl+B followed by D to detach.

Best Practices

When to Use Wingman

Use wingman for:

  • Heavy code generation/refactoring
  • Multi-file changes
  • Long-running tasks
  • Repetitive coding work

Don't use wingman for:

  • Quick file reads
  • Simple edits
  • When conversation is needed
  • Planning/design discussions

Session Naming

Use descriptive names:

  • vsr-issue-1131 - specific issue work
  • vsr-feature-auth - feature development
  • project-bugfix-X - bug fixes

Troubleshooting

Prompt Not Submitting

The wingman sends Enter twice with delays. If stuck, user can attach and press Enter manually.

Auto-Approver Not Working

Check logs: cat /tmp/auto-approver-<session-name>.log

Should see: "Approval prompt detected! Navigating to option 2..."

Session Already Exists

Kill it: tmux kill-session -t <name>

Advanced: Update Memory

After successful tasks, update TOOLS.md:

### Recent Claude Code Sessions
- 2026-01-26: VSR AWS check - verified vLLM server running ✅
- Session pattern: vsr-* for semantic-router work

Pro Tips

  • Parallel sessions: Run multiple tasks simultaneously in different sessions
  • Name consistently: Use project prefixes (vsr-, myapp-, etc.)
  • Monitor periodically: Check progress every few minutes
  • Let it finish: Don't kill sessions early, let Claude Code complete

Remember: This skill saves API costs by using free work Claude Code for heavy lifting, keeping your Anthropic budget for conversations.

README.md

Clawdbot Skill: Claude Code Wingman

This directory contains the Clawdbot skill wrapper for the Claude Code Wingman.

Installation for Clawdbot

  1. Clone the main repo (if not already):

    cd ~/code
    git clone https://github.com/yossiovadia/claude-code-wingman.git
    
  2. Copy this skill to your Clawdbot skills directory:

    cp -r ~/code/claude-code-wingman/clawdbot-skill ~/.clawdbot/skills/claude-code-wingman
    

    Or create a symlink:

    ln -s ~/code/claude-code-wingman/clawdbot-skill ~/.clawdbot/skills/claude-code-wingman
    
  3. Restart Clawdbot:

    clawdbot gateway restart
    

Usage

See SKILL.md for full documentation on how Clawdbot should use this skill.

Requirements

  • tmux
  • Claude Code CLI (claude)
  • Bash
  • Main wingman scripts in ~/code/claude-code-wingman/

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install claude-code-wingman?

Run openclaw add @yossiovadia/claude-code-wingman:clawdbot-skill in your terminal. This installs claude-code-wingman into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/yossiovadia/claude-code-wingman. Review commits and README documentation before installing.