press1-check
Skill0 starsChanged 6 months agoMITView on GitHub
Use when Claude Code sessions had many manual approval ("press 1") prompts or when auditing hook permissions; identifies which Bash commands required approval.
- Deletes or force-pushes
- Installs packages
- Commits and pushes
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
If running interactively (human present), output "Read Press1 Check skill." to acknowledge.
- Distinctive: line 16
After sessions with many "press 1 to approve" prompts
- Distinctive: line 18
When the user says "permission audit" or "press1-check"
- Distinctive: line 19
Before proposing new hooks that add Bash commands
- Very specific: line 58
Run python3 <skill-path>/audit-permissions.py with any arguments the user provided.
- Very specific: line 60
If LOW-risk suggestions appear, add them to ~/.claude/settings.json (read-only commands are safe).
- Distinctive: line 61
Do NOT auto-add MEDIUM or HIGH risk commands without explicit approval.
- Very specific: line 62
After editing ~/.claude/settings.json, re-run the audit and report before/after counts so the user sees the coverage delta.
- Distinctive: line 79
Never auto-add MEDIUM or HIGH risk commands
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/press1-check — Permission Audit
If running interactively (human present), output "Read Press1 Check skill." to acknowledge. If running with --dangerously-skip-permissions (AFK/unattended), skip acknowledgement and proceed directly.
Audit which Bash commands triggered manual approval prompts in Claude Code sessions.
When to invoke
- After sessions with many "press 1 to approve" prompts
- Periodically (every 5-10 sessions) to keep the allow-list current
- When the user says "permission audit" or "press1-check"
- Before proposing new hooks that add Bash commands
How it runs
Two paths:
- Manual: type
/press1-checkto force a re-audit. Default mode is since the last run (state-tracked at~/.claude/state/press1-check.json), so the typical run only surfaces new ground. - Auto (optional): the script supports
--auto-stop-hookmode designed to be wired as a Claude CodeStophook. 6-hour cooldown. When LOW-risk additions are found, a one-shot summary surfaces in the next session-start priority snapshot.
Usage
# Since the last run (default, state-tracked)
python3 skills/press1-check/audit-permissions.py
# Last N days across all project dirs
python3 skills/press1-check/audit-permissions.py --days 7
# Only the single most recent session
python3 skills/press1-check/audit-permissions.py --latest-session
# All sessions from the last 24h
python3 skills/press1-check/audit-permissions.py --all-recent
# All sessions since a date
python3 skills/press1-check/audit-permissions.py --since 2026-04-10
# Specific session (prefix match OK)
python3 skills/press1-check/audit-permissions.py <session-id>Steps (when invoking via /press1-check)
- Run
python3 <skill-path>/audit-permissions.pywith any arguments the user provided. Default audits since~/.claude/state/press1-check.json#last_run_ts(bootstraps to last 3 days when state is missing). - Display the output to the user exactly as printed (includes color-coded risk levels).
- If LOW-risk suggestions appear, add them to
~/.claude/settings.json(read-only commands are safe). Skip env-var-prefix suggestions likeBash(WT=*)— they don't generalize. - Do NOT auto-add MEDIUM or HIGH risk commands without explicit approval.
- After editing
~/.claude/settings.json, re-run the audit and report before/after counts so the user sees the coverage delta. - Each successful interactive run updates the state file — the next run is automatically scoped to "since now."
Risk Classification
| Risk | Color | Policy | Example |
| HIGH | Red | Keep gated — destructive or hard to reverse | rm, sudo, git reset --hard, DROP TABLE |
| MEDIUM | Yellow | Review case-by-case — side effects outside local repo | gh pr create, curl, docker, pip install |
| LOW | Green | Safe to allow-list — read-only or local-only | cat, ls, grep, wc |
Constraints
- Never auto-add MEDIUM or HIGH risk commands
- The script never auto-applies changes — it surfaces and proposes
- State-tracked incremental runs prevent audit fatigue
- Subagent awareness: detects
*/subagents/*.jsonland tags findings
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-assetsSkill
- agent-navigabilitySkill
- agent-session-frictionSkill
- agent-testabilitySkill
- architectSkill
- atomic-commitsSkill
- cavemanSkill
- codebase-auditSkill
- code-reviewSkill
- compliance-auditSkill
- data-object-conventionsSkill
- documentSkill
- do-workSkill
- error-auditSkill
- exploreSkill
- frontend-component-styleSkill
- grill-meSkill
- grill-with-docsSkill
- halbert-copy-editorSkill
- improve-architectureSkill
- logging-auditSkill
- mobile-devSkill
- npm-security-auditSkill
- performance-auditSkill
- plan-archiveSkill
- prd-to-issuesSkill
- pr-preflightSkill
- repo-hygieneSkill
- researchSkill
- review-pr-copilotSkill
- sanity-best-practicesSkill
- session-closeSkill
- sketch-the-solutionSkill
- skill-scaffolderSkill
- stress-testSkill
- systematic-debuggingSkill
- tddSkill
- visual-feedbackSkill
- write-a-prdSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

