Add orchestrate skill: main-actor pattern + mav-agent/mav-tmux wrappers
One bot owns the chat and delegates coding to persistent tmux sub-agents, using a .done file marker for a reliable handoff (status/wait/result). Includes README + install.sh for one-command setup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
28
install.sh
Executable file
28
install.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# install.sh — drop the orchestrate skill + wrappers into the current user's env.
|
||||
set -euo pipefail
|
||||
HERE="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
SKILL_DIR="$HOME/.claude/skills/orchestrate"
|
||||
BIN_DIR="$HOME/.local/bin"
|
||||
|
||||
mkdir -p "$SKILL_DIR" "$BIN_DIR"
|
||||
cp "$HERE/skill/SKILL.md" "$SKILL_DIR/SKILL.md"
|
||||
cp "$HERE/bin/mav-agent" "$BIN_DIR/mav-agent"
|
||||
cp "$HERE/bin/mav-tmux" "$BIN_DIR/mav-tmux"
|
||||
chmod +x "$BIN_DIR/mav-agent" "$BIN_DIR/mav-tmux"
|
||||
|
||||
echo "installed:"
|
||||
echo " skill -> $SKILL_DIR/SKILL.md"
|
||||
echo " mav-agent -> $BIN_DIR/mav-agent"
|
||||
echo " mav-tmux -> $BIN_DIR/mav-tmux"
|
||||
|
||||
case ":$PATH:" in
|
||||
*":$BIN_DIR:"*) ;;
|
||||
*) echo "NOTE: add $BIN_DIR to your PATH to use mav-agent/mav-tmux." ;;
|
||||
esac
|
||||
|
||||
command -v tmux >/dev/null 2>&1 || echo "WARN: tmux not found — required."
|
||||
command -v claude >/dev/null 2>&1 || echo "NOTE: claude not on PATH (needed for claude agents)."
|
||||
command -v codex >/dev/null 2>&1 || echo "NOTE: codex not on PATH (needed for --codex agents)."
|
||||
echo "done. /orchestrate is now available in Claude Code."
|
||||
Reference in New Issue
Block a user