Skip to main content

Skills Management

Skills are capability modules for agents. A skill is usually defined by SKILL.md, which describes when to use it, what steps to follow, which tools are available, and what output is expected.

What Are Skills

A skill is not a single tool call. It is a reusable method for a task type. For example, a "Contract Review" skill may include:

  • Trigger conditions: when the user submits a contract or asks for clause review
  • Steps: read the file, split clauses, identify risks, produce suggestions
  • Tools: Read, Edit, WebFetch, MCP legal references
  • Output format: risk summary, clause-by-clause comments, suggested edits
DimensionSkillTool
EssenceHigh-level behavior instructionLow-level capability interface
GranularityA complete task workflowOne concrete operation
ExampleContract Review, Web Research, PPT EditingRead, Grep, PowerShell, WebFetch
ContentsInstructions, steps, constraints, references, scriptsParameters, executor, permission, result

Skill Sources

DesireCore discovers skills from several locations:

SourceLocationScope
Global Skills~/.desirecore/skills/Available to all agents
Agent SkillsThe agent repository's skills/ directoryAvailable to that agent
Project Skills.agents/skills/ or .claude/skills/ in the work directoryAvailable in that project context

Disabled skills are not injected into the agent context. Skills with tool restrictions, model preferences, or provider preferences are matched against the current runtime and compute configuration.

Viewing Skills

  1. Open the agent details page
  2. Open Skills or Skills Management
  3. Review available, disabled, and updateable skills

Skill cards can show name, description, source, version, author, status, direct-invocation setting, and tool or provider requirements. Click a skill to inspect SKILL.md, references, and scripts.

Adding Skills

From the Marketplace

  1. Open the skill marketplace or the agent skills panel
  2. Search or browse by category
  3. Review the skill description, dependencies, and risk notes
  4. Install and confirm when prompted

Global marketplace skills are installed into the global skills directory. Agent-bound skills are written into the corresponding agent repository.

Local Import

Import Skill supports three local formats:

FormatDescription
.md fileImport a single Markdown skill file; DesireCore creates the skill directory
FolderImport a folder containing SKILL.md, scripts, references, or templates
.zip packageImport a compressed skill directory for migration or sharing

The import flow validates structure, path safety, and required fields. If it fails, the UI shows the specific reason.

Enable, Disable, Export, Remove

  • Enable / Disable: controls whether a skill can be loaded. Disabling does not delete files.
  • Export: in the skill detail panel, click Export to download a global skill or the current agent's embedded skill as a ZIP package. The package includes SKILL.md plus scripts, references, and assets under that skill directory, so it can be backed up, moved, or reinstalled through local import.
  • Remove: deletes the skill files. Agent repository skills can be recovered from version history.
  • Update: built-in and marketplace skills can detect updates. User-modified skills are not silently overwritten.
Built-in Global Skills

DesireCore includes global skills for skill creation, document processing, PDF, PPT, spreadsheet, web access, frontend design, and mail operations. Built-in skills are maintained automatically through the client and marketplace sync, while user edits are preserved where possible.

Skill Risk And Confirmation

A skill is instruction and resources; it does not bypass tool permissions. Runtime risk comes from the tools it calls, the data it touches, and the external effects it produces.

Risk LevelMeaningCommon Examples
LowMainly reads or organizes information without changing system stateSummarization, information lookup, format checks
MediumUses network access, writes files, or connects external servicesWeb research, report generation, API calls
HighMay modify the system, run commands, send external messages, or handle sensitive dataCommand execution, bulk file edits, mail sending, publishing

High-risk actions still follow tool approvals, permission settings, and human gates. Installing or enabling a skill does not approve every operation inside it; when a skill triggers sensitive tools, DesireCore applies the corresponding tool and approval policy.

Skill Metadata

SKILL.md can declare metadata in frontmatter:

FieldDescription
name / metadata.nameDisplay name
description / metadata.descriptionDescription used for matching
version / metadata.versionSkill version
author / metadata.authorAuthor
allowed-toolsTools allowed while running this skill
providerPreferred model or media provider slug
modelModel to use when this skill is triggered
user-invocableWhether users can call it directly
disable-model-invocationWhether automatic model-triggered invocation is disabled; disable_model_invocation is also accepted
contextExecution context mode, such as default or fork

These fields affect card display, command completion, automatic triggering, tool availability, and provider selection.

Custom Skill Structure

<skill_id>/
+-- SKILL.md
+-- scripts/
+-- references/
+-- assets/
+-- evals/
Clear Trigger Conditions

The clearer the skill description, the easier it is for the agent to choose it at the right time. State when to use it and when not to use it near the top of SKILL.md.

Next Steps