Skip to main content

Autonomous Claude Code automation system

Project description

Clodputer

Autonomous Claude Code Automation System

Status Python License

Your AI assistant that works while you sleep.

Clodputer is a lightweight macOS automation framework that enables Claude Code to work autonomously through cron schedules and file watchers.

⚠️ Project Status

Developer preview. Core phases (queue, cron, watcher, menu bar) are complete. Installation is source-based while packaging is finalised.

See docs/planning for complete technical specifications and design decisions.

Quick Overview

What: Lightweight automation tool for Claude Code Why: Enable "set it and forget it" automation How: On-demand spawning, sequential queue, aggressive cleanup

Key Use Cases

  • Daily Email Management: Draft responses at 8 AM automatically
  • Project Assignment Queue: Drop project files, Claude executes autonomously
  • Todo List Automation: Tag tasks with @claude, they get done

Features

  • ✅ Sequential task queue with atomic persistence
  • ✅ Cron scheduling (clodputer install / uninstall)
  • ✅ File watcher daemon (clodputer watch)
  • ✅ YAML configuration (Pydantic validation, env substitution)
  • ✅ PID-tracked cleanup preventing MCP leaks
  • ✅ Structured logging + CLI viewers (status, logs)
  • ✅ macOS menu bar indicator (clodputer menu)
  • ✅ Diagnostics (clodputer doctor)

Architecture Highlights

  • Sequential execution: One task at a time (simple, reliable)
  • Production-grade safety: PID tracking, atomic writes, backups
  • AI-native design: Claude Code generates YAML configs
  • macOS-first: Using native tools (cron, watchdog)

Documentation

  • User docs: docs/user/ – installation, quick start, configuration, troubleshooting.
  • Developer docs: docs/dev/ – architecture, testing, packaging, release checklist.
  • Planning archive: docs/planning/ – A+ grade specifications.

Engineer Review

"A+ Plan. This is the Green Light. The project is exceptionally well-prepared for implementation. The level of detail in your specifications now rivals what I would expect from a seasoned team in a professional environment."

"My confidence in this project is extremely high. My final recommendation is unequivocal: Stop planning and start building."

— Expert Engineer Review, October 2025

🚀 For Engineers: Getting Started

If you're implementing this project, start here:

  1. Read: CONTRIBUTING.md - Complete onboarding guide
  2. Follow: docs/implementation/PROGRESS.md - Implementation tracker
  3. Reference: docs/planning/ - A+ grade technical specifications

Quick setup:

# Install dependencies
pip install -e ".[dev]"

# Read the plan
open docs/planning/00-START-HERE.md

# Start implementing
open docs/implementation/PROGRESS.md

First task: Complete the "tracer bullet" (Phase 0 in PROGRESS.md) - prove core interaction works end-to-end.

Installation

pipx (Recommended)

# Install pipx if you don't have it
brew install pipx
pipx ensurepath

# Install clodputer
pipx install git+https://github.com/remyolson/clodputer.git

# Verify installation
clodputer --version

Why pipx? It automatically handles virtualenv isolation and is designed specifically for Python CLI tools. Works on macOS, Linux, and Windows.

PyPI (Coming Soon)

Once published, installation will be even simpler:

pipx install clodputer

From Source (For Development)

git clone https://github.com/remyolson/clodputer.git
cd clodputer
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

See the installation guide for full details. After installation, run clodputer init for guided first-time setup.

CLI Overview

Command Description
clodputer init Guided onboarding that sets up everything automatically.
clodputer run <task> Enqueue (and optionally execute) a task.
clodputer list List configured tasks and their triggers.
clodputer status Show queue state and recent executions.
clodputer logs Tail execution logs (--json for raw events).
clodputer queue Inspect or clear the task queue.
clodputer install Install cron jobs for scheduled tasks.
clodputer uninstall Remove Clodputer-managed cron jobs.
clodputer watch Manage the file watcher daemon.
clodputer menu Launch the macOS menu bar app.
clodputer doctor Run diagnostics.

Getting Started in 60 Seconds

After installing Clodputer, the guided onboarding sets up everything automatically:

clodputer init

This single command:

  • Detects your Claude CLI installation
  • Creates all necessary directories (~/.clodputer/tasks, logs, archive)
  • Copies starter templates
  • Optionally configures cron scheduling and file watching
  • Runs a smoke test to verify everything works
  • Displays a diagnostics summary

See the Quick Start Guide for the complete walkthrough.

Example Workflows

Once onboarding completes, you can explore these common patterns:

Daily Email Summary (Scheduled)

clodputer template export daily-email.yaml
clodputer run daily-email           # Manual test
clodputer install                    # Enable cron scheduling
clodputer schedule-preview daily-email --count 3

Project File Watcher (Event-Driven)

clodputer template export file-watcher.yaml
# Edit ~/.clodputer/tasks/file-watcher.yaml to set your watched directory
clodputer watch --daemon             # Start monitoring
echo "# New Project" > ~/WatchedProjects/demo.md
clodputer status                     # See queued task
clodputer watch --stop               # Stop monitoring

These flows demonstrate the "Daily Email Management" and "Project Assignment Queue" scenarios from the planning docs, showing how cron and file triggers work end-to-end.

Advanced Setup (Manual Configuration)

For users who prefer manual configuration or need to customize beyond what clodputer init provides, you can still configure everything by hand:

Click to expand manual setup instructions
  1. Install from source

    git clone https://github.com/remyolson/clodputer.git
    cd clodputer
    python3 -m venv .venv
    source .venv/bin/activate
    pip install -e ".[dev]"
    
  2. Set environment variables (optional, only if Claude CLI isn't in your PATH)

    export CLODPUTER_CLAUDE_BIN=/Users/you/.claude/local/claude
    export CLODPUTER_EXTRA_ARGS="--dangerously-skip-permissions"
    
  3. Create directories and copy templates

    mkdir -p ~/.clodputer/tasks
    clodputer template export daily-email.yaml
    
  4. Run diagnostics

    clodputer doctor
    

Tech Stack

  • Python 3.9+: Orchestration
  • Click: CLI framework
  • Pydantic: Config validation
  • psutil: Process management (PID-tracked cleanup)
  • watchdog: File watching
  • rumps: macOS menu bar
  • PyYAML: Configuration parsing

License

MIT License - see LICENSE file for details.

Contributing

Acknowledgments

Special thanks to the expert engineer who provided comprehensive technical review and feedback throughout the planning phase.


Status: Planning complete (A+ grade). Implementation starting October 2025.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clodputer-0.1.0.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clodputer-0.1.0-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file clodputer-0.1.0.tar.gz.

File metadata

  • Download URL: clodputer-0.1.0.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for clodputer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7386fe5bae7eae21ef1f3739dc3121cad7062d352f766607774b91c2eb78c525
MD5 d760eba96298c87aafbe3aa6617139e4
BLAKE2b-256 13f4954dcddd7f25196a8157b4f294578fbf1ec45fb901d9098fd1baddcfd02d

See more details on using hashes here.

File details

Details for the file clodputer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clodputer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 58.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for clodputer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c89b1f38e60cd5c26d2967690b6008f76d301ce89db6eba61ad2fa78176f031f
MD5 5647c700fa8a92be60a16de72faf0265
BLAKE2b-256 b7415f4fe0aaf0b5fc5f47efa9f4c15f5a72ac175df636443b8afe186731ca71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page