Speculative Decoding
Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques.
What Speculative Decoding does
Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques. Use when optimizing inference speed (1.5-3.6× speedup), reducing latency for real-time applications, or deploying models with limited compute. Covers draft models, tree-based attention, Jacobi iteration, parallel token generation, and production deployment strategies.
How to install Speculative Decoding in Claude Code
Giverny gives you a ready prompt with the exact install command from Orchestra-Research/AI-Research-SKILLs. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone Orchestra-Research/AI-Research-SKILLs and copy the 19-emerging-techniques/speculative-decoding folder into ~/.claude/skills/.
How to use it
Once installed, Claude loads Speculative Decoding on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the speculative-decoding skill on my current project.”
More Claude skills for performance
- Chrome DevToolsGoogle Chrome · Official plugin directoryClaude controls and inspects a live Chrome: performance traces, network requests, console messages and screenshots.
- Web Quality SkillsAddy Osmani · ★ 3,151Lighthouse-grade audits for performance, Core Web Vitals, accessibility, SEO and best practices, with fixes Claude can apply.
- Agent Sortaffaan-m · ★ 313,457Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review…
- Plan Eng ReviewGarry Tan · ★ 143,093Use when you plan a feature before building it, or review a plan: locks in architecture, data flow, diagrams, edge cases, test coverage and performance.
- Caveman Evidence ReviewJuliusBrussee · ★ 123,906Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings.
- Constraint Driven DevelopmentAddy Osmani · ★ 121,543Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds…
- Learn Codebasethedotmack · ★ 120,820Prime a codebase by reading every source file in full.
- Cardputer BuddyAnthropic · Official plugin directoryIterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard.
- Bazel Build OptimizationSeth Hobson · ★ 43,083Optimize Bazel builds for large-scale monorepos.
- Perf ProfileDonchitos · ★ 41,542Performance profiling — find bottlenecks, measure against budgets, produce ranked optimization recommendations.
- Figure It OutYeachan-Heo · ★ 41,130Design a rigorous bespoke playbook for a task no bundled skill fits — steps that each end in a check, verification commands, failure branches — stored where the checker validates…
- Performance ReportAnthropic · ★ 37,401Build a marketing performance report with key metrics, trend analysis, wins and misses, and prioritized optimization recommendations.