Agent Skills
Agent Skills are portable knowledge packs that teach your agent how to do things — procedures, domain expertise, scripted workflows, and reference material, all bundled into a simple directory.
Skills vs Tools
Tools (including MCP) give the agent actions it can call — read a file, query a database, search the web. Skills give the agent knowledge and procedures — how to approach a task, what conventions to follow, and what scripts to run. They complement each other: a skill might instruct the agent to call specific tools in a specific order.
The Open Standard
HiveMind OS implements the open Agent Skills standard — a vendor-neutral specification for packaging agent knowledge as portable, file-based skill directories.
The full specification is available at agentskills.io/specification.
Any agent or platform that supports the Agent Skills standard can use the same skill packages. Write once, use everywhere — whether in HiveMind OS, another agent framework, or your own tooling.
How Skills Work
Skills follow a progressive disclosure pattern that keeps agent context lean:
- Startup — HiveMind OS scans configured skill sources and loads each skill's
nameanddescription(~100 tokens each) into a lightweight index. - Activation — When a task matches a skill's description (by keyword, semantic similarity, or explicit request), the full
SKILL.mdbody is injected into the agent's context. - Resources on demand — Files in
scripts/,references/, andassets/are loaded only when the agent needs them, keeping context focused.
Anatomy of a Skill
Every skill is a directory with a SKILL.md file at its root:
my-skill/
├── SKILL.md # Required — metadata + instructions
├── scripts/ # Optional — executable code
│ └── generate.py
├── references/ # Optional — detailed documentation
│ └── REFERENCE.md
└── assets/ # Optional — templates, data files
└── template.docxThe SKILL.md file has two parts — YAML frontmatter (the manifest) and a Markdown body (the instructions):
---
name: data-analysis
description: Analyse CSV datasets, generate charts, and produce summary reports
license: MIT
compatibility: ">=1.0"
metadata:
author: Your Name
category: analytics
allowed-tools: "filesystem.* shell.*"
---
## Instructions
1. Load the dataset using `scripts/load_data.py`
2. Generate visualisations following the style guide in `references/CHARTS.md`
3. Write a summary report with key findingsManifest Fields
| Field | Required | Description |
|---|---|---|
name | ✅ | Unique identifier (lowercase, hyphens only, max 64 chars) |
description | ✅ | What the skill does and when to use it (max 1024 chars) |
license | — | License name or reference |
compatibility | — | Environment requirements (max 500 chars) |
metadata | — | Arbitrary key-value pairs for extra context |
allowed-tools | — | Space-separated tool patterns pre-approved for this skill |
See the full field specification for validation rules and constraints.
Skills + Personas
Skills are scoped to personas. Each persona can have a different set of skills installed, so your Code Reviewer persona doesn't get cluttered with your Data Analyst's skills.
From the Persona Editor:
- Click Manage Skills to browse, install, enable, or disable skills
- Skills inherit data classification rules — a skill that accesses external APIs should be used in appropriately classified sessions
Sourcing Skills
Skills can come from multiple sources:
| Source | How |
|---|---|
| Bundled | Built into HiveMind OS (e.g. CadQuery modelling, web research) |
| GitHub repos | Add a skill repository as a source in your config |
| Local directories | Point to a skill directory on your machine |
# ~/.hivemind/config.yaml
skills:
enabled: true
sources:
- type: github
url: https://github.com/your-org/agent-skills
storage_path: ~/.hivemind/skills-cacheWriting Good Skills
The Agent Skills spec recommends these best practices:
- Keep
SKILL.mdunder 500 lines — move detailed reference material toreferences/ - Write clear descriptions — include keywords that help agents match tasks to skills
- Make scripts self-contained — document dependencies and include helpful error messages
- Use progressive disclosure — only put essentials in the main body; let agents load resources on demand
- Validate before publishing — use the
skills-refreference library to check your skill
Learn More
- Agent Skills Specification — The full open standard
- Skills Guide — Hands-on configuration and creation walkthrough
- Tools & MCP — How callable tools complement skill knowledge
- Personas — Scoping skills per agent identity
- Privacy & Security — Data classification across skills and tools
