[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DJE37P0K09X3MWXCJW5PXQ":3,"skill-same:01M6DJE37P0K09X3MWXCJW5PXQ":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6DJE37P0K09X3MWXCJW5PXQ","local-inference",null,"Local LLM inference setup and optimization for agentic workflows. vLLM primary backend, hardware-adaptive VRAM budgeting, model selection for tool-calling, LiteLLM proxy wiring, and AOS task-routing policy. Part of AOS Stack plugin. Use for vLLM, VRAM, quantization, model selection, LiteLLM config, or local executor setup.","dasobral\u002Fskills","dasobral","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108470360?v=4","01M6DJBRR588S4TSNFT0ZYY6BV","Daniel SB","01M6DJBRWBDEBPCQ874SWDZWZR",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"local inference","inference","local","model","executor","local llm","calling","selection","use","llm inference","litellm","agentic","tool","vLLM","Optimization","proxy","model selection","agentic workflows","workflows","policy","2026-11-10 10:12:30",false,"---\nname: local-inference\ndescription: >\n  Local LLM inference setup and optimization for agentic workflows. vLLM\n  primary backend, hardware-adaptive VRAM budgeting, model selection for\n  tool-calling, LiteLLM proxy wiring, and AOS task-routing policy.\n  Part of AOS Stack plugin. Use for vLLM, VRAM, quantization, model\n  selection, LiteLLM config, or local executor setup.\n---\n\n# Local Inference\n\nExpert guidance on local LLM inference for agentic orchestration systems.\n\n## Step 1 — Classify Request\n\n| Category | Examples |\n|----------|----------|\n| Model selection | Which model fits? Best for tool calling? |\n| Backend setup | vLLM install, LiteLLM proxy |\n| VRAM sizing | Context window, quantization trade-offs |\n| Task routing | Local vs cloud for a workload |\n| Troubleshooting | OOM, malformed tool calls, latency spikes |\n\n## Step 2 — Detect Hardware\n\nRun `nvidia-smi` (or ask user for VRAM budget). Read\n`references\u002Fmodern-inference-guide.md` and `references\u002Fvram-budget.md`.\n\nNever recommend a model without explicit VRAM calculation including KV cache.\n\n## Step 3 — Backend Rules\n\n- **vLLM** for anything agentic (tool calling, multi-turn)\n- **Ollama** for experiments only — warn on unreliable tool loops\n- Never run multiple large models simultaneously on one GPU\n\nRecommended vLLM launch:\n```bash\nvllm serve \u003Cmodel> \\\n  --max-model-len \u003Cfit-to-vram> \\\n  --gpu-memory-utilization 0.90 \\\n  --dtype auto \\\n  --served-model-name \u003Calias>\n```\n\n## Step 4 — Model Selection\n\nUse `references\u002Fmodel-registry.md`. Key rules:\n- 8B models: single-step or human-supervised only\n- 14B Q4: reliable for ≤3 sequential tool calls\n- Reasoning\u002Fplanning: cloud orchestrator (Opus\u002FSonnet\u002FComposer class)\n\n## Step 5 — AOS Integration\n\nLiteLLM config template: `templates\u002Flitellm-config.yaml`\nLaunch script: `templates\u002Fvllm-launch.sh`\n\nLocal tasks must be atomic with deterministic output — no chain-of-thought.\n\n## Step 6 — Troubleshoot\n\n| Symptom | Likely cause | Fix |\n|---------|-------------|-----|\n| 2–5× latency | GPU spillage | Reduce `--max-model-len` |\n| OOM on startup | VRAM exceeded | Smaller quant or shorter context |\n| Malformed tools | Wrong model\u002Fbackend | vLLM + tool-tuned model |\n| Tools fail at step 3+ | Model too small | Route to cloud |\n\n## Rules\n\n- VRAM first — cite concrete numbers\n- Spillage is hard failure for agentic workloads\n- Pair with `rust-systems` for LiteLLM-compatible API implementation\n","# Local Inference\n\nExpert guidance on local LLM inference for agentic orchestration systems.\n\n## Step 1 — Classify Request\n\n| Category | Examples |\n|----------|----------|\n| Model selection | Which model fits? Best for tool calling? |\n| Backend setup | vLLM install, LiteLLM proxy |\n| VRAM sizing | Context window, quantization trade-offs |\n| Task routing | Local vs cloud for a workload |\n| Troubleshooting | OOM, malformed tool calls, latency spikes |\n\n## Step 2 — Detect Hardware\n\nRun `nvidia-smi` (or ask user for VRAM budget). Read\n`references\u002Fmodern-inference-guide.md` and `references\u002Fvram-budget.md`.\n\nNever recommend a model without explicit VRAM calculation including KV cache.\n\n## Step 3 — Backend Rules\n\n- **vLLM** for anything agentic (tool calling, multi-turn)\n- **Ollama** for experiments only — warn on unreliable tool loops\n- Never run multiple large models simultaneously on one GPU\n\nRecommended vLLM launch:\n```bash\nvllm serve \u003Cmodel> \\\n  --max-model-len \u003Cfit-to-vram> \\\n  --gpu-memory-utilization 0.90 \\\n  --dtype auto \\\n  --served-model-name \u003Calias>\n```\n\n## Step 4 — Model Selection\n\nUse `references\u002Fmodel-registry.md`. Key rules:\n- 8B models: single-step or human-supervised only\n- 14B Q4: reliable for ≤3 sequential tool calls\n- Reasoning\u002Fplanning: cloud orchestrator (Opus\u002FSonnet\u002FComposer class)\n\n## Step 5 — AOS Integration\n\nLiteLLM config template: `templates\u002Flitellm-config.yaml`\nLaunch script: `templates\u002Fvllm-launch.sh`\n\nLocal tasks must be atomic with deterministic output — no chain-of-thought.\n\n## Step 6 — Troubleshoot\n\n| Symptom | Likely cause | Fix |\n|---------|-------------|-----|\n| 2–5× latency | GPU spillage | Reduce `--max-model-len` |\n| OOM on startup | VRAM exceeded | Smaller quant or shorter context |\n| Malformed tools | Wrong model\u002Fbackend | vLLM + tool-tuned model |\n| Tools fail at step 3+ | Model too small | Route to cloud |\n\n## Rules\n\n- VRAM first — cite concrete numbers\n- Spillage is hard failure for agentic workloads\n- Pair with `rust-systems` for LiteLLM-compatible API implementation\n",{"name":5,"description":7},"main","1e047a4b00be0c07efa464cd97f36fa39d4b1718","skills\u002Flocal-inference","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills","https:\u002F\u002Fgithub.com\u002Fdasobral","https:\u002F\u002Forcid.org\u002Fmy-orcid?orcid=0000-0001-9559-3651","Software Engineer with a Ph. D. in Physics","2026-08-15 21:49:02",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add dasobral\u002Fskills --skill local-inference",{"tool":58,"command":59},"bunx","bunx skills add dasobral\u002Fskills --skill local-inference",{"tool":61,"command":62},"pnpm","pnpm dlx skills add dasobral\u002Fskills --skill local-inference","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002FSKILL.md",true,[66,72,76,80,86,90],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fmodel-registry.md","REFERENCE","参考文档",3713,"https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002Freferences\u002Fmodel-registry.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fmodern-inference-guide.md",2094,"https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002Freferences\u002Fmodern-inference-guide.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fvram-budget.md",3808,"https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002Freferences\u002Fvram-budget.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"SKILL.md.tmpl","OTHER","其他",11674,"https:\u002F\u002Fgithub.com\u002Fchriswestt\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fgstack\u002Fdesign-review\u002FSKILL.md.tmpl",{"path":87,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002Flitellm-config.yaml",3064,"https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002Ftemplates\u002Flitellm-config.yaml",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"templates\u002Fvllm-launch.sh","SCRIPT","脚本",3041,"https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flocal-inference\u002Ftemplates\u002Fvllm-launch.sh",[97,109,132,149,173,195],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":39},"01M6DJFKJASZX8BMFGRQBEKFY9","fixture-skill","Fixture skill used to prove trust inventory coverage.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Ftools\u002Fskills-export\u002Ftests\u002Ffixtures\u002Fworkflows\u002Fagent-security\u002Frepository\u002F.cursor\u002Fskills\u002Ffixture-skill\u002FSKILL.md",[],[104,105,106,107,108],"fixture","fixture skill","trust","coverage","inventory",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":39},"01M6DJFG24D9X2WAP411JJP71W","write-conformant-code","Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-conformant-code\u002FSKILL.md",[],[116,117,118,119,120,121,122,123,124,125,126,127,128,129,27,130,131],"code","write","write conformant code","conventions","writing","review","fit","project conventions","requirements","audit","pipeline","analyze","coding","project","functions","language",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M6DJFDDCWB5VMAYE79YTZB40","test-crypto-interoperability","Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftest-crypto-interoperability\u002FSKILL.md",[],[139,140,141,142,143,144,145,146,147,148],"test","interoperability","crypto","test crypto interoperability","negotiation","Reproducible","fallback","record","latency","tests",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":39},"01M6DJF68YHCTQA473PSH24HSK","scientific-platform-architect","Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust\u002FPyTorch\u002FPython), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fscientific-platform-architect\u002FSKILL.md",[],[156,157,158,159,160,161,162,163,164,27,165,166,116,167,168,169,170,121,171,172],"platform","scientific platform architect","architect","emulators","scientific computing","pytorch","thinking","Neural","pipelines","platform design","first","infrastructure","compute","rust","python","design","code review",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":39},"01M6DJF2D8ZNG4439WQ21CQ75D","rust-systems","Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio\u002FAxum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Frust-systems\u002FSKILL.md",[],[180,181,169,182,27,183,29,184,185,166,186,187,188,189,190,191,171,192,193,194],"rust systems","systems","openai","orchestrator","workspace","stack","services","tracing","async","plugin","http","components","cargo","toml","files",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":39},"01M6DJEYP0JJX0XJPJYR36VRTW","run-agent-attack-replay","Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.","https:\u002F\u002Fgithub.com\u002Fdasobral\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Frun-agent-attack-replay\u002FSKILL.md",[],[202,203,204,205,206,207,208],"run","replay","run agent attack replay","deterministic","evidence","effect","trace"]