← All skills
restraint
35 / 100 · High risk
Only if you trust the author. Some of what it can do is expected: a coding skill usually runs build and test commands.
By b-open-io/prompts (GitHub) · coding · 15 stars · scanned at commit f4b302a
YAGNI with a governor: write the least code that is still the right code. This skill should be used on any coding task — writing, adding, refactoring, fixing, reviewing, designing code, or choosing libraries and dependencies — and whenever the user says "restraint", "/restraint", "don't over-build", "don't over-engineer", "keep it minimal", "simplest solution that works", "yagni", "do less", or complains about bloat, boilerplate, speculative scope, or unnecessary abstractions. Supports intensit…
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this. It runs automatically when the plugin is installed.
Found in 3 places.
Sends data to these websites: example.com
The author does not mention this. It runs automatically when the plugin is installed.
Found in 19 places.
Show 16 more
- hooks/claude-hooks.json, line 53
"matcher": "WebFetch", - hooks/hammertime.py, line 63
import urllib.request - hooks/hammertime.py, line 475
req = urllib.request.Request( - hooks/hammertime.py, line 487
with urllib.request.urlopen(req, timeout=10) as resp: - hooks/manifest.json, line 9
"matcher": "WebFetch", - hooks/manifest.json, line 12
"summary": "Services WebFetch through a real browser instead of plain HTTP.", - hooks/manifest.json, line 13
"description": "Intercepts WebFetch and fetches the page with agent-browser (headless Chrome) in an isolated session, delivering JS-rendered extracted text to t - hooks/manifest.json, line 83
"description": "Detects prompts that involve browser work (URLs, navigation, form filling, login, screenshots, SPAs) and injects static guidance preferring agen - hooks/tests/test_agent_browser_solo.sh, line 42
fetch_input=$(jq -n '{tool_name:"WebFetch", tool_input:{url:"https://example.com/docs"}}') - hooks/tests/test_agent_browser_solo.sh, line 66
search_input=$(jq -n '{tool_name:"WebSearch", tool_input:{query:"anything"}}') - hooks/tests/test_validate.sh, line 87
if jq -r '.. | strings? // empty' "$ROOT/claude-hooks.json" | grep -q WebFetch; then - hooks/tests/test_validate.sh, line 88
PASS=$((PASS + 1)); printf ' PASS claude WebFetch matcher present\n' - hooks/tests/test_validate.sh, line 90
FAIL=$((FAIL + 1)); failures+=("claude missing WebFetch"); printf ' FAIL claude WebFetch\n' - hooks/tests/test_validate.sh, line 93
if jq -r '.. | strings? // empty' "$ROOT/claude-hooks.json" | grep -q WebSearch; then - hooks/tests/test_validate.sh, line 94
FAIL=$((FAIL + 1)); failures+=("claude still matches WebSearch"); printf ' FAIL claude should not intercept WebSearch\n' - hooks/tests/test_validate.sh, line 96
PASS=$((PASS + 1)); printf ' PASS claude does not intercept WebSearch\n'
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 32 places.
Show 17 more
- hooks/claude-hooks.json, line 37
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse-bash.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.cl - hooks/claude-hooks.json, line 47
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/damage-control.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.cla - hooks/claude-hooks.json, line 57
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/agent-browser-solo.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/ - hooks/claude-hooks.json, line 67
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/roster-guard.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.claud - hooks/claude-hooks.json, line 77
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/skill-activity.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.cla - hooks/claude-hooks.json, line 89
"command": "BOPEN_HOOK_SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/hooks/hammertime.py\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.claude/ - hooks/codex-hooks.json, line 9
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/session-context.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plu - hooks/codex-hooks.json, line 14
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/repo-freshness.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plug - hooks/codex-hooks.json, line 25
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/browser-intent.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plug - hooks/codex-hooks.json, line 37
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/pretooluse-bash.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plu - hooks/codex-hooks.json, line 47
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/damage-control.sh\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plug - hooks/codex-hooks.json, line 58
"command": "BOPEN_HOOK_SCRIPT=\"${PLUGIN_ROOT}/hooks/hammertime.py\"; if [ ! -f \"$BOPEN_HOOK_SCRIPT\" ]; then BOPEN_HOOK_SCRIPT=$(ls -t \"$HOME/.codex/plugins/ - hooks/hammertime.py, line 619
subprocess.Popen( - hooks/hammertime.py, line 621
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, - hooks/hammertime.py, line 648
result = subprocess.run( - hooks/hammertime.py, line 656
result = subprocess.run( - hooks/hammertime.py, line 664
result = subprocess.run(
and 12 more places
Can call paid AI services billed to you
The author does not mention this. It runs automatically when the plugin is installed.
Found in 1 place.
Changes files outside its own folder
The author does not mention this. It runs automatically when the plugin is installed.
Found in 7 places.
Show 4 more
Reads your saved credentials, such as SSH keys or .env files
The author does not mention this. It runs automatically when the plugin is installed.
Found in 2 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'restraint' ] || [ -L ~/.agents/skills/'restraint' ]; then echo 'A skill folder named restraint already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/b-open-io/prompts' "$d" && git -C "$d" checkout --quiet 'f4b302aadb0c99023b03e1f1b38ffed3697fbedf' -- 'skills/restraint' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/restraint' ~/.agents/skills/'restraint' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'restraint' ~/.claude/skills/'restraint' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for b-open-io/prompts shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/b-open-io/prompts/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | f4b302a | 35 |
| 2026-11-06 | f4b302a | 35 |