NexInfer API Agent Skill
This Skill helps coding agents quickly understand the official NexInfer documentation and use the current guidance for API integration, client configuration, and troubleshooting.
Recommended: Ask your agent to install it
Section titled “Recommended: Ask your agent to install it”Copy the instruction below into Codex, Claude Code, or another coding agent you already use:
Install the official NexInfer Skill: https://docs.nexinfer.com/skills/nexinfer-api/SKILL.md
After installation, tell your agent to “use $nexinfer-api to connect this project to NexInfer.” The Skill directs it to the current documentation, so you do not need to copy individual pages.
If your tool cannot install it automatically, use the manual method below.
Fallback: Install manually
Section titled “Fallback: Install manually”Run from the project root:
mkdir -p .agents/skills/nexinfer-apicurl --fail --silent --show-error --location \ https://docs.nexinfer.com/skills/nexinfer-api/SKILL.md \ --output .agents/skills/nexinfer-api/SKILL.mdFor all projects, save the same file as ~/.agents/skills/nexinfer-api/SKILL.md.
Claude Code
Section titled “Claude Code”Run from the project root:
mkdir -p .claude/skills/nexinfer-apicurl --fail --silent --show-error --location \ https://docs.nexinfer.com/skills/nexinfer-api/SKILL.md \ --output .claude/skills/nexinfer-api/SKILL.mdFor all projects, save the same file as ~/.claude/skills/nexinfer-api/SKILL.md.
Use it after installation
Section titled “Use it after installation”Describe the task and name the Skill:
Use $nexinfer-api to connect this project to NexInfer and verify the integration.Or ask:
Use $nexinfer-api to check this project's NexInfer configuration against the latest official documentation.What the agent can learn
Section titled “What the agent can learn”- NexInfer Base URLs, authentication, model discovery, and error handling.
- OpenAI Responses, Chat Completions, Anthropic Messages, and image APIs.
- Existing guides for Claude Code, Codex, CC Switch, and Cline.
- Verification requirements for streaming, tools, reasoning/thinking, prompt caching, and conversation fields.
API parameters, models, and prices still come from the live documentation, OpenAPI, and the user’s own dashboard. The Skill finds the relevant source and provides the execution workflow instead of copying an API reference that can become stale.
The Skill does not store your API key or intentionally modify context, the System Prompt, tools, reasoning/thinking, or output limits.
Other tools, updates, and removal
Section titled “Other tools, updates, and removal”For tools supporting the Agent Skills specification, place the same file in the official Skill directory documented by that tool. Run the download command again to update it. To remove it, delete only the installed nexinfer-api folder.
Never paste a real API key into a prompt, Skill file, repository, or support message.