davila7 avatar

Nowait Reasoning Optimizer

This implements the NOWAIT technique from a 2025 paper that suppresses self-reflection tokens during inference to cut reasoning token usage by 27-51% without hurting accuracy. It works by blocking words like "wait," "hmm," and "alternatively" during generation, which forces models like QwQ and DeepSeek-R1 into more direct reasoning paths. Works great on RL-based models but can degrade performance on distilled ones since they rely heavily on the CoT structure from training. The implementation is straightforward, just a logit processor you drop into your generation call. If you're running reasoning models in production and token costs or latency matter, this is a clean win with minimal integration work.

skills.sh installs
438
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill nowait-reasoning-optimizer --agent claude-code

Installs into .claude/skills of the current project.

Files

This implements the NOWAIT technique from a 2025 paper that suppresses self-reflection tokens during inference to cut reasoning token usage by 27-51% without hurting accuracy. It works by blocking words like "wait," "hmm," and "alternatively" during generation, which forces models like QwQ and DeepSeek-R1 into more direct reasoning paths. Works great on RL-based models but can degrade performance on distilled ones since they rely heavily on the CoT structure from training. The implementation is straightforward, just a logit processor you drop into your generation call. If you're running reasoning models in production and token costs or latency matter, this is a clean win with minimal integration work.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Code Review & Quality
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1vivy-yi avatarimage-editingvivy-yi/xiaohongshu-skillsUse when editing and enhancing images for Xiaohongshu content, improving photo quality with filters and adjustments, creating visually appealing images, or prep438skills.sh installs
2secondsky avatarrecommendation-enginesecondsky/claude-skillsBuild recommendation systems with collaborative filtering, matrix factorization, hybrid approaches. Use for product recommendations, personalization, or encount437skills.sh installs
3secondsky avatarseo-keyword-cluster-buildersecondsky/claude-skillsSEO keyword clustering with topic organization, content hub architecture, internal linking strategies. Use for content strategy, keyword research, pillar page s437skills.sh installs
4jwynia avatarspeech-adaptationjwynia/agent-skillsTransform comprehensive written content into purposeful spoken guidance. Use when adapting for speech, converting to spoken format, optimizing for listening, or436skills.sh installs
5mims-harvard avatartooluniverse-protein-structure-retrievalmims-harvard/tooluniverseProtein structure retrieval from RCSB PDB, PDBe, and AlphaFold with disambiguation, quality assessment (resolution, R-factor, pLDDT), and metadata. Distinguishe435skills.sh installs
6tristanmanchester avatarreddit-readonlytristanmanchester/agent-skillsBrowse and search Reddit in read-only mode using public JSON endpoints. Use when the user asks to browse subreddits, search for posts by topic, inspect comment 432skills.sh installs