debug-offlisted
Install: claude install-skill ievo-ai/skills
# Debug Off — disable verbose session logging
Reverts iEvo skills to their default concise logging mode. Removes `.ievo/debug.flag`. Existing debug session logs in `.ievo/log/debug/<session-id>/` are NOT deleted — they're preserved as audit artifacts.
## When to use
- User says "turn off debug", "stop verbose", "disable trace", "debug off"
- After filing a bug report and no longer needs accumulating logs
- Disk pressure from large debug logs
## Steps
### 1. Check if debug is currently on
If `<project>/.ievo/debug.flag` does not exist → already off. Tell user:
```
iEvo debug mode is already OFF (no .ievo/debug.flag found).
Past debug logs (if any) remain in .ievo/log/debug/.
```
Exit.
### 2. Read flag content for the closing summary
Read `.ievo/debug.flag` and capture:
- `enabled_at` (when debug was turned on)
- `enabled_by`
- `reason`
### 3. Remove the flag
POSIX hosts (macOS / Linux / WSL) — use Bash with `rm -f` for idempotence:
```bash
rm -f <project>/.ievo/debug.flag
```
Windows hosts (PowerShell, no POSIX shell):
```powershell
Remove-Item -ErrorAction SilentlyContinue '<project>\.ievo\debug.flag'
```
Cross-platform fallback via the Bash tool if Node is available:
```bash
node -e "try { require('fs').unlinkSync('<project>/.ievo/debug.flag') } catch (e) { if (e.code !== 'ENOENT') throw e }"
```
(No Write-tool equivalent — there's no "delete" operation in Write. The narrow-scope rm/Remove-Item/unlink targets a specific named file with no glob, no recursion