Skip to content

oprogramadorreal/optimus-claude / skills/permissions

permissions

Flagged

Configures 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.

FileKindSize
README.mdmarkdown12.2 KB
SKILL.mdskill md5.8 KB
agents/openai.yamlconfig198 B
templates/hooks/restrict-paths.shscript96.2 KB
templates/settings.jsonconfig1.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
          }
        ]
      }
    ]
  }
}
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall