ClaudeHack

Latest Hacks

Page 3 of 3

  1. 49.

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

    0.00 points·14 hours ago·Terminal / Productivity / Cost Optimization·easy·discuss
  2. 50.

    Cron a useful headless Claude task each morning: failing CI, stale PRs, and TODO hotspots—not an empty warmup.

    0.00 points·14 hours ago·Scheduled Tasks / Automation·medium·discuss
  3. 51.

    Save repeatable workflows as SKILL.md (or .claude/commands) so you slash-invoke consistent PR reviews, releases, or checklists.

    0.00 points·14 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  4. 52.

    Declare a Compact Instructions section in CLAUDE.md so both manual /compact and autocompact preserve the project’s critical decisions by default.

    0.00 points·14 hours ago·Context Management·easy·discuss
  5. 53.

    Check in project settings so every teammate gets the same allow/deny rules, hooks, and env defaults without redoing /permissions.

    0.00 points·14 hours ago·Claude Code / CLAUDE.md·intermediate·discuss
  6. 54.

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

    0.00 points·14 hours ago·Context Management·easy·discuss
  7. 55.

    Claude Code deletes session files older than 30 days at startup. If you have ever gone looking for a session you know you had, this setting is why it was gone.

    0.00 points·14 hours ago·Terminal / Productivity / Cost Optimization·easy·discuss
  8. 56.

    Keep personal shortcuts and machine-specific notes in CLAUDE.local.md (gitignored) instead of polluting the shared CLAUDE.md.

    0.00 points·14 hours ago·Claude Code / CLAUDE.md·easy·discuss
  9. 57.

    Use /btw for single-turn clarifications that share full context but never enter conversation history or burn future tokens.

    0.00 points·14 hours ago·Context Management·easy·discuss
  10. 58.

    Claude Code adds a Co-Authored-By trailer to commits and an attribution line to pull requests. Set both to empty strings and it stops.

    0.00 points·14 hours ago·Git & GitHub / Pull Requests·easy·discuss
  11. 59.

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

    0.00 points·14 hours ago·Git & GitHub / Pull Requests·hard·discuss
  12. 60.

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

    0.00 points·14 hours ago·Usage & Limits·intermediate·discuss
  13. 61.

    Auto-compact waits until your context is nearly full, which is well past the point where answer quality starts sliding. Set the window lower and compact while the session is still sharp.

    0.00 points·14 hours ago·Context Management·easy·discuss
  14. 62.

    "Never add comments" in CLAUDE.md plus "make this readable" in your prompt is a contradiction Claude has to resolve before it writes a line. Find those pairs and pick one.

    0.00 points·14 hours ago·Claude Code / CLAUDE.md·easy·discuss
  15. 63.

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

    0.00 points·14 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  16. 64.

    Most CLAUDE.md lines exist to correct a model that no longer makes that mistake. Delete them after an upgrade and re-add only the ones a failure proves you need.

    0.00 points·14 hours ago·Claude Code / CLAUDE.md·easy·discuss