Fix reddit-fetch skill: use old.reddit.com, jq parsing, rate limit guidance
Release history
claude-code-tips releases
45 tips for getting the most out of Claude Code, from basics to advanced - includes a custom status line script, cutting the system prompt in half, using Gemini CLI as Claude Code's minion, and Claude Code running itself in a container. Also includes the dx plugin.
All releases
25 shown
- Add system prompt patches for v2.1.79 - Show 1M instead of 1000k in status line context display
- Add native binary install steps to CLAUDE.md - Add curl JSON API fallback to reddit-fetch skill
Minor fixes and improvements.
Full changelog
System prompt patches for Claude Code 2.1.51 through 2.1.70
- Added patches for versions 2.1.51, 2.1.63, 2.1.66, 2.1.68, 2.1.69, 2.1.70
- 2.1.70: new
customRegexsupport in patch-cli.js for complex JS ternary expressions that differ across npm/native builds - Added note about Claude Code built-in voice mode
All patch sets verified across npm, native Linux, and native macOS builds.
Fixed incorrect counting of user messages in half-clone due to grep chains matching nested progress data.
- Plugin commands moved from ~/.claude/commands/ to ~/.claude/skills/
- Stop hook for automatic half-clone at 80% context usage
- check-context.sh script for context monitoring
- Replaces auto-compact for context management
Full changelog
Add a Stop hook that automatically triggers /half-clone when context usage exceeds 80%. Instead of auto-compact summarizing your conversation, half-clone is deterministic and fast - it keeps your actual messages intact.
New:
scripts/check-context.sh- Stop hook script that monitors context usage- README section documenting hook setup and configuration
How it works:
- After each Claude response, the hook checks context usage from the transcript
- If over 80%, it blocks Claude from stopping and tells it to run /half-clone
- Half-clone creates a new conversation with only the later half so a new agent can continue there
Requires auto-compact disabled (/config > Auto-compact > false).
README is now 1,030 lines across 46 tips.
- Disable Co-Authored-By attribution via settings
Full changelog
Add option to disable commit/PR attribution
- New setup script item (#8): disables Co-Authored-By trailers on commits and attribution footers on PRs via the
attributionsetting in~/.claude/settings.json - Documented under Tip 4 (Git/GitHub) in the README
- Setup script items renumbered (aliases → 9, fork shortcut → 10)
- Add slide deck template with embedded terminal support (ttyd + tmux) - Single HTML file with progressive reveal for bullet points, tables, and subtitles - QR code support for sharing links - Arrow key navigation with URL hash persistence
- 32x faster UUID generation using hexdump
- Cloned conversations appear at top of history
- Cross-platform support with fallbacks
Full changelog
What's New
- 32x faster UUID generation using hexdump
- Cloned conversations appear at top of
claude -r(touch after creation) - Cross-platform support - fallbacks for systems without hexdump (Linux /proc, uuidgen)
- Portable awk regex - works on mawk (Debian/Ubuntu) and gawk
- Hash validation before creating backup in patch-native.sh
- New tip: prefer
cd && gitovergit -C
- Half-clone 3.4x faster (4:37 → 1:21)
- Clone script optimized with awk approach
- Batch UUID generation
Full changelog
What's New
- Half-clone script optimized: 4:37 → 1:21 (3.4x faster)
- Clone script optimized: Same awk-based approach
Technical Details
- Replaced per-line bash processing with single awk pass
- Optimized clone command detection with grep -n pipeline
- Batch UUID generation before processing
Plugin Version
- Plugin/marketplace version: 0.8.0
- Clone/half-clone command and subsequent messages excluded from clones
Full changelog
What's New
- Clone/Half-clone command exclusion: When using
/cloneor/half-clone, the command itself and all subsequent messages are now excluded from the cloned conversation. This gives you a clean snapshot of where you were before cloning.
Details
- Detects both
dx:clone/cloneanddx:half-clone/half-clonepatterns - Only excludes if it's the last user message (preserves earlier clone discussions in history)
- Works even if command is mixed with other text in the message
- Native binary patching support for macOS
- 6 new patches for plan mode, task lists, read capabilities
- Support for Claude Code 2.1.14 and 2.1.17
Full changelog
What's New
- Native binary patching support - patching now works on macOS native installs, not just npm
- Regex fix for
$in variable names (native binary compatibility)
New Patches
enterplanmode-whathappens- explains what happens in plan modetasklist- task list improvementstaskupdate- task update improvementsread-capabilities- read capabilities patchexitplanmode- exit plan mode patch
Claude Code Version Support
- Added patches for Claude Code 2.1.14 and 2.1.17
63 patches total, ~44KB saved
## Double Tagging Support Clone and half-clone commands now support tagging already-tagged messages (double tagging). This allows more flexibility when branching conversations that were previously cloned. ### Install/Update ``` /plugin install ykdojo/claude-code-tips ```
- Timestamped clone tags (e.g., [CLONED Jan 7 14:30])
Full changelog
What's New
- Timestamped clone tags: Clone and half-clone now include timestamps (e.g.,
[CLONED Jan 7 14:30]) for easier identification inclaude -rhistory
Plugin
- dx plugin version: 0.2.3
- New half-clone skill for reducing token usage
- Expanded tip documentation with slash commands
- Playwright MCP and Chrome browser tips
Full changelog
What's New
Half-Clone Skill
- New
half-cloneskill to clone the later half of conversations, reducing token usage - Plugin bumped to v0.2.0
- Starts at clean user message boundaries for better context preservation
Tip Improvements
- Tip 1 expanded with
/usage,/stats, and essential slash commands - Creative testing strategies added to Tip 9
- Playwright MCP and Chrome browser tips (Tip 27)
- Claude for Chrome DOM interaction improvements with accessibility tree terminology
Documentation
- Various global CLAUDE.md instruction cleanups
- Improved version check and URL fetching instructions
- Better bash tool guidance in system prompt patches