Claude Code trick: skills run shell commands first—get the real PR diff before Claude reads
EricBuess · x · 2026-12-03
In "Advent of Claude 2026" Day 2, adocomplete shares a non-obvious Claude Code Skills technique: a skill can execute commands before Claude reads it.
Write !gh pr diff inside SKILL.md and the command runs when the skill loads, so the real diff is already sitting in context—no wasted turn asking Claude to "let me check the diff."
More from coding & agent
- Strata: a programming language for agents with SMT-proven contracts, praised by Bob McGrew — bobmcgrewai · 2026-12-03
- Group Evolution: 10-agent peer-review system cracks open learning theory problem in 15.6 hours — notredame · 2026-12-03
- Stripe's Link Agent Wallet adds verified identity so agents can prove a human stands behind them — jeff_weinstein · 2026-12-03
- Plane Agents go mobile: assign agent jobs from your phone and watch them work — JosephJacks_ · 2026-12-03
- Razorpay Builds Hive, an Agent-to-Agent Protocol That Answers Questions Without Interrupting Anyone — cto_junior · 2026-12-03
- SubQ Savant launches with 4M-token context, claims 20x cheaper than Sonnet at 386 tok/s — vasuman · 2026-12-03