Skip to main content

Agent Skills

Package a system prompt, tools, and knowledge into a reusable configuration that any agent node can load.

An Agent Skill is a saved, versioned bundle of AI agent configuration: a system prompt, a list of enabled tools, one or more knowledge bases to search, and optional LLM defaults (model, temperature). You create a skill once, then use it across as many agent nodes and workflows as you like. When the underlying skill changes, every node that references it picks up the update automatically. While a workflow using the skill is in review or published, the skill's behaviour is locked: changes to its prompt, tools, knowledge or other settings are refused until those workflows are back in Draft.

Agent Skills live in Agent Builder → Skills. They work alongside Workspace Skills (markdown instruction sets for the chat interface) — you can attach active workspace skills to an Agent Skill so their content is injected verbatim as reference material before every request the agent handles.


Why Use Agent Skills?​

Without skillsWith skills
Duplicate system prompts copy-pasted across nodesOne skill, referenced in many nodes
Changing a prompt means editing every workflowEdit the skill; all nodes update
No version history for agent behaviorSnapshot a skill as a version before risky edits; roll back to any version
Testing requires running a full workflowTest the skill directly from the skill editor

Key Features​

🧩 CompositionA skill can extend another skill via base_skill_id — overrides merge cleanly
📚 Knowledge bindingAttach knowledge bases; the resolver injects relevant chunks at runtime via RAG
📌 Reference SkillsLink active workspace skills to inject their full content verbatim before every request
🛠️ Tool selectionPick any subset of built-in tools, plus Workspace tools an admin made available to agents
🎛️ LLM defaultsSet model, temperature, and max tokens per skill
🔢 VersioningSnapshot the skill as a numbered version; roll back to any version in its history
📊 AnalyticsRun count, average latency, and success rate per skill — updated on every run
🧪 Test panelSend a test message directly to the skill without running a workflow
📤 Export / ImportShare skills across instances as JSON or ZIP

Skill Mode vs Prompt Mode​

Every agent node in the Agent Builder offers two configuration modes:

ModeHow to activateWhat the node uses
Skill modeSelect a skill from the dropdown in the node properties panelSkill's system prompt, tools, knowledge, and LLM defaults — merged with any node-level overrides
Prompt modeLeave skill blank and fill in the inline system promptOnly the node's own configuration

Switch between modes using the toggle at the top of the node properties panel.

Mix and match

You can attach a skill and add extra inline overrides. Node-level overrides always win — they layer on top of the skill, they don't replace it.


Composition and Merge Order​

A skill can extend another skill by setting base_skill_id. The resolver walks the inheritance chain and merges all levels:

base_skill (lowest priority)
↓
skill
↓
node config overrides (highest priority)

Merge rules:

FieldMerge behavior
system_promptJoined with \n\n (base first, then skill, then node override)
toolsOrdered union — deduped, preserving order
knowledge_idsOrdered union — deduped
workspace_skill_idsOrdered union — deduped
llm_defaultsMerged field by field — a field set at a later level wins; a field left unset is inherited from the level below (e.g. a variant that sets only temperature keeps the base skill's model)

This makes it easy to define a "base agent" skill with shared instructions and fork department-specific variants that only override what's different.

The base skill must exist, a skill can't extend itself or form a loop (A extends B, B extends A), and a skill can inherit through at most 5 levels of base skills — anything else is rejected with HTTP 422 when you save (or roll back to a version with that base skill). If a base skill can't be resolved at run time (for example in a chain built before these checks), the run continues without it and the problem is reported in the Test result's warnings.

To remove a skill's base skill, choose None in the editor — over the API, send "base_skill_id": "" (an omitted or null field leaves the base skill unchanged).


Reference Skills​

Attach curated workspace skill documents to an agent skill so they are injected verbatim before every request.

Workspace Skills are markdown documents — policies, templates, checklists, style guides. Linking them to an Agent Skill gives the agent always-present reference material without using RAG or consuming permanent system-prompt tokens per model.

How it differs from Knowledge Bases​

Reference Skills (workspace)Knowledge Bases
ContentSmall curated markdown cardsLarge document corpora
InjectionFull content, always, verbatimTop-k chunks, per query, via semantic search
Best forPolicies, templates, checklists, style rulesManuals, FAQs, large knowledge repositories
Updated whenWorkspace skill is edited — propagates automaticallyDocument is re-indexed

Injection order​

When an agent node runs, context is assembled in this order before the user message:

## Reference Material        ← linked workspace skills (verbatim full content)
### GDPR Policy
...

---

### Contract Template
...

## Knowledge Context ← knowledge base results (RAG, top chunks)
[source, p.1] (score: 0.91)
...retrieved chunk...

{user message}

Linking workspace skills​

In the skill editor, scroll to the Reference Skills section. A checkbox list shows all active workspace skills. Check the ones you want this agent skill to always inject.

Only active workspace skills are available

Only workspace skills with Active status appear in the picker. Inactive skills are hidden from selection and silently skipped at runtime even if their IDs are stored in the skill record. Toggle a skill active from Workspace → Skills before linking it here.

Per-node extra reference skills​

In the node properties panel (skill mode), you can add workspace skills beyond what the base skill defines using the Extra Reference Skills section. This is the workspace equivalent of Additional Knowledge Bases — it lets a single node load contextual reference documents without modifying the shared skill definition.

Extra reference skills are unioned with the skill's own workspace_skill_ids following the same merge order as other node overrides.


Workspace Tools​

Give an agent your own tools: Python code written in Workspace → Tools, next to the built-in ones.

A Workspace Tool is a Python class Tools whose methods are the functions a model can call, the same tools chat uses. Agents can use one once an admin turns on Available to agents for it. A skill then lists the tool in its Tools section, and the agent gets every function of the tool.

Turning a tool on for agents​

  1. An admin opens the tool in Workspace → Tools and turns on Available to agents. It is off for every tool, including existing ones, until an admin turns it on, because the tool's code then runs in unattended agent runs.
  2. In the skill editor, the Tools section shows a Workspace tools group: the tools available to agents that you can read (you own them, they're shared with you, or you're an admin), global or in the skill's space. Click one to attach it.
  3. The same tools appear in the Test tab's Extra Tools and in an agent node's Additional Tools, marked 🧩.

For admins, the tool editor shows where agents use the tool: Used by N agent skill(s) and N workflow(s) in review or published.

Who a tool runs as​

Every run checks the tool again for the user the run acts as: whoever ran the workflow or, for runs without a user (a schedule, a queue), the workflow's owner. If the tool was deleted, turned off for agents, belongs to another space, or that user can't read it, the agent runs without it and the run's events carry a warning. The Test tab runs it as you.

A tool's functions receive what they get in chat, with these differences:

ParameterIn an agent run
__user__The user the run acts as, with their user valves for the tool
__metadata__source: "agent_builder", plus the workflow, run, node, space and catalog IDs
__event_emitter__Accepted and discarded: there is no chat to show status in
__event_call__Returns an error: there is no browser to ask
__messages__, __files__Empty
__request__, __model__, __oauth_token__, __chat_id__, __message_id__None

The tool's admin valves apply as in chat.

Limits​

  • Each call has a timeout, AGENT_WORKSPACE_TOOL_TIMEOUT_SECONDS (default 60). A call that runs longer comes back to the model as a tool error. Synchronous code keeps running in its thread until it returns.
  • At most AGENT_WORKSPACE_TOOL_MAX_CONCURRENCY calls (default 8) run at once per Studio process.
  • An exception comes back to the model as a tool error. Results are cut like any tool's.
  • Python packages a tool needs aren't installed during a run. A tool whose import fails is left out with a warning naming the package: install it on the server, as for chat tools.
  • Tools run inside the Studio process, as they do in chat. That is why only admins can write their code and turn them on for agents.

Workflows that use a Workspace tool​

  • Saving a workflow returns workspace_tool_warnings: each node whose skill or extra tools lists a tool the workflow's owner can't use here.
  • Submitting for review and publishing are refused (HTTP 422) while any such problem remains.
  • Turning off "Available to agents" or deleting a tool that a workflow in review or published uses is refused (HTTP 409), naming those workflows. In the editor, you confirm and go ahead anyway; over the API, send force=true. Those workflows then run without the tool.
  • Workflow test cases don't call Workspace tools: the call returns a note instead. See Built-in Tools → In workflow test cases.
  • Export bundles list the tools in workspace_tool_refs (ID and name). The tool's code doesn't travel. When importing where a tool with that ID doesn't exist or isn't available to agents, the workflow is imported with a warning naming the tool, and can't be submitted for review until the tool is there.

Over the API, a skill stores a Workspace tool in its tools list as workspace:<tool_id>, next to built-in tool names.


Who Can See and Change Skills​

SkillWho can see itWho can change, version, roll back, delete or test it
In a spaceEvery member of the spaceMembers with the agent developer, lifecycle manager or space admin role
Personal (no space)Its creatorIts creator
GlobalEvery signed-in userAs above, by where it lives (in a space, or its creator)

Admins can see and change every skill. Only admins can make a skill global, or stop it being global.

  • The skills list shows only the skills you can see. Filtering by a space you don't belong to shows only global skills.
  • Creating a skill in a space needs one of the developer roles there. A skill always belongs to its space's catalog.
  • Testing a skill needs the right to change it: a test spends the catalog's LLM credentials, and its tools can use the catalog's secrets.
  • The audit log of a skill stays admin-only, because its entries hold IP addresses.

A workflow node can link only skills you can see when you save it. Saving, importing or promoting a workflow refuses (HTTP 422) a node that adds a skill, knowledge base or Reference Skill you can't read.


Creating a Skill​

Go to Agent Builder → Skills and click + New Skill.

FieldDescription
NameDisplay name (e.g. "Document Reviewer"). Must be unique — creating or renaming to a name another skill uses returns HTTP 409
DescriptionShort summary — shown in the node picker and analytics
Base SkillOptional parent skill to extend (must exist; no loops; at most 5 levels — see Composition)
System PromptInstructions for the agent
Reference SkillsActive workspace skill documents to inject verbatim before every request
ToolsBuilt-in tools this skill enables (web_search, code_executor, etc.) — only names listed by GET /api/v1/agent-skills/tools are accepted — and Workspace tools
Knowledge BasesKnowledge base IDs to search on every run (ones you can read)
ModelLLM model override (blank = instance default)
Temperature0.0–2.0 — other values are rejected with HTTP 422
Max TokensResponse length limit (blank = provider default)

A new skill starts as a draft at version 1. Save updates the skill in place — it does not create a version. To keep the current state before an edit, click Version (see Versioning).

While a workflow that uses the skill is In Review (staged) or Published, changes to what the skill does are refused with HTTP 409 — see Workflow Lifecycle → Skills are locked with the workflow. Name, description, tags and status stay editable.

When you save an existing skill, only values you change are checked — a skill that already holds a tool name or temperature from before these rules stays editable, but a newly added unknown tool or out-of-range temperature is refused.

What a skill can't be saved with​

Create and update refuse these with 422 and a message naming the problem:

FieldRule
ToolsEvery built-in tool must be one listed by GET /api/v1/agent-skills/tools (the built-in tools). A typo such as web_serach is refused instead of being silently ignored at run time.
Workspace toolsMust exist, be available to agents, be global or in the skill's space, and be readable by you — the tools GET /api/v1/agent-skills/tools/workspace lists.
Knowledge Bases, Reference SkillsYou must be able to read each one you add. An ID that doesn't exist isn't refused (there is nothing to read, and the run reports it).
TemperatureMust be between 0.0 and 2.0.
Base SkillMust exist and be readable by you, can't be the skill itself, can't create a loop (A → B → A), and the inheritance chain can be at most 5 levels deep, counting the skills that already extend this one.

These rules apply to what you change. A skill saved before they existed — for example one that still lists a retired tool — stays editable; only newly added tools, knowledge bases and Reference Skills, a changed temperature or a changed base skill are checked. Making a skill global, or not, is refused with HTTP 403 unless you're an admin.


Managing Skills​

Agent Builder → Skills lists your skills in the same layout as the workflow list:

  • Tabs for Published, Drafts and Archived, each with its count. The tiles above them do the same, and the fourth, Not used yet, shows published skills that have never run (Test-tab runs count as runs).
  • Search by name, description or tag, and a tag filter.
  • A table with each skill's status, version, tools, runs and last update. Its ⋯ menu opens the skill, exports it, copies its ID or, for a draft, deletes it.
  • Import takes skill files (JSON or ZIP) or a bundle. Export downloads the skills the list shows as a ZIP.

Delete Selected: on the Drafts tab, each row has a checkbox, plus Select all on this page (published skills go through the versioning lifecycle instead of a direct delete). Tick the ones to remove and click Delete Selected (N) to delete them after a single confirmation. If some fail, the result says how many succeeded and how many failed rather than deleting part of them silently, and why: the common reason when they share one, otherwise the first one. For example, a workflow's default skill can't be deleted on its own; deleting the workflow deletes it.

Skills in use can't be deleted. A skill that is a workflow's default skill, is selected in any workflow node, or is the base skill of another skill is refused with HTTP 409; the message names what still uses it (for example workflow "Invoice Pipeline" (default skill)). Remove those references first. A workflow's default skill is deleted together with the workflow.

Import Bundle (.zip): Migrate SKILL.md/agents/*.md files from a Claude Code plugin repository straight into Agent Skills — see Import Bundle.


Using a Skill in a Node​

  1. Open a workflow in the Agent Builder.
  2. Click an agent node to open its properties.
  3. Switch to Skill mode using the toggle.
  4. Select a skill from the dropdown.
  5. Optionally override individual fields (system prompt addition, extra tools, different model).

The node properties panel shows the selected skill's name, description and its own tools. To see the fully resolved configuration — the merged system prompt, inherited tools and knowledge — open the skill's Test tab; the Test API also accepts the node-level overrides (extra_system_prompt, extra_tools, extra_knowledge_ids, extra_workspace_skill_ids, llm_override) to preview a node's exact configuration.


Versioning​

Save edits a skill in place. Versions are explicit snapshots:

  • Create a version — click Version in the skill editor (POST /{id}/version). The skill's current content is copied into a new draft skill named {Skill Name} v{N} (or … v{N} (2) if that name is taken), with the next version number and origin_skill_id pointing at the original. Snapshots appear in the Skills list like any other draft.
  • List versions — GET /{id}/versions returns every version in the skill's chain, newest first. Calling it with a snapshot's ID returns the same chain.
  • Roll back — POST /{id}/versions/{version_id}/revert restores a version's content onto the skill {id} itself. The skill keeps its ID, so every workflow node that uses it runs the restored content from then on. Before overwriting, the content being replaced is saved as a new version, so history only ever grows and a roll back can itself be undone. Rolling back to a version from another skill's chain returns HTTP 404, and rolling back a skill that is locked by a staged or published workflow returns HTTP 409.

Roll back restores the description, system prompt, tools, knowledge bases, reference skills, LLM defaults, base skill, schemas and tags. Name, status and the space/catalog scope are kept.

Roll back and history are API-only

The skill editor has the Version button but no version-history, roll-back or diff view yet — use the endpoints above.

Nodes reference the skill, not a version

When a workflow runs, it resolves whatever content the referenced skill has now. To pin a node to a fixed version, select that version's snapshot skill in the node instead of the original.


Analytics​

The Analytics tab on a skill (GET /{id}/analytics) shows aggregate metrics across every run that used it — workflow runs and Test runs alike:

MetricAPI fieldDescription
Total runsusage_countNumber of times this skill was run
Success ratesuccess_rateFraction (0–1) of runs that completed without error
Avg latencyavg_latency_msMean run time in milliseconds
Last usedlast_used_atUnix timestamp of the most recent run

Analytics are updated as runs complete. Individual error messages aren't listed here — see the workflow run's execution log.


Testing a Skill​

From the skill editor, open the Test tab:

  1. Type a message in the input box.
  2. Click Run.
  3. The response streams back immediately — same as a workflow run, but isolated to this skill.

The test runs the skill like an agent node using it: the same agent loop, the built-in and Workspace tools it lists, and the same limits on what its tools reach (knowledge bases, workflows, catalog secrets). Tools are called for real, as you, including ones that change data. A test makes one attempt: a failed model call isn't retried, so tool calls aren't repeated.

Testing needs the right to change the skill. Extra knowledge bases and Reference Skills you add for a test must be ones you can read (HTTP 422 otherwise).

The result panel shows the full resolved configuration used for the test:

SectionAPI fieldWhat it shows
Tool callstool_callsEach tool call the model made, in order: name, arguments, result (first 500 characters), time, and whether it failed
Resolved System Promptresolved_system_promptThe merged system prompt (base + skill + any override)
Resolved Toolsresolved_toolsEvery tool enabled after inheritance
Tools senttools_sentThe tools actually offered to the model. A Workspace tool counts as sent when it loaded
Resolved Knowledge IDsresolved_knowledge_idsKnowledge bases that were searched
Reference Skillsresolved_workspace_skill_idsIDs of every linked workspace skill after inheritance. Inactive ones are listed here but were skipped — only active skills' content is injected
Warningsresolution_warningsProblems resolving the skill, e.g. a base skill that couldn't be found, or a Workspace tool left out

Test runs don't appear in workflow run history and don't count toward trigger quotas. They do count in the skill's Analytics.

Where the test's LLM credentials come from​

The Test panel resolves its LLM provider through the exact same node → space → catalog → global chain used by real workflow runs — it does not use the global tier exclusively. For a skill in a space, that space's provider, then its catalog's, take precedence; the catalog is always the space's, as for a workflow in that space. The skill's own Model / Temperature / Max Tokens fields always apply on top of whichever provider resolves. Its tools read secrets from that catalog only; a personal skill has no catalog, so its tools get no catalog secrets.

"No LLM provider configured"

This means none of the four tiers resolved to a provider — most commonly because the skill has no catalog/space association (so only the global tier is checked) and Admin → Models has no enabled connection. See Troubleshooting "No LLM provider configured" for the full checklist.


API Reference​

EndpointDescription
GET /api/v1/agent-skills/List the skills you can see (paginated; filters status, query on name/description/tags, space_id, catalog_id)
POST /api/v1/agent-skills/Create a new skill (403 without a developer role in the space, or is_global by a non-admin; 409 duplicate name; 422 invalid tools / attachments / temperature / base skill)
GET /api/v1/agent-skills/{id}Get skill details (403 if you can't see it)
PUT /api/v1/agent-skills/{id}Update the skill in place (same validation as create; 403 without the right to change it; 409 for behavior changes while a staged/published workflow uses it)
DELETE /api/v1/agent-skills/{id}Delete skill (409 while it's in use — see Managing Skills)
POST /api/v1/agent-skills/{id}/versionSnapshot the skill into a new version
GET /api/v1/agent-skills/{id}/versionsList every version in the skill's chain, newest first
POST /api/v1/agent-skills/{id}/versions/{version_id}/revertRoll the skill back to that version's content, in place (the replaced content is saved as a new version) — returns the updated skill
GET /api/v1/agent-skills/{id}/analyticsUsage analytics
POST /api/v1/agent-skills/{id}/testTest the skill with a message (needs the right to change it)
GET /api/v1/agent-skills/toolsBuilt-in tool names a skill may enable
GET /api/v1/agent-skills/tools/workspace?space_id=Workspace tools you may add to a skill or node in that space (none: a personal skill), with their functions
GET /api/v1/agent-skills/tools/workspace/{tool_id}/usageSkills using a Workspace tool, and workflows in review or published that would lose it (admin only)
GET /api/v1/agent-skills/tools/apisAPI Builder operations available as agent tools
GET /api/v1/agent-skills/{id}/audit-logCreate/update/delete history (admin only)

Every endpoint needs a signed-in user, and follows who can see and change skills: 403 otherwise. Keep secrets out of system prompts anyway: everyone who can see a skill reads its prompt.


Default Skill​

Every workflow has a default skill — a skill that is automatically created when the workflow is first saved and permanently linked to it.

What it is​

The default skill is a regular Agent Skill whose name follows the pattern:

{Workflow Name} [{first 6 chars of workflow ID}]

For example: Invoice Pipeline [a1b2c3]

It is shown alongside the workflow in the Agent Builder → Skills list and can be edited like any other skill. Its purpose is to act as the "house prompt" for the workflow — the system prompt and tool configuration that makes this workflow unique.

Auto-wire on create​

When you create a workflow that already contains an agent node (for example via the AI Assist panel or an import), the first agent node with no skill configured is automatically wired to the default skill. You do not have to manually select the skill in the node properties panel. Whatever that node already had — its system prompt, tools and knowledge bases — is copied into the default skill, since a node linked to a skill runs the skill's configuration rather than its own.

This happens at creation time only. If you add more agent nodes later, you must wire them manually. Imported and promoted workflows are not auto-wired — they keep the node setup from the source, including nodes left in prompt mode.

Rename sync​

When you rename the workflow (via the editor header or the PUT /api/v1/agent-workflows/{id} API), the default skill's name updates automatically to match:

New Name [wfid6]

This keeps the skill name consistent with the workflow it belongs to, so it is easy to identify in the Skills list and in analytics.

Note

If the rename sync fails (e.g. a transient DB error), the workflow is still renamed — the skill name update is best-effort and non-blocking. Retry a manual skill rename from the skill editor if needed.

Stage gate​

While a node of the workflow uses the default skill, it must have a non-empty system prompt before the workflow can be staged. A default skill that no node uses doesn't block staging. See Stage gate: default skill must have a system prompt for details.

Lifecycle​

EventWhat happens to the default skill
Workflow createdDefault skill auto-created and linked
Workflow renamedDefault skill name updated to match
Workflow deletedDefault skill deleted (cascade)
Skill deleted directlyRefused (HTTP 409) while the workflow exists
Workflow exportedDefault skill embedded in the export bundle, including its Reference Skills
Workflow imported or promotedA new copy of the exported default skill becomes the new workflow's default skill, named {New Workflow Name} [{first 6 chars of its ID}]; the blank auto-created skill is discarded. The copy is never shared with the source workflow, even when importing into the instance the bundle came from

Other embedded skills (those selected in nodes) are reused when a skill with the same name and content already exists on the target instance, you can read it, and it is global or in the target space. Otherwise they are created in the target space (or as your personal skills, without one), so the space's members can open them like the workflow. Knowledge-base IDs aren't carried over (rewire them after import); Reference Skill IDs are kept — ones that exist must be readable by you — and any that don't exist on the target instance are skipped at run time. Workspace tools are listed in the bundle but their code isn't: see Workspace tools.


Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.