Cc-skills audit-now
Force immediate validation round. TRIGGERS - ru audit, force validation, audit now, run audit.
install
source · Clone the upstream repo
git clone https://github.com/terrylica/cc-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/terrylica/cc-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/ru/skills/audit-now" ~/.claude/skills/terrylica-cc-skills-audit-now && rm -rf "$T"
manifest:
plugins/ru/skills/audit-now/SKILL.mdsource content
RU: Audit Now
Force the loop to enter validation mode on the next iteration.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Usage
- Start validation from round 1/ru:audit-now
- Start from round 4 (Adversarial Probing)/ru:audit-now 4
Execution
/usr/bin/env bash << 'RU_AUDIT_SCRIPT' PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(pwd)}" CONFIG_FILE="$PROJECT_DIR/.claude/ru-config.json" STATE_FILE="$PROJECT_DIR/.claude/ru-state.json" ROUND="${ARGUMENTS:-1}" # Validate round number if ! [[ "$ROUND" =~ ^[1-5]$ ]]; then echo "Error: Round must be 1-5" echo "" echo "Validation Rounds:" echo " 1: Critical Issues" echo " 2: Verification" echo " 3: Documentation" echo " 4: Adversarial Probing" echo " 5: Cross-Period Robustness" exit 1 fi # Ensure config file exists if [[ ! -f "$CONFIG_FILE" ]]; then echo '{}' > "$CONFIG_FILE" fi # Check if loop is running CURRENT_STATE="stopped" if [[ -f "$STATE_FILE" ]]; then CURRENT_STATE=$(jq -r '.state // "stopped"' "$STATE_FILE" 2>/dev/null || echo "stopped") fi if [[ "$CURRENT_STATE" != "running" ]]; then echo "Warning: Loop not running (state: $CURRENT_STATE)" fi # Set force validation flag TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ") jq --argjson round "$ROUND" --arg ts "$TIMESTAMP" \ '.force_validation = {enabled: true, round: $round, timestamp: $ts}' \ "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE" echo "Force validation enabled - starting round $ROUND on next iteration" RU_AUDIT_SCRIPT
Run the bash script above to force validation mode.
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| Round must be 1-5 | Invalid round number | Use a number between 1 and 5 |
| Loop not running | RU not started | Run first |
| Config file not found | .claude dir missing | Create with |
| Validation not starting | Config not read yet | Wait for next iteration to apply |
| jq error | Config file malformed | Run |
Post-Execution Reflection
After this skill completes, check before closing:
- Did the command succeed? — If not, fix the instruction or error table that caused the failure.
- Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
- Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.
Only update if the issue is real and reproducible — not speculative.