ClaudeHack

Latest Hacks

Page 2 of 3

  1. 25.

    Instruct Claude (and yourself) to search with rg/Glob first so giant file reads do not blow the context window.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  2. 26.

    Enable auto mode so a classifier approves safe tool calls and blocks destructive ones — fewer prompts without a full permission bypass.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  3. 27.

    Run prettier/ruff/gofmt automatically after Edit/Write tools so Claude never leaves unformatted files.

    0.00 points·3 months ago·Testing / Debugging·medium·discuss
  4. 28.

    Cycle into plan mode (Shift+Tab) so Claude explores and proposes an approach for approval before editing.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  5. 29.

    A skill that checks a link or reformats a file does not need your session model. Set model, effort and context: fork in the frontmatter so cheap skills stay cheap.

    0.00 points·3 months ago·MCP / Agents·intermediate·discuss
  6. 30.

    Put domain-specific instructions in path-scoped `.claude/rules/` so they load only when Claude touches matching files.

    0.00 points·3 months ago·Claude Code / CLAUDE.md·medium·discuss
  7. 31.

    Build slash skills that accept issue numbers, branch names, or formats via $ARGUMENTS / $0 so one command covers many cases.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  8. 32.

    Use `claude --worktree` (or git worktrees) so multiple agents edit isolated checkouts without colliding.

    0.00 points·3 months ago·Git & GitHub / Pull Requests·medium·discuss
  9. 33.

    Add a Notification hook that plays a short sound when Claude is idle or waiting on permission so you can multitask without staring at the terminal.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  10. 34.

    Shift specialized playbooks into on-demand skills so every session does not pay for instructions you rarely need.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·medium·discuss
  11. 35.

    Claude Code re-reads your whole conversation at the cached rate. Come back after a long lunch and the first message reprocesses all of it at full price.

    0.00 points·3 months ago·Usage & Limits·easy·discuss
  12. 36.

    Trim project memory to under ~200 lines so Claude follows critical rules instead of drowning them in noise.

    0.00 points·3 months ago·Claude Code / CLAUDE.md·easy·discuss
  13. 37.

    Define custom subagents with `isolation: worktree` so delegated edits happen on a temporary branch checkout.

    0.00 points·3 months ago·MCP / Agents·medium·discuss
  14. 38.

    Run /context to break down token consumers—CLAUDE.md, MCP tools, conversation—and prune the expensive ones.

    0.00 points·3 months ago·Context Management·easy·discuss
  15. 39.

    Add a deterministic PreToolUse hook that rejects destructive shell patterns before Claude can run them.

    0.00 points·3 months ago·Testing / Debugging·hard·discuss
  16. 40.

    Use `claude --print --output-format json` in GitHub Actions to automate reviews or summaries without an interactive TTY.

    0.00 points·3 months ago·Scheduled Tasks / Automation·hard·discuss
  17. 41.

    When a skill hits an edge case, append it to a gotchas section in that skill rather than to CLAUDE.md. The lesson then loads only when the skill runs.

    0.00 points·3 months ago·MCP / Agents·easy·discuss
  18. 42.

    Write the tests first, then set the goal to making them pass. Claude keeps working across turns until the condition is met instead of stopping after each reply.

    0.00 points·3 months ago·Testing / Debugging·easy·discuss
  19. 43.

    Add the GitHub MCP server so Claude can cross-reference issues, PRs, and repo state without leaving the session.

    0.00 points·3 months ago·Git & GitHub / Pull Requests·medium·discuss
  20. 44.

    Instead of guessing which commands to allowlist or giving up and skipping permissions entirely, let Claude read your past sessions and propose the rules you have already been approving.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  21. 45.

    Use /config to set Explanatory or Learning output style so Claude explains the why behind changes — not just the diff.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  22. 46.

    Enable /memory auto-memory so Claude writes durable notes about build commands, corrections, and patterns that reload on every new session.

    0.00 points·3 months ago·Claude Code / CLAUDE.md·easy·discuss
  23. 47.

    Use the bundled /doctor skill to find duplicate local memory, unused MCP/plugins, and slow hooks eating budget.

    0.00 points·3 months ago·Usage & Limits·easy·discuss
  24. 48.

    Turn off MCP servers unrelated to the current project—their tool schemas still consume context at session start.

    0.00 points·3 months ago·MCP / Agents·easy·discuss