debug-inference

debug-inference is a skill for Claude Code, Codex from NVIDIA/OpenShell. It costs 120 tokens per session (1,658 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for inference, meaning the process of sending requests to an AI model, through local, external, or platform-only OpenShell routes.

In plain words
What is it for?
Use it when local models, external model providers, managed inference, or system-only inference cannot be reached or fail verification.
Why use it?
It helps identify whether the failure comes from the model server, provider address, network access, protocol, gateway, or route configuration.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it when local models, external model providers, managed inference, or system-only inference cannot be reached or fail verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia/openshell/debug-inference
About the project

OpenShell is a runtime for autonomous AI agents that executes them in sandboxed environments governed by declarative policies. It is used to restrict agents' access to files, credentials, data, and network resources, and the catalogue includes skills and workflows for operating and contributing to it.

NVIDIA/OpenShell · 22,013 stars · on GitHub · docs.nvidia.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA/OpenShell --skill debug-inference
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/OpenShell

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-inference

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/openshell/debug-inference/github.svg)](https://agentmods.dev/skills/nvidia/openshell/debug-inference)
Your own site
<a href="https://agentmods.dev/skills/nvidia/openshell/debug-inference"><img src="https://agentmods.dev/badge/skills/nvidia/openshell/debug-inference/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-inference

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/openshell/debug-inference"><img src="https://agentmods.dev/badge/skills/nvidia/openshell/debug-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 6 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
  • Socket pass 7 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01658
Opus 5.5 $0.00048 $0.00663
Sonnet 5.5 $0.00024 $0.00332
Haiku 4.5 $0.00012 $0.00166

Measured 20d ago against content hash 48d3a74f5fc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-inference scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/debug-inference/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debug Inference

Diagnose inference as ordinary provider-authorized network traffic. OpenShell no longer supplies a managed inference route, rewrites request shapes, or selects a model. The application calls the provider's native endpoint and owns its base URL, model, request format, and timeout.

Use installed openshell --help output as the authority for command syntax. Refer to the published provider management guide and provider profile guide for current behavior.

Diagnostic Workflow

1. Confirm Gateway and Sandbox Context

openshell status
openshell gateway info
openshell sandbox get <sandbox>

For a host-local model server, host.openshell.internal identifies the machine running the gateway. It does not identify the operator's laptop when the gateway is remote. A server listening only on 127.0.0.1 may also be unreachable from a container; bind it to an address reachable from the gateway runtime.

2. Inspect the Provider and Its Profile

openshell provider get <provider>
openshell profile export <profile-id> -o yaml

Check that the profile:

  • Names the exact endpoint host, port, and protocol the client calls.
  • Allows the client binary.
  • Declares the credential key and intended authentication style.
  • Uses narrow HTTP rules when the provider should expose only part of an API.

For a custom or self-hosted OpenAI-compatible endpoint, import an endpoint-bearing profile. A base URL stored only in provider configuration does not authorize a new endpoint.

openshell profile lint -f ./provider-profile.yaml
openshell profile import -f ./provider-profile.yaml
openshell provider create --name <provider> --type <profile-id>

Add the required --credential KEY or --credential KEY=VALUE arguments shown by the profile. Never broaden endpoint policy merely to silence a credential binding error.

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · +5 lines 48d3a74f5fc6
  2. 24d ago Changed · +1 lines 2056b5a7f07d
  3. 2mo ago Changed 58503cbebb6d
  4. 2mo ago Changed 1ce5fdc9d55c
  5. 2mo ago Changed · +2 lines · +1 tokens per session e86333a0e381
  6. 2mo ago Changed · +1 lines 7d43b9724118
  7. 2mo ago Changed · -285 lines · +5 tokens per session aea713826506
  8. 2mo ago Changed · +2 lines bf06cd4bf50e
  9. 2mo ago Changed · +5 lines 544ce4374938
  10. 3mo ago First seen · 409 lines · 114 tokens per session scan A 9b671793b0f0

Subscribe to this mod's changes

debug-inference is a skill published in the GitHub repository NVIDIA/OpenShell (22,013 stars, last pushed yesterday), licensed Apache-2.0. It adds 120 tokens to every session and 1,658 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

debug-inference compared with skills from other repositories

debug-inference next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debug-inferenceNVIDIA/OpenShellSkill22kyesterdayApache-2.0A120Claude Code, Codex
notebooklmteng-lin/notebooklm-pySkill20ktodayMITA79Claude Code, Codex
oh-my-poshJanDeDobbeleer/oh-my-poshSkill24k4d agoMITA47Claude Code, Codex
spark-engineerJeffallan/claude-skillsSkill13ktodayMITA75Claude Code
autorag-doctorMarker-Inc-Korea/AutoRAGSkill6.2kyesterdayApache-2.0A144Claude Code, Codex
rocketride-debugging-pipelinesrocketride-org/rocketride-serverSkill20ktodayMITA67Claude Code
vllm-sr-decision-modelvllm-project/semantic-routerSkill6.6ktodayApache-2.0A59Claude Code, Codex