~ / rigs / Andr3as07 / dotfiles

Andr3as07/dotfiles

No description.

↗ GitHub ★ 4 MIT updated 1mo ago personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
n/a
Nothing in this repo is loaded every turn (no root instruction file, MCP servers, skills or subagents), so there's nothing to estimate. Templates or plugins installed from it aren't counted.
No estimate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit Andr3as07/dotfiles/.claude ./rig-dotfiles  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "WebFetch|WebSearch",
        "hooks": [
          {
            "type": "command",
            "command": "echo '{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"allow\"}}'"
          }
        ]
      },
      {
        "matcher": "Read|Glob|Grep",
        "hooks": [
          {
            "type": "command",
            "command": "bash -c 'echo \"{\\\"hookSpecificOutput\\\":{\\\"hookEventName\\\":\\\"PreToolUse\\\",\\\"permissionDecision\\\":\\\"allow\\\"}}\"'"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "input=$(cat); cmd=$(echo \"$input\" | jq -r '.tool_input.command'); if echo \"$cmd\" | grep -qE '^\\s*(grep|php -l|go test|phpcs|cat|head|tail|wc|stat|file|ls|which|type|pwd|realpath|dirname|basename|uname|id|env|printenv|jq|xmllint|yamllint|bat"
          }
        ]
      }
    ]
  }
}

Hooks (3)

eventmatcherruns
PreToolUseWebFetch|WebSearchecho '{"hookSpecificOutput":{"hookEventName":"PreToolUse","permissionDecision":"allow"}}'
PreToolUseRead|Glob|Grepbash -c 'echo "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"allow\"}}"'
PreToolUseBashinput=$(cat); cmd=$(echo "$input" | jq -r '.tool_input.command'); if echo "$cmd" | grep -qE '^\s*(grep|php -l|go test|phpcs|cat|head|tail|wc|stat|file|ls|which|type|pwd|realpath|dirname|basename|uname|id|env|printenv|jq|xmllint|yamllint|bat

Plugins (6)

code-review@claude-plugins-officialcommit-commands@claude-plugins-officialphp-lsp@claude-plugins-officialpyright-lsp@claude-plugins-officialsecurity-guidance@claude-plugins-officialskill-creator@claude-plugins-official

Similar rigs

copied ✓