~ / rigs / khinshankhan / dotfiles

khinshankhan/dotfiles

My dotfiles. They may help you, but they mostly help me 🤔

↗ GitHub ★ 21 Apache-2.0 updated today personal setup Claude Code
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
up to ~7.5k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
1/5
Sandbox or ask-first rules · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add playwright -- npx @playwright/mcp
$ npx degit khinshankhan/dotfiles/claude/.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.

$ claude mcp add playwright -- npx @playwright/mcp

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

{
  "permissions": {
    "deny": [
      "Bash(gh repo delete*)"
    ],
    "ask": [
      "Bash(gh repo create*)",
      "Bash(gh repo fork*)",
      "Bash(gh repo edit*)",
      "Bash(gh repo rename*)",
      "Bash(gh repo archive*)",
      "Bash(gh repo unarchive*)",
      "Bash(gh repo sync*)",
      "Bash(gh repo deploy-key*)",
      "Bash(gh gist create*)",
      "Bash(gh gist edit*)",
      "Bash(gh gist delete*)",
      "Bash(gh gist clone*)",
      "Bash(gh release create*)",
      "Bash(gh release edit*)",
      "Bash(gh release delete*)",
      "Bash(gh release upload*)",
      "Bash(gh label create*)",
      "Bash(gh label edit*)",
      "Bash(gh label delete*)",
      "Bash(gh label clone*)",
      "Bash(gh secret set*)",
      "Bash(gh secret delete*)",
      "Bash(gh secret remove*)",
      "Bash(gh variable set*)",
      "Bash(gh variable delete*)",
      "Bash(gh workflow run*)",
      "Bash(gh workflow enable*)",
      "Bash(gh workflow disable*)",
      "Bash(gh run cancel*)",
      "Bash(gh run rerun*)",
      "Bash(gh run delete*)",
      "Bash(gh pr merge*)",
      "Bash(gh issue delete*)",
      "Bash(gh issue transfer*)",
      "Bash(gh pr create* -R *)",
      "Bash(gh pr create* --repo*)",
      "Bash(gh pr comment* -R *)",
      "Bash(gh pr comment* --repo*)",
      "Bash(gh pr review* -R *)",
      "Bash(gh pr review* --repo*)",
      "Bash(gh pr edit* -R *)",
      "Bash(gh pr edit* --repo*)",
      "Bash(gh pr close* -R *)",
      "Bash(gh pr close* --repo*)",
      "Bash(gh pr reopen* -R *)",
      "Bash(gh pr reopen* --repo*)",
      "Bash(gh pr ready* -R *)",
      "Bash(gh pr ready* --repo*)",
      "Bash(gh issue create* -R *)",
      "Bash(gh issue create* --repo*)",
      "Bash(gh issue comment* -R *)",
      "Bash(gh issue comment* --repo*)",
      "Bash(gh issue edit* -R *)",
      "Bash(gh issue edit* --repo*)",
      "Bash(gh issue close* -R *)",
      "Bash(gh issue close* --repo*)",
      "Bash(gh issue reopen* -R *)",
      "Bash(gh issue reopen* --repo*)",
      "Bash(gh api* -X POST*)",
      "Bash(gh api* --method POST*)",
      "Bash(gh api* -X PUT*)",
      "Bash(gh api* --method PUT*)",
      "Bash(gh api* -X PATCH*)",
      "Bash(gh api* --method PATCH*)",
      "Bash(gh api* -X DELETE*)",
      "Bash(gh api* --method DELETE*)",
      "Bash(gh api* -X post*)",
      "Bash(gh api* --method post*)",
      "Bash(gh api* -X put*)",
      "Bash(gh api* --method put*)",
      "Bash(gh api* -X patch*)",
      "Bash(gh api* --method patch*)",
      "Bash(gh api* -X delete*)",
      "Bash(gh api* --method delete*)",
      "Bash(gh api* -f *)",
      "Bash(gh api* -F *)",
      "Bash(gh api* --field*)",
      "Bash(gh api* --raw-field*)",
      "Bash(gh api* --input*)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Playwright MCP · "playwright" npm 7.5k

Hooks (6)

eventmatcherruns
Notification*~/.agents/hooks/agent-event.sh claude blocked chime
Notification*~/.agents/hooks/agent-event.sh claude blocked toast
Stop*~/.agents/hooks/agent-event.sh claude done chime
Stop*~/.agents/hooks/agent-event.sh claude done toast
Stop*~/.agents/hooks/agent-event.sh claude done tab-rename
SessionStart^(startup|resume|clear|compact|fork)$bash "$HOME/.claude/hooks/herdr-agent-state.sh" session

Plugins (4)

gopls-lsp@claude-plugins-officialpaper-desktop@paperpyright-lsp@claude-plugins-officialfrontend-design@claude-plugins-official

Permissions

deny (1)
Bash(gh repo delete*)
ask (79)
Bash(gh repo create*)
Bash(gh repo fork*)
Bash(gh repo edit*)
Bash(gh repo rename*)
Bash(gh repo archive*)
Bash(gh repo unarchive*)
Bash(gh repo sync*)
Bash(gh repo deploy-key*)
Bash(gh gist create*)
Bash(gh gist edit*)
Bash(gh gist delete*)
Bash(gh gist clone*)
Bash(gh release create*)
Bash(gh release edit*)
Bash(gh release delete*)
Bash(gh release upload*)
Bash(gh label create*)
Bash(gh label edit*)
Bash(gh label delete*)
Bash(gh label clone*)
Bash(gh secret set*)
Bash(gh secret delete*)
Bash(gh secret remove*)
Bash(gh variable set*)
Bash(gh variable delete*)
Bash(gh workflow run*)
Bash(gh workflow enable*)
Bash(gh workflow disable*)
Bash(gh run cancel*)
Bash(gh run rerun*)
Bash(gh run delete*)
Bash(gh pr merge*)
Bash(gh issue delete*)
Bash(gh issue transfer*)
Bash(gh pr create* -R *)
Bash(gh pr create* --repo*)
Bash(gh pr comment* -R *)
Bash(gh pr comment* --repo*)
Bash(gh pr review* -R *)
Bash(gh pr review* --repo*)
Bash(gh pr edit* -R *)
Bash(gh pr edit* --repo*)
Bash(gh pr close* -R *)
Bash(gh pr close* --repo*)
Bash(gh pr reopen* -R *)
Bash(gh pr reopen* --repo*)
Bash(gh pr ready* -R *)
Bash(gh pr ready* --repo*)
Bash(gh issue create* -R *)
Bash(gh issue create* --repo*)
Bash(gh issue comment* -R *)
Bash(gh issue comment* --repo*)
Bash(gh issue edit* -R *)
Bash(gh issue edit* --repo*)
Bash(gh issue close* -R *)
Bash(gh issue close* --repo*)
Bash(gh issue reopen* -R *)
Bash(gh issue reopen* --repo*)
Bash(gh api* -X POST*)
Bash(gh api* --method POST*)
allow (6)
WebSearch
WebFetch(domain:github.com)
WebFetch(domain:api.github.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:nix.dev)
WebFetch(domain:nixos.wiki)

Similar rigs

copied ✓