Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 90
  • 22k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-inference

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install debug-inference in Claude Code

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

A

No 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 →

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.

debug-inference Install

Add to stack

Loading.