brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
exec-displayStructured command execution with security levels, color-coded output, and 4-line max summaries. Enforces transparency and visibility for all shell commands. Use when running any exec/shell commands to ensure consistent, auditable output.
Independent GitHub snapshot · Automated classification · Original documentation governs
Structured, security-aware command execution with color-coded output.
Raw command execution lacks:
This skill enforces:
| Level | Emoji | Color | Description |
|---|---|---|---|
| SAFE | 🟢 | Green | Read-only information gathering |
| LOW | 🔵 | Blue | Project file modifications |
| MEDIUM | 🟡 | Yellow | Configuration changes |
| HIGH | 🟠 | Orange | System-level changes |
| CRITICAL | 🔴 | Red | Potential data loss, requires confirmation |
python3 {baseDir}/scripts/cmd_display.py <level> "<command>" "<purpose>" "$(<command>)"
SAFE - Information gathering:
python3 {baseDir}/scripts/cmd_display.py safe "git status --short" "Check repository state" "$(git status --short)"
LOW - File modifications:
python3 {baseDir}/scripts/cmd_display.py low "touch newfile.txt" "Create placeholder file" "$(touch newfile.txt && echo '✓ Created')"
MEDIUM - Config changes:
python3 {baseDir}/scripts/cmd_display.py medium "npm config set registry https://registry.npmjs.org" "Set npm registry" "$(npm config set registry https://registry.npmjs.org && echo '✓ Registry set')"
HIGH - System changes (show for manual execution):
# HIGH/CRITICAL commands should be shown, not executed
python3 {baseDir}/scripts/cmd_display.py high "sudo systemctl restart nginx" "Restart web server" "⚠️ Requires manual execution"
python3 {baseDir}/scripts/cmd_display.py medium "rm -rf node_modules" "Clean dependencies" "✓ Removed" "This will delete all installed packages" "Run npm install after"
🟢 SAFE: READ-ONLY INFORMATION GATHERING: git status --short
✓ 2 modified, 5 untracked
📋 Check repository state
With warning:
🟡 MEDIUM: CONFIGURATION CHANGES: npm config set registry
✓ Registry updated
📋 Set npm registry
⚠️ This affects all npm operations
👉 Verify with: npm config get registry
🟢 SAFE (execute immediately):
ls, cat, head, tail, grep, findgit status, git log, git diffpwd, whoami, date, env🔵 LOW (execute, notify):
touch, mkdir, cp, mv (within project)git add, git commit🟡 MEDIUM (execute with caution):
npm install, pip install (dependencies)git push, git pull🟠 HIGH (show, ask before executing):
🔴 CRITICAL (NEVER execute directly):
rm -rf on important directoriessudo commandsAdd this to your agent's SOUL.md:
## Command Execution Protocol
ALL shell commands MUST use the exec-display wrapper:
1. Classify security level (SAFE/LOW/MEDIUM/HIGH/CRITICAL)
2. Use: `python3 <skill>/scripts/cmd_display.py <level> "<cmd>" "<purpose>" "$(<cmd>)"`
3. HIGH/CRITICAL: Show command for manual execution, do not run
4. Summarize verbose output to one line
5. No exceptions - this is for transparency and auditability
The script uses ANSI color codes for terminal output:
This skill provides instructions and tooling for consistent command display.
True code-level enforcement requires an OpenClaw plugin with before_tool_call hooks.
For maximum enforcement, also add these rules to your AGENTS.md or workspace config.