agent-builder/scripts/templates/automation.sh
Kjell Tore Guttormsen 075383990f feat: initial agent-builder plugin (v0.1.0)
Build complete autonomous agent systems with Claude Code.
7-phase guided workflow: map work, CLAUDE.md, agent team,
pipeline, security, deployment, test.

Components:
- commands/build.md: main guided workflow
- agents/builder.md: scaffolding agent
- skills/agent-system-design: architecture knowledge + 4 references
- scripts/templates: hooks, automation, launchd, systemd

Covers 22 OpenClaw capabilities across 4 deployment targets
(local, Mac Mini, VPS, Managed Agents).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 19:10:54 +02:00

22 lines
584 B
Bash
Executable file

#!/bin/bash
# Headless Claude Code automation wrapper.
#
# Schedule this script with cron, launchd, or systemd to run
# a skill or prompt on a recurring schedule.
#
# Customize:
# - SKILL_NAME: the skill to run (e.g., /weekly-report)
# - OUTPUT_DIR: where to save output files
# - MAX_TURNS: safety ceiling on autonomous turns
SKILL_NAME="/YOUR-SKILL-NAME"
OUTPUT_DIR="pipeline-output"
MAX_TURNS=15
cd "$(dirname "$0")/.."
mkdir -p "$OUTPUT_DIR"
claude -p "Run $SKILL_NAME and save output to $OUTPUT_DIR/$(date +%Y-%m-%d).md" \
--output-format text \
--max-turns "$MAX_TURNS"