-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·25 lines (19 loc) · 1.17 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·25 lines (19 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# One-line install for audit-loop + audit-loop-max across Claude Code, Codex CLI, and OpenClaw.
# Run from the repo root: ./install.sh
set -euo pipefail
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Claude Code
mkdir -p ~/.claude/skills/audit-loop ~/.claude/skills/audit-loop-max
cp "$REPO_DIR/platforms/claude-code/audit-loop/SKILL.md" ~/.claude/skills/audit-loop/
cp "$REPO_DIR/platforms/claude-code/audit-loop-max/SKILL.md" ~/.claude/skills/audit-loop-max/
# Codex CLI (open agent skills standard path)
mkdir -p ~/.agents/skills/audit-loop ~/.agents/skills/audit-loop-max
cp "$REPO_DIR/platforms/codex/audit-loop/SKILL.md" ~/.agents/skills/audit-loop/
cp "$REPO_DIR/platforms/codex/audit-loop-max/SKILL.md" ~/.agents/skills/audit-loop-max/
# OpenClaw
mkdir -p ~/.openclaw/skills/audit-loop ~/.openclaw/skills/audit-loop-max
cp "$REPO_DIR/platforms/openclaw/audit-loop/SKILL.md" ~/.openclaw/skills/audit-loop/
cp "$REPO_DIR/platforms/openclaw/audit-loop-max/SKILL.md" ~/.openclaw/skills/audit-loop-max/
echo "✓ Installed audit-loop and audit-loop-max for Claude Code, Codex CLI, and OpenClaw."
echo " Start a new agent session to pick up the skills."