ClaudeHack

Popular Hacks

Page 2 of 3

  1. 25.

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

    0 points·14 hours ago·Testing / Debugging·hard·discuss
  2. 26.

    Create a skill that forces a red→green verification loop so Claude cannot claim done without running the suite.

    0 points·14 hours ago·Testing / Debugging·medium·discuss
  3. 27.

    Run claude remote-control on your machine, then connect from the Claude mobile app to approve builds, poke CI failures, and keep coding with full local tools.

  4. 28.

    Use /clear between unrelated tasks so leftover debugging does not bias the next feature.

    0 points·14 hours ago·Context Management·easy·discuss
  5. 29.

    Add a top-level cache_control ephemeral flag so growing conversation prefixes reuse cached tokens and cut API cost and latency.

    0 points·14 hours ago·Usage & Limits·intermediate·discuss
  6. 30.

    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.

  7. 31.

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

    0 points·14 hours ago·MCP / Agents·easy·discuss
  8. 32.

    Enable /voice and hold Space to speak complex requirements into the prompt instead of typing walls of text.

  9. 33.

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

  10. 34.

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

    0 points·14 hours ago·Context Management·easy·discuss
  11. 35.

    Use bundled /loop and /schedule skills for recurring health checks, log watches, or periodic repo tasks without external cron wiring.

    0 points·14 hours ago·Scheduled Tasks / Automation·intermediate·discuss
  12. 36.

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

    0 points·14 hours ago·Git & GitHub / Pull Requests·medium·discuss
  13. 37.

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

    0 points·14 hours ago·MCP / Agents·medium·discuss
  14. 38.

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

  15. 39.

    Mark deploy/ship/destructive skills so only an explicit /command runs them—Claude cannot auto-trigger them mid-session.

  16. 40.

    Use /permissions to allowlist read-only and trusted commands so you stop mindlessly clicking Approve.

    0 points·14 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  17. 41.

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

    0 points·14 hours ago·Testing / Debugging·medium·discuss
  18. 42.

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

    0 points·14 hours ago·Claude Code / CLAUDE.md·medium·discuss
  19. 43.

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

    0 points·14 hours ago·Scheduled Tasks / Automation·hard·discuss
  20. 44.

    Inspect `/usage` (alias `/cost`) for per-skill, subagent, and MCP breakdowns, then cut the expensive outliers.

    0 points·14 hours ago·Usage & Limits·easy·discuss
  21. 45.

    Ask Claude to log architecture decisions and TODOs into a repo file that can be re-read after /compact.

    0 points·14 hours ago·Context Management·easy·discuss
  22. 46.

    Turn on `/sandbox` so OS-level filesystem and network boundaries replace many per-command Bash prompts.

    0 points·14 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  23. 47.

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

    0 points·14 hours ago·Usage & Limits·easy·discuss
  24. 48.

    Run `/batch` on large mechanical migrations so Claude decomposes work and spawns per-unit worktree agents with PRs.

    0 points·14 hours ago·Git & GitHub / Pull Requests·hard·discuss