mcpField
A
audit-now

audit-now

github.com/terrylicaAgent workflows141 installsUpdated 1d ago
Repository

About audit-now

audit-now is a Claude-oriented skill for forcing the RU loop into validation mode at a chosen round. It suits users who need to start validation immediately rather than wait for the loop’s normal progression.

Key features

  1. 01Start validation at round 1 or a chosen round
  2. 02Validate round numbers from 1 to 5
  3. 03Run a Bash script to change loop state
  4. 04Troubleshooting guidance for common setup errors

Use cases

  1. 01Trigger validation on the next loop iteration
  2. 02Begin at round 4 for adversarial probing
  3. 03Diagnose a missing config or malformed settings file

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/terrylica/cc-skills --skill audit-now

After installing, type/audit-nowin Claude Code to confirm it loaded.

Bundled filesreferences/evolution-log.md

Details

From the project README

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

  • /ru:audit-now - Start validation from round 1
  • /ru:audit-now 4 - Start from round 4 (Adversarial Probing)

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

IssueCauseSolution
Round must be 1-5Invalid round numberUse a number between 1 and 5
Loop not runningRU not startedRun /ru:start first
Config file not found.claude dir missingCreate with mkdir -p .claude
Validation not startingConfig not read yetWait for next iteration to apply
jq errorConfig file malformedRun /ru:settings reset

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
  3. 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.

Comments

Markdown supported