How this skill is triggered — by the user, by Claude, or both
Slash command
/preset:presetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run this silently. If `$1` is empty, show available backends from `/_/presets`.
Run this silently. If $1 is empty, show available backends from /_/presets.
[ -z "$PROXY_PRESET_SECRET" ] && { echo "Set PROXY_PRESET_SECRET in env"; exit 1; }
[ -z "$1" ] && { echo "Usage: /preset <backend|off>"; echo ""; curl -sS "$ANTHROPIC_BASE_URL/_/presets" | python3 -c "import sys,json;[print(\" \"+b) for b in json.load(sys.stdin).get(\"presets\",{})]; print(\" off\")" 2>/dev/null; exit 1; }
T="preset_$(printf %s "$CLAUDE_CODE_SESSION_ID" | openssl dgst -sha256 -hmac "$PROXY_PRESET_SECRET" | cut -d" " -f2)"
R=$(curl -sS -w "
%{http_code}" -X POST "$ANTHROPIC_BASE_URL/_/preset/active" -H "Authorization: Bearer $T" -d "session=$CLAUDE_CODE_SESSION_ID&backend=$1")
C=$(echo "$R"|tail -1); B=$(echo "$R"|sed "\$d")
[ "$C" = 200 ] && echo "Switched to $1." || echo "Failed ($C): $B"
Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub ofan/agent-plugins --plugin preset