[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72CTVTQK87TTX6W4BH45Z9T":3,"skill-same:01M72CTVTQK87TTX6W4BH45Z9T":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M72CTVTQK87TTX6W4BH45Z9T","nowait-reasoning-optimizer",null,"Implements the NOWAIT technique for efficient reasoning in R1-style LLMs. Use when optimizing inference of reasoning models (QwQ, DeepSeek-R1, Phi4-Reasoning, Qwen3, Kimi-VL, QvQ), reducing chain-of-thought token usage by 27-51% while preserving accuracy. Triggers on \"optimize reasoning\", \"reduce thinking tokens\", \"efficient inference\", \"suppress reflection tokens\", or when working with verbose CoT outputs.","Sansar35\u002Fclaude-agent","Sansar35","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F145020281?v=4","01M724CQ2SCC86MGNSD87D0D4K","01M724CQ3965G9WJ3QXE3AJ5YY",1,"MIT","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fnowait-reasoning-optimizer\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: nowait-reasoning-optimizer\ndescription: Implements the NOWAIT technique for efficient reasoning in R1-style LLMs. Use when optimizing inference of reasoning models (QwQ, DeepSeek-R1, Phi4-Reasoning, Qwen3, Kimi-VL, QvQ), reducing chain-of-thought token usage by 27-51% while preserving accuracy. Triggers on \"optimize reasoning\", \"reduce thinking tokens\", \"efficient inference\", \"suppress reflection tokens\", or when working with verbose CoT outputs.\n---\n\n# NOWAIT Reasoning Optimizer\n\nImplements the NOWAIT technique from the paper \"Wait, We Don't Need to 'Wait'! Removing Thinking Tokens Improves Reasoning Efficiency\" (Wang et al., 2025).\n\n## Overview\n\nNOWAIT is a training-free inference-time intervention that suppresses self-reflection tokens (e.g., \"Wait\", \"Hmm\", \"Alternatively\") during generation, reducing chain-of-thought (CoT) trajectory length by **27-51%** without compromising model utility.\n\n## When to Use\n\n- Deploying R1-style reasoning models with limited compute\n- Reducing inference latency for production systems\n- Optimizing token costs for reasoning tasks\n- Working with verbose CoT outputs that need streamlining\n\n## Supported Models\n\n| Model Series | Type | Token Reduction |\n|--------------|------|-----------------|\n| QwQ-32B | RL-based | 16-31% |\n| Phi4-Reasoning-Plus | RL-based | 23-28% |\n| Qwen3-32B | RL-based | 13-16% |\n| Kimi-VL-A3B | Multimodal | 40-60% |\n| QvQ-72B-Preview | Multimodal | 20-30% |\n\n**Important**: NOWAIT works best with RL-based models. Distilled models (Qwen3-4B\u002F8B\u002F14B) show degraded performance when reflection tokens are suppressed.\n\n## Quick Start\n\n### 1. Basic Implementation\n\n```python\nfrom scripts.nowait_processor import NOWAITLogitProcessor\n\n# Initialize processor for your model's tokenizer\nprocessor = NOWAITLogitProcessor(tokenizer)\n\n# Use during generation\noutputs = model.generate(\n    inputs,\n    logits_processor=[processor],\n    max_new_tokens=32768\n)\n```\n\n### 2. Keywords Suppressed\n\nSee `references\u002Fkeywords.md` for the complete list. Core keywords:\n\n```\nwait, alternatively, hmm, but, however, check, \ndouble-check, maybe, verify, again, oh, ah\n```\n\n## How It Works\n\n1. **Initialize Keywords**: Identify reflection keywords from empirical analysis\n2. **Expand to Token Variants**: Map keywords to all token variants in vocabulary (e.g., \"wait\" → \" wait\", \"Wait\", \" Wait\", \".wait\", \"WAIT\")\n3. **Suppress During Inference**: Set logits of reflection tokens to large negative values during decoding\n\n```\nLogits (Before)         Logits (After)\nWait     0.8     →     Wait     -inf\nFirst    0.6     →     First    0.6\nHmm      0.5     →     Hmm      -inf\nLet      0.4     →     Let      0.4\n```\n\n## Key Findings\n\n### Why It Works\n\n- NOWAIT doesn't eliminate self-reflection entirely—it guides models to skip **unnecessary** \"waiting\" reasoning\n- Models still perform essential verification at key decision points\n- Results in more linear, straightforward reasoning paths\n\n### RL vs Distilled Models\n\n| Model Type | NOWAIT Effect | Recommendation |\n|------------|---------------|----------------|\n| RL-based (QwQ, Phi4, Qwen3-32B) | Stable accuracy, significant token reduction | ✅ Recommended |\n| Distilled (Qwen3-4B\u002F8B\u002F14B) | Accuracy degradation on hard tasks | ⚠️ Use with caution |\n\nDistilled models rely heavily on CoT structure from training data—removing reflection tokens disrupts their reasoning patterns.\n\n## Integration Examples\n\n### HuggingFace Transformers\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\nfrom scripts.nowait_processor import NOWAITLogitProcessor\n\nmodel = AutoModelForCausalLM.from_pretrained(\"Qwen\u002FQwQ-32B\")\ntokenizer = AutoTokenizer.from_pretrained(\"Qwen\u002FQwQ-32B\")\n\nprocessor = NOWAITLogitProcessor(tokenizer)\n\nresponse = model.generate(\n    tokenizer(prompt, return_tensors=\"pt\").input_ids,\n    logits_processor=[processor],\n    max_new_tokens=32768,\n    do_sample=True,\n    temperature=0.7\n)\n```\n\n### vLLM\n\n```python\nfrom vllm import LLM, SamplingParams\nfrom scripts.nowait_processor import get_nowait_bad_words_ids\n\nllm = LLM(model=\"Qwen\u002FQwQ-32B\")\nbad_words_ids = get_nowait_bad_words_ids(llm.get_tokenizer())\n\nsampling_params = SamplingParams(\n    max_tokens=32768,\n    bad_words_ids=bad_words_ids\n)\n```\n\n## Expected Results\n\n| Task Type | Original Tokens | NOWAIT Tokens | Reduction |\n|-----------|-----------------|---------------|-----------|\n| Math (AIME) | 15,000 | 10,500 | 30% |\n| Visual QA (MMMU) | 2,900 | 1,450 | 50% |\n| Video QA (MMVU) | 1,700 | 1,250 | 27% |\n\n## Limitations\n\n- Less effective on very simple problems where CoT overhead is already minimal\n- Distilled models may suffer accuracy loss on challenging tasks\n- Some domains may require model-specific keyword tuning\n\n## References\n\n- Paper: arXiv:2506.08343v2\n- Complete keyword list: `references\u002Fkeywords.md`\n- Implementation: `scripts\u002Fnowait_processor.py`","# NOWAIT Reasoning Optimizer\n\nImplements the NOWAIT technique from the paper \"Wait, We Don't Need to 'Wait'! Removing Thinking Tokens Improves Reasoning Efficiency\" (Wang et al., 2025).\n\n## Overview\n\nNOWAIT is a training-free inference-time intervention that suppresses self-reflection tokens (e.g., \"Wait\", \"Hmm\", \"Alternatively\") during generation, reducing chain-of-thought (CoT) trajectory length by **27-51%** without compromising model utility.\n\n## When to Use\n\n- Deploying R1-style reasoning models with limited compute\n- Reducing inference latency for production systems\n- Optimizing token costs for reasoning tasks\n- Working with verbose CoT outputs that need streamlining\n\n## Supported Models\n\n| Model Series | Type | Token Reduction |\n|--------------|------|-----------------|\n| QwQ-32B | RL-based | 16-31% |\n| Phi4-Reasoning-Plus | RL-based | 23-28% |\n| Qwen3-32B | RL-based | 13-16% |\n| Kimi-VL-A3B | Multimodal | 40-60% |\n| QvQ-72B-Preview | Multimodal | 20-30% |\n\n**Important**: NOWAIT works best with RL-based models. Distilled models (Qwen3-4B\u002F8B\u002F14B) show degraded performance when reflection tokens are suppressed.\n\n## Quick Start\n\n### 1. Basic Implementation\n\n```python\nfrom scripts.nowait_processor import NOWAITLogitProcessor\n\n# Initialize processor for your model's tokenizer\nprocessor = NOWAITLogitProcessor(tokenizer)\n\n# Use during generation\noutputs = model.generate(\n    inputs,\n    logits_processor=[processor],\n    max_new_tokens=32768\n)\n```\n\n### 2. Keywords Suppressed\n\nSee `references\u002Fkeywords.md` for the complete list. Core keywords:\n\n```\nwait, alternatively, hmm, but, however, check, \ndouble-check, maybe, verify, again, oh, ah\n```\n\n## How It Works\n\n1. **Initialize Keywords**: Identify reflection keywords from empirical analysis\n2. **Expand to Token Variants**: Map keywords to all token variants in vocabulary (e.g., \"wait\" → \" wait\", \"Wait\", \" Wait\", \".wait\", \"WAIT\")\n3. **Suppress During Inference**: Set logits of reflection tokens to large negative values during decoding\n\n```\nLogits (Before)         Logits (After)\nWait     0.8     →     Wait     -inf\nFirst    0.6     →     First    0.6\nHmm      0.5     →     Hmm      -inf\nLet      0.4     →     Let      0.4\n```\n\n## Key Findings\n\n### Why It Works\n\n- NOWAIT doesn't eliminate self-reflection entirely—it guides models to skip **unnecessary** \"waiting\" reasoning\n- Models still perform essential verification at key decision points\n- Results in more linear, straightforward reasoning paths\n\n### RL vs Distilled Models\n\n| Model Type | NOWAIT Effect | Recommendation |\n|------------|---------------|----------------|\n| RL-based (QwQ, Phi4, Qwen3-32B) | Stable accuracy, significant token reduction | ✅ Recommended |\n| Distilled (Qwen3-4B\u002F8B\u002F14B) | Accuracy degradation on hard tasks | ⚠️ Use with caution |\n\nDistilled models rely heavily on CoT structure from training data—removing reflection tokens disrupts their reasoning patterns.\n\n## Integration Examples\n\n### HuggingFace Transformers\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\nfrom scripts.nowait_processor import NOWAITLogitProcessor\n\nmodel = AutoModelForCausalLM.from_pretrained(\"Qwen\u002FQwQ-32B\")\ntokenizer = AutoTokenizer.from_pretrained(\"Qwen\u002FQwQ-32B\")\n\nprocessor = NOWAITLogitProcessor(tokenizer)\n\nresponse = model.generate(\n    tokenizer(prompt, return_tensors=\"pt\").input_ids,\n    logits_processor=[processor],\n    max_new_tokens=32768,\n    do_sample=True,\n    temperature=0.7\n)\n```\n\n### vLLM\n\n```python\nfrom vllm import LLM, SamplingParams\nfrom scripts.nowait_processor import get_nowait_bad_words_ids\n\nllm = LLM(model=\"Qwen\u002FQwQ-32B\")\nbad_words_ids = get_nowait_bad_words_ids(llm.get_tokenizer())\n\nsampling_params = SamplingParams(\n    max_tokens=32768,\n    bad_words_ids=bad_words_ids\n)\n```\n\n## Expected Results\n\n| Task Type | Original Tokens | NOWAIT Tokens | Reduction |\n|-----------|-----------------|---------------|-----------|\n| Math (AIME) | 15,000 | 10,500 | 30% |\n| Visual QA (MMMU) | 2,900 | 1,450 | 50% |\n| Video QA (MMVU) | 1,700 | 1,250 | 27% |\n\n## Limitations\n\n- Less effective on very simple problems where CoT overhead is already minimal\n- Distilled models may suffer accuracy loss on challenging tasks\n- Some domains may require model-specific keyword tuning\n\n## References\n\n- Paper: arXiv:2506.08343v2\n- Complete keyword list: `references\u002Fkeywords.md`\n- Implementation: `scripts\u002Fnowait_processor.py`",{"name":5,"description":7},"main","d046d088ce5a79a083f0abc0fe1b7ded73bc5b1f","claude-config\u002Fskills\u002Fnowait-reasoning-optimizer","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent","https:\u002F\u002Fgithub.com\u002FSansar35","2026-05-10 16:04:53",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Sansar35\u002Fclaude-agent --skill nowait-reasoning-optimizer",{"tool":35,"command":36},"bunx","bunx skills add Sansar35\u002Fclaude-agent --skill nowait-reasoning-optimizer",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Sansar35\u002Fclaude-agent --skill nowait-reasoning-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fnowait-reasoning-optimizer\u002FSKILL.md",true,[43,49,53],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},".skill-source.json","REFERENCE","参考文档",651,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fnowait-reasoning-optimizer\u002F.skill-source.json",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"refrences\u002Fkeywords.md",4115,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fnowait-reasoning-optimizer\u002Frefrences\u002Fkeywords.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Fnowait_processor.py","SCRIPT","脚本",10186,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fnowait-reasoning-optimizer\u002Fscripts\u002Fnowait_processor.py",[60,67,74,81,88,96],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M72DVAN1JYEA302MT0C5MGD6","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M72DV8J5NBRRM4RPDFRV95N7","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M72DV5EMHW0BHP9BZ167MDCB","zinc-database","Access ZINC (230M+ purchasable compounds). Search by ZINC ID\u002FSMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzinc-database\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M72DV216QY0E693ZPEVQ0DBS","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M72DTXQREMCRKA8NHCVKHN4W","zapier-workflows","Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to \"run\" any process. Also handles Perplexity-based research and Google Sheets data tracking.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M72DTT17TBSJ0Y8J2XZ4C9TZ","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-make-patterns\u002FSKILL.md",[],[]]