stop
- Repo stars 39
- Author repo awesome-omni-skill
RU: Stop
EXECUTE IMMEDIATELY: Use the Bash tool to run the following script.
/usr/bin/env bash << 'RALPH_UNIVERSAL_STOP'
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(pwd)}"
echo "Stopping RU loop..."
# Set state to stopped
STATE_FILE="$PROJECT_DIR/.claude/ru-state.json"
if [[ -d "$PROJECT_DIR/.claude" ]]; then
echo '{"state": "stopped"}' > "$STATE_FILE"
fi
# Create kill switch for redundancy
touch "$PROJECT_DIR/.claude/STOP_LOOP"
# Update config if exists
CONFIG_FILE="$PROJECT_DIR/.claude/ru-config.json"
if [[ -f "$CONFIG_FILE" ]]; then
jq '.state = "stopped"' "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"
fi
# Clean up markers
rm -f "$PROJECT_DIR/.claude/ru-start-timestamp"
# Create global stop signal
echo '{"state": "stopped", "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' > "$HOME/.claude/ru-global-stop.json"
echo ""
echo "RU: STOPPED"
echo "Project: $PROJECT_DIR"
RALPH_UNIVERSAL_STOP
After execution, confirm the loop has been stopped.
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| Loop continues running | Hook still active | Wait for current iteration to finish |
| State file not created | .claude dir missing | Create with mkdir -p .claude |
| jq error | Config file malformed | Delete and recreate config file |
| Permission denied | File not writable | Check directory permissions |
| Global stop not working | Different project dir | Ensure CLAUDE_PROJECT_DIR is correct |
- Fluxly category
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @diegosouzapw · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Guided setup
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Write / modify
- Shell exec
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Troubleshooting
Issue · Cause · Solution Loop continues running · Hook still active · Wait for current iteration to finish State file not created · .claude dir missing · Create with mkdir -p .claude
# RU: Stop
**EXECUTE IMMEDIATELY**: Use the Bash tool to run the following script.
```bash
/usr/bin/env bash << 'RALPH_UNIVERSAL_STOP'
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(pwd)}"
echo "Stopping RU loop..."
# Set state to stopped
STATE_FILE="$PROJECT_DIR/.claude/ru-state.json"
if [[ -d "$PROJECT_DIR/.claude" ]]; then
echo '{"state": "stopped"}' > "$STATE_FILE"
fi
# Create kill switch for redundancy
touch "$PROJECT_DIR/.claude/STOP_LOOP"
# Update config if exists
CONFIG_FILE="$PROJECT_DIR/.claude/ru-config.json"
if [[ -f "$CONFIG_FILE" ]]; then
jq '.state = "stopped"' "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"
fi
# Clean up markers
rm -f "$PROJECT_DIR/.claude/ru-start-timestamp"
# Create global stop signal
echo '{"state": "stopped", "timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' > "$HOME/.claude/ru-global-stop.json"
echo ""
echo "RU: STOPPED"
echo "Project: $PROJECT_DIR"
RALPH_UNIVERSAL_STOP
```
After execution, confirm the loop has been stopped.
## Troubleshooting
| Issue | Cause | Solution |
| ----------------------- | --------------------- | ------------------------------------ |
| Loop continues running | Hook still active | Wait for current iteration to finish |
| State file not created | .claude dir missing | Create with `mkdir -p .claude` |
| jq error | Config file malformed | Delete and recreate config file |
| Permission denied | File not writable | Check directory permissions |
| Global stop not working | Different project dir | Ensure CLAUDE_PROJECT_DIR is correct | Evidence boundary and execution chain
Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Troubleshooting
terms -> EXECUTE IMMEDIATELY · EXECUTE IMMEDIATELY: Use the Bash tool to run the following script. · After execution, confirm the loop has been stopped.
files/cmd -> mkdir -p .claude · usr/bin/env · PROJECTDIR/.claude/ru-state.json · PROJECTDIR/.claude · PROJECTDIR/.claude/STOPLOOP · PROJECTDIR/.claude/ru-config.json · PROJECTDIR/.claude/ru-start-timestamp · HOME/.claude/ru-global-stop.json
body sha256 -> 2476c9753e6f
Decide Fit First
Design Intent
How To Use It
Boundaries And Review