debug-inference
Skill by ai-openshell
Diagnoses inference clients that call a provider's native endpoint inside OpenShell. It covers hosted APIs and host-local servers such as Ollama, vLLM, and LM Studio. It is for operators and developers debugging provider attachment, endpoint policy, and credential errors.
Install debug-inference
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ai-openshell/openshell /tmp/openshell && mkdir -p ~/.claude/skills && cp -r /tmp/openshell/skills/debug-inference ~/.claude/skills/debug-inferenceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ai-openshell/openshell /tmp/openshell && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openshell/skills/debug-inference ~/.gemini/antigravity-cli/skills/debug-inferenceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Debug Inference is an agent skill for diagnosing inference clients that use an attached provider and its native endpoint in OpenShell. It treats inference as ordinary provider-authorized network traffic. OpenShell no longer supplies a managed inference route, rewrites request shapes, or selects a model, so the application owns its base URL, model, request format, and timeout.
The skill gives a diagnostic workflow covering gateway context, provider profiles, attachment receipts, and native client configuration. It includes a table of common failures such as credential_endpoint_mismatch, request_authority_mismatch, and host-local timeouts. It also has a checklist for Ollama, LM Studio, vLLM, SGLang, TRT-LLM, and NIM. It suits people running hosted or local model endpoints through OpenShell who are migrating off the removed managed inference endpoint.
Written from the project's SKILL.md and checked against it.
What it can do
- Gateway and sandbox checkConfirms gateway status and sandbox context before debugging an inference client.
- Provider profile inspectionChecks that a profile names the endpoint host, port, protocol, client binary, and credential key.
- Attachment verificationUses attachment receipts to confirm when provider credentials and policy take effect.
- Native client configuration reviewChecks the base URL, real model ID, request shape, and credential variable the client uses.
- Common failure lookupMaps errors such as credential_endpoint_mismatch to likely causes and fixes.
- Host-local inference checklistSteps for connecting Ollama, LM Studio, vLLM, SGLang, TRT-LLM, or NIM running on the gateway host.
- Structured reportingLists the gateway, provider, endpoint, and narrowest fix to include in a diagnosis report.
What you need
- OpenShell gateway
- openshell CLI installed
- A sandbox with an attached provider
Try asking
- Why am I getting credential_endpoint_mismatch in this sandbox?
- Help me point my Ollama client at host.openshell.internal in a sandbox.
- Walk me through migrating from the removed managed inference endpoint.
Good to know
- OpenShell no longer provides a managed inference route, request rewriting, or model selection.
- A server bound only to 127.0.0.1 may be unreachable from a container.
- Body credential rewriting is not enabled by this workflow.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/debug-inference/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to debug-inference
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
debug-inference: common questions
Does OpenShell still provide a managed inference endpoint?
No. The source says OpenShell no longer supplies a managed inference route, rewrites request shapes, or selects a model. Applications should call the provider's native endpoint.
Can this skill debug local models like Ollama or vLLM?
Yes. It includes a host-local checklist for Ollama, LM Studio, vLLM, SGLang, TRT-LLM, and local NIM that uses host.openshell.internal.
Why does a local server work on the host but not in the sandbox?
Loopback refers to a different runtime inside the sandbox. The source recommends host.openshell.internal or another gateway-reachable endpoint instead.
How do I install debug-inference?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-inference free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is debug-inference safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-inference?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
