> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dubot.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and publish a capability

> Compose reusable context and Skill actions for an active agent

<Info>
  A capability is a reusable bundle of context. Attach it to a wizard or the Resource Center
  Agent to compose an experience from shared behavior.
</Info>

## Create the capability

Set a name, then choose one type. Dubot derives the immutable slug when you create the capability.

| Type           | Use it for                                            |
| -------------- | ----------------------------------------------------- |
| Security       | Security guidance                                     |
| Brand voice    | Voice and communication guidance                      |
| Product domain | Product knowledge and, when needed, a knowledge scope |
| Skill          | Reusable guidance plus actions                        |

<Frame caption="Select the capability type first. The type determines whether the capability can carry actions.">
  <img src="https://mintcdn.com/dubot/g8qfTI_1l8Lbh02C/assets/product/capability-configuration.png?fit=max&auto=format&n=g8qfTI_1l8Lbh02C&q=85&s=67e0fdbfaf9334f51288ba07c15d0757" alt="A Skill capability selected with its name, model-facing description, and priority" width="1440" height="900" data-path="assets/product/capability-configuration.png" />
</Frame>

Add the agent prompt, model-facing description, and priority. Choose delivery for the capability:

| Delivery  | Meaning                                                             |
| --------- | ------------------------------------------------------------------- |
| Always    | Include it in agent context by default                              |
| On-demand | Let the model load it when relevant                                 |
| Optional  | Let the agent attachment choose embedded or load-on-demand delivery |

## Add knowledge or actions

Product domain capabilities may define a knowledge scope to limit the product knowledge available
to that capability. Only Skill capabilities can include Session API actions and client-side callbacks.
An action's catalog presence or published state alone does not make it available to a wizard or the
Resource Center Agent.

Before publishing a Skill, review every included action in the dependency list. Hold back any
draft or unsafe dependency rather than publishing it accidentally with the capability.

<Frame caption="Publishing a Skill shows its included actions so dependencies can be reviewed together.">
  <img src="https://mintcdn.com/dubot/g8qfTI_1l8Lbh02C/assets/product/capability-publish-dependencies.png?fit=max&auto=format&n=g8qfTI_1l8Lbh02C&q=85&s=cf006e4dad4f6e3fa671dc8780a0672c" alt="The capability publish review listing the Skill and each included action dependency" width="1440" height="900" data-path="assets/product/capability-publish-dependencies.png" />
</Frame>

## Publish and attach

<Steps>
  <Step title="Save the capability">Review its type, delivery, prompt, description, priority, and included content.</Step>
  <Step title="Publish the capability">Publish the version that should be eligible for runtime use.</Step>
  <Step title="Attach it to an agent">Select the published capability on a wizard or the Resource Center Agent.</Step>
  <Step title="Publish the experience">Publish the Wizard, or publish the Resource Center that contains its reserved Agent configuration.</Step>
</Steps>

For an optional capability, the attachment can decide whether to embed it or make it load-on-demand.
For Always and On-demand capabilities, the attachment does not override the capability's own
delivery mode.

<Warning>
  Draft or unpublished capability versions and unpublished included actions are omitted from the
  Production runtime. A Skill must be published and attached to the active agent for its actions
  to be offered.
</Warning>

## Expected result

The active Wizard or Resource Center Agent receives the intended reusable instructions, knowledge,
and published actions without gaining unrelated access. Activity from an included action can be
traced back to the capability that carried it.

Next, attach the capability while [building a Wizard](/guides/build-and-publish-wizard) or
[configuring the Resource Center](/guides/configure-resource-center). See
[Capabilities and actions](/product/capabilities-actions) for the composition model and
[Recover or roll back configuration](/operate/recovery) for dependency repair.
