local-inference
Local LLM inference setup and optimization for agentic workflows.
Skill by dasobral
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dasobral-local-inference
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/local-inference
What's inside
- Skill name
local-inference- Description
- 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.
- License
- MIT
- Instructions
- 66 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- model-registry.md · references/
- modern-inference-guide.md · references/
- vram-budget.md · references/
- litellm-config.yaml · templates/
- vllm-launch.sh · templates/
SKILL.md (first lines)
# Local Inference Expert guidance on local LLM inference for agentic orchestration systems. ## Step 1 — Classify Request | Category | Examples | |----------|----------| | Model selection | Which model fits? Best for tool calling? | | Backend setup | vLLM install, LiteLLM proxy | | VRAM sizing | Context window, quantization trade-offs | | Task routing | Local vs cloud for a workload | | Troubleshooting | OOM, malformed tool calls, latency spikes | ## Step 2 — Detect Hardware Run `nvidia-smi` (or ask user for VRAM budget). Read `references/modern-inference-guide.md` and `references/vram-budget.md`. Never recommend a model without explicit VRAM calculation including KV cache. ## Step 3 — Backend Rules - **vLLM** for anything agentic (tool calling, multi-turn) - **Ollama** for experiments only — warn on unreliable tool loops - Never run multiple large models simultaneously on one GPU Recommended vLLM launch: ```bash vllm serve <model> \ --max-model-len <fit-to-vram> \ --gpu-memory-utilization 0.90 \ --dtype auto \ --served-model-name <alias> ``` ## Step 4 — Model Selection Use `references/model-registry.md`. Key rules: - 8B models: single-step or human-supervised only - 14B Q4: reliable for ≤3 sequential tool calls - Reasoning/planning: cloud orchestrator (Opus/Sonnet/Composer class) ## Step 5 — AOS Integration LiteLLM config template: `templates/litellm-config.yaml` Launch script: `templates/vllm-launch.sh` Local tasks must be atomic with deterministic output — no chain-of-thought. ## Step 6 — Troubleshoot | Symptom | Likely cause | Fix | |---------|-------------|-----| | 2–5× latency | GPU spillage | Reduce `--max-model-len` | | OOM on startup | VRAM exceeded | Smaller quant or shorter context | | Malformed tools | Wrong model/backend | vLLM + tool-tuned model | | Tools fail at step 3+ | Model too small | Route to cloud | ## Rules - VRAM first — cite concrete numbers - Spillage is hard failure for agentic workloads - Pair with `rust-systems` for LiteLLM-compatible API implementation
From dasobral/skills, MIT.
More from dasobral/skills
- 0.529score
cpp-review
dasobral
Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full…
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-engineer
dasobral
Production-grade C++ for industrial/defense QKD ground-segment systems.
SkillBFreshness: BClaude Code +9 - 0.529score
analyze-codebase
dasobral
Analyzes a codebase across 16 dimensions — naming, formatting, architecture, async patterns, error handling, testing, anti-patterns — and writes…
SkillBFreshness: BClaude Code +9 - 0.529score
agent-ste
dasobral
Use when rewriting user or planner instructions before planning or execution; when prompts contain vague verbs (optimize, improve, better, appropriate…
SkillBFreshness: BClaude Code +9 - 0.529score
audit-cognitive-debt
dasobral
Audits cognitive load across seven debt categories: dead code, over-engineering, duplication, abstraction quality, control flow, naming, and test debt.
SkillBFreshness: BClaude Code +9 - 0.529score
orchestrate
dasobral
Top-level orchestrator that deploys specialized agents from an agents/ directory to complete complex tasks.
SkillBFreshness: BClaude Code +9 - 0.529score
create-agent
dasobral
Scaffolds platform-native Cursor Markdown or Codex TOML agent definitions through six layers: Role, Inputs, Process, Output contract, Constraints, and…
SkillBFreshness: BClaude Code +9 - 0.526score
assess-repository-trust
dasobral
Inventory repository control-plane inputs and produce a private, hash-based trust record before an agent executes repository-supplied automation.
SkillBFreshness: BClaude Code +9 - 0.526score
build-attack-scenario
dasobral
Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.
SkillBFreshness: BClaude Code +9 - 0.525score
career-documents
dasobral
Write and edit professional career documents: CVs, cover letters, research statements, fellowship proposals, and resignation letters.
SkillBFreshness: BClaude Code +9 - 0.523score
challenge-sciml-model
dasobral
Challenge SciML evidence for leakage, physical constraints, extrapolation, uncertainty, baselines, and cost.
SkillBFreshness: BClaude Code +9 - 0.523score
capture-scientific-run
dasobral
Capture a replayable scientific run with units, provenance, numerical equivalence, and uncertainty contracts.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 15, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dasobral/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dasobral
- 0.529score
orchestrate
dasobral
Top-level orchestrator that deploys specialized agents from an agents/ directory to complete complex tasks.
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-review
dasobral
Unified C++ review for QKD/defense systems with three lenses: --realtime (concurrency, latency, RAII), --security (crypto hygiene, ETSI, threat model), --full…
SkillBFreshness: BClaude Code +9 - 0.529score
audit-cognitive-debt
dasobral
Audits cognitive load across seven debt categories: dead code, over-engineering, duplication, abstraction quality, control flow, naming, and test debt.
SkillBFreshness: BClaude Code +9 - 0.529score
create-agent
dasobral
Scaffolds platform-native Cursor Markdown or Codex TOML agent definitions through six layers: Role, Inputs, Process, Output contract, Constraints, and…
SkillBFreshness: BClaude Code +9 - 0.529score
cpp-engineer
dasobral
Production-grade C++ for industrial/defense QKD ground-segment systems.
SkillBFreshness: BClaude Code +9 - 0.529score
agent-ste
dasobral
Use when rewriting user or planner instructions before planning or execution; when prompts contain vague verbs (optimize, improve, better, appropriate…
SkillBFreshness: BClaude Code +9
Cite this page
local-inference skill. Agent Mart. https://agentmart.dev/skills/dasobral-local-inference (last updated 2026-10-24)