wbern

Pi Pai — DevOps skill for Claude Code

DevOps community

Ansible playbook for deploying an autonomous Claude Code server on Raspberry Pi.

How to install Pi Pai

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wbern/pi-pai and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi Pai does

Ansible playbook for deploying an autonomous Claude Code server on Raspberry Pi.

Alternatives in DevOps

  • MCP Boilerplate — A remote Cloudflare MCP server boilerplate with user authentication and Stripe for paid tools 1k ★
  • Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★
  • MCP SSH Manager — MCP SSH Server: 37 tools for remote SSH management Claude Code & OpenAI Codex DevOps automation, backups, data 460 ★

README

Pi-Pai

[![CI](https://github.com/KenDev-AB/pi-pai/actions/workflows/ci.yml/badge.svg)](https://github.com/KenDev-AB/pi-pai/actions/workflows/ci.yml)

**Alpha** - This project has been tested on Raspberry Pi 4 but is still under active development. Contributions welcome!

Contents

Ansible playbook for deploying an autonomous Claude Code server on Raspberry Pi 4.

flowchart TB
    subgraph clients["Clients"]
        mobile["Mobile Happy app"]
        laptop["Laptop"]
    end

    subgraph deploy["Deployment"]
        repo["pi-pai repo"]
    end

    subgraph pi["Remote Machine (pi)"]
        mcp["MCP: control-plane"]
        start{"start tmux session (Claude Code)"}
        list{list tmux sessions}
        kill{kill tmux session}
        mcpother["MCP: other"]
        subgraph tmux["tmux sessions"]
            subgraph docker1["Docker container"]
                subgraph happy1["happy-cli"]
                    ctrl["Claude Code: control plane"]
                end
            end
            subgraph docker2["Docker container"]
                subgraph happy2["happy-cli"]
                    spawned["Claude Code: spawned"]
                end
            end
            subgraph docker3["Docker container"]
                subgraph happy3["happy-cli"]
                    spawned2["Claude Code: spawned"]
                end
            end
        end
    end

    clients ~~~ deploy
    mobile --> tmux
    laptop --> tmux
    ctrl --> mcp
    mcp --> start
    mcp --> list
    mcp --> kill
    ctrl --> mcpother
    spawned --> mcpother
    spawned2 --> mcpother

    style spawned stroke-dasharray: 5 5
    style spawned2 stroke-dasharray: 5 5

Based on [Claude Code In My Pocket](https://kendev.se/articles/raspberry-pi-claude-server).

What This De