﻿---
title: stack kb agent-builder put-agent-builder-skills-skillid cli command
description: Update a skill Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/474/cli/stack/kb/agent-builder/put-agent-builder-skills-skillid
---

# stack kb agent-builder put-agent-builder-skills-skillid cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb agent-builder put-agent-builder-skills-skillid \
  --skill-id <skill-id> \
  [options]
```

Update a skill
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--skill-id string required">
    The unique identifier of the skill.
  </definition>
  <definition term="--content string">
    Updated skill instructions content.
  </definition>
  <definition term="--description string">
    Updated description.
  </definition>
  <definition term="--name string">
    Updated name for the skill.
  </definition>
  <definition term="--referenced-content string[]">
  </definition>
  <definition term="--tool-ids string[]">
    Updated tool IDs from the tool registry.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--[no-]json">
    output as JSON
  </definition>
</definitions>