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

# Add skills to Managed Deep Agents

> Add reusable task-specific instructions to a Managed Deep Agent.

Skills package task-specific procedures and context into reusable directories. You can define them in markdown files, and they are picked up automatically by the agent.

<Note>
  Managed Deep Agents is in **public [beta](/langsmith/release-stages)** and available on [LangSmith Cloud](/langsmith/cloud) in the US region only.
</Note>

## Project structure

Keep the agent entry point at the project root and define each skill under `skills/`:

```text theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
my-agent/
  agent.ts
  skills/
    research/
      SKILL.md
```

## Add a skill

Each skill directory needs a `SKILL.md` file with `name` and `description` frontmatter:

```markdown skills/research/SKILL.md theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
---
name: research
description: Gather and synthesize context before answering complex questions.
---

# Research

Use this skill when a task needs more than a direct answer.

1. Identify what information is missing.
2. Use `query_db` to look up relevant records.
3. Summarize findings before responding to the user.
```

A skill directory can also contain supporting scripts, reference files, and templates. Reference these files from `SKILL.md` so the agent knows when to use them.

## How the agent uses skills

At startup, the agent sees each skill's `name` and `description`. When a task matches a skill's description, the agent reads the full `SKILL.md` and follows its instructions. Supporting files are loaded only when needed.

This progressive disclosure gives the agent access to detailed procedures without adding every skill's full contents to its context.

## Syncing to Context Hub

When you run `mda deploy`, every UTF-8 file under `skills/` is automatically synced to the agent's [Context Hub](/langsmith/use-the-context-hub) repo. You can then edit skills in the LangSmith UI and make the changes available to the agent.

A later deployment syncs the project copies again and removes deployed skill files that no longer exist locally.

## How skills compare to other concepts

Skills is context that is loaded dynamically, when the agent chooses to. The agent cannot modify them.

Use [instructions](/langsmith/javascript/managed-deep-agents-instructions) for behavior that should ALWAYS be loaded by the agent.

Use [memory](/langsmith/javascript/managed-deep-agents-memory) for knowledge you want the agent to be able to update.

For skill authoring patterns and the complete format, see [Skills](/oss/javascript/deepagents/skills).

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/managed-deep-agents-skills.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
