ClaudeHack

Claude hacks worth knowing.

Practical Claude and Claude Code workflows discovered across the internet and updated continuously.

Featured

Start Claude at 7 AM to move your usage reset

easy

Schedule an early Claude Code run so your usage window resets around lunch instead of mid-afternoon.

Usage & Limits·8/7/2026·~2 min setup

Allowlist safe Bash commands to stop approval fatigue

medium

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

Terminal / Productivity / Cost Optimization·8/7/2026·~10 min setup·
#permissions#productivity#security

Enable automatic prompt caching on multi-turn API chats

intermediate

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

Usage & Limits·8/7/2026·~15 min setup·
#api#prompt-caching#cost

Use /batch to migrate codebases with parallel worktree agents

hard

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

Git & GitHub / Pull Requests·8/7/2026·~20 min setup·
#batch#migration#worktrees

Use CLAUDE.local.md for personal overrides you never commit

easy

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

Claude Code / CLAUDE.md·8/7/2026·~3 min setup·
#claude-md#git#team

Start a new session with /clear when the task truly changes

easy

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

Context Management·8/7/2026·~2 min setup·
#clear#session#context

Commit shared .claude/settings.json for team permissions

intermediate

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

Claude Code / CLAUDE.md·8/7/2026·~10 min setup·
#settings#permissions#team

Popular Categories

Recently Verified