Inference Logoinference.sh

Skills

Load context on-demand instead of cramming everything into the system prompt.


What Are Skills?

Skills are reusable packages of instructions and context that agents retrieve when needed. Instead of a massive system prompt, your agent sees a list of available skills and a skill_get tool to load the full content when relevant.

Full skills documentation


Quick Start

From the Registry

  1. Open your agent's settings → Prompt tab
  2. Scroll to Skills
  3. Click Browse → search and select a skill
  4. Done — the skill's name, description, and URL are filled in automatically

By URL

Click + URL and provide:

FieldValue
NameIdentifier the agent uses (e.g. api-docs)
DescriptionWhen to load this skill — the agent sees this
URLhttps://api.inference.sh/skills/{ns}/{name}/content or any HTTPS URL

Inline

Click + Text and write the content directly. Good for short, agent-specific instructions.


Preloading

By default, skills are loaded on-demand via skill_get. For skills the agent needs on every conversation, enable preload — the content is injected directly into the system prompt at startup.

Toggle Preload on the skill in the Prompt tab, or set it in YAML:

yaml
1skills:2  - name: pricing-rules3    skill_id: myteam/pricing-rules4    preload: true

Preloaded skills are available from turn one — no tool call needed. Use this for core reference material the agent always needs. Keep large or situational content as on-demand.


How It Works at Runtime

On-demand skills appear in the skill_get tool listing. The agent calls skill_get when the conversation matches a skill's description:

code
1skill_get(skill="code-review")                           main instructions2skill_get(skill="code-review", path="references/checklist.md")   supporting file

Preloaded skills are already in the system prompt — no tool call needed.

Content is cached per session — loading the same skill twice doesn't re-fetch.


Learn More

we use cookies

we use cookies to ensure you get the best experience on our website. for more information on how we use cookies, please see our cookie policy.

by clicking "accept", you agree to our use of cookies.
learn more.