oprogramadorreal/optimus-claude / skills/permissions
permissions
FlaggedConfigures Claude Code permissions for low-prompt work inside a project; changes nothing under Codex. Creates or merges allow/deny rules in .claude/settings.json and installs a PreToolUse hook gating out-of-project writes and deletes, precious untracked files, and history-changing git on protected branches. Writes only under .claude/, including an ownership record. Use after /optimus:init or standalone.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 12.2 KB |
| SKILL.md | skill md | 5.8 KB |
| agents/openai.yaml | config | 198 B |
| templates/hooks/restrict-paths.sh | script | 96.2 KB |
| templates/settings.json | config | 1.5 KB |
templates/settings.json
View on GitHub{
"permissions": {
"allow": [
"Bash",
"Read",
"Edit",
"MultiEdit",
"Write",
"NotebookEdit",
"Glob",
"Grep",
"WebFetch",
"WebSearch",
"Task",
"Agent",
"TodoWrite",
"Skill"
],
"deny": [
"Bash(git push --all*)",
"Bash(git push --mirror*)",
"Bash(*git push --force)",
"Bash(*git push --force *)",
"Bash(*git push -f *)",
"Bash(*git push -f)",
"Bash(*git reset --hard*)",
"Bash(git clean *)",
"Bash(git stash drop*)",
"Bash(rm -rf /*)",
"Bash(rm -rf ~*)",
"Bash(sudo *)",
"Bash(curl * | bash*)",
"Bash(curl * | sh*)",
"Bash(wget * | bash*)",
"Bash(wget * | sh*)",
"Bash(docker system prune*)",
"Bash(docker compose down -v*)",
"Bash(kubectl delete *)",
"Bash(npm publish*)",
"Bash(cargo publish*)",
"Bash(twine upload*)",
"Bash(gem push*)",
"Bash(dotnet nuget push*)",
"Bash(mvn deploy*)",
"Bash(mvnw deploy*)",
"Bash(./mvnw deploy*)",
"Bash(gradle publish*)",
"Bash(./gradlew publish*)",
"Bash(npx npm-cli-login*)",
"Bash(curl * -d @*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|MultiEdit|Write|NotebookEdit|Bash",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/restrict-paths.sh",
"timeout": 5
}
]
}
]
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |