Skip to main content

Agent Skills

Agent Skills package instructions, scripts and reference files that an agent loads only when it needs them. A skill is a folder with a SKILL.md at its root. HasMCP lets you author skills on a provider, pick which ones each MCP server offers, and serve them to agents over MCP with the skills extension, next to the server’s tools, resources and prompts. Skills pair well with tools. A tool gives the agent an action, such as createInvoice. A skill teaches the agent when and how to use it: your billing rules, the order of calls, edge cases, and templates.

How It Works

  1. Skills live on providers. Each provider has a Skills tab. A skill is either written in HasMCP (local) or synced from a remote MCP server (remote).
  2. Servers pick skills. On an MCP server’s Skills tab, you choose which of its providers’ skills the server offers.
  3. Agents discover and load them over MCP. When a server has at least one skill, it advertises the skills extension during initialize. Agents list the skills and read only the files they need.

Writing a Skill

1

Open the provider's Skills tab

Go to Providers, open a provider and select the Skills tab. Click Add Skill. The editor opens with a template SKILL.md.
2

Write SKILL.md

SKILL.md must start with YAML frontmatter that has a name and a description:
HasMCP reads the name and description from the frontmatter. You don’t enter them separately.
3

Add more files (optional)

Use Add file, Upload files or Upload folder to add reference documents, templates or scripts. Uploading a folder keeps its paths. Select a file to edit its path and content.
4

Save

Click Create Skill. The skill is served to agents as skill://<name>/….

Rules

Remote Skills

When a remote MCP provider offers skills through the skills extension, Sync pulls them into the provider’s Skills tab. These skills are marked Remote and can’t be edited in HasMCP; their files are fetched from the remote server, with the user’s credentials, when an agent reads them. If you write a local skill with the same name, it replaces the remote one.

Enabling Skills on a Server

  1. Open the MCP server and select the Skills tab.
  2. Click Edit Skills.
  3. Expand a provider to see its Available Skills, and tick the ones to offer. Use Select All / Deselect All for bulk changes.
  4. Click Save Changes.
Connected clients are notified right away with notifications/resources/list_changed.

Served Over MCP

When a server has at least one skill, its initialize result declares the extension:
Agents that support the extension use these methods: Skill URIs look like skill://refund-policy/SKILL.md and skill://refund-policy/templates/email.md. Each skill’s SKILL.md is also listed in resources/list, so clients without the skills extension can still find and read it.

API

Skills are managed per provider: Create and update take the files only. The name and description come from SKILL.md:
Creating, updating and deleting skills needs permission to update the provider. Listing and reading them needs permission to read it. To choose a server’s skills, send providers[].skills[].id with Update MCP Server.