# parse_skill_command

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/command_registry/parse_skill_command)

Extract skill name and args from a `/skill:<name>` command.

## Signature

```python
parse_skill_command(
    command: str,
) -> tuple[str, str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `command` | `str` | Yes | The full command string (e.g., `/skill:web-research find X`). |

## Returns

`tuple[str, str]`

Tuple of `(skill_name, args)`.

The skill name is normalized to lowercase. Both are empty strings
when the command has no skill name after the prefix.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4869645403fe9ce57df6067417fdefc6bf509fe0/libs/cli/deepagents_cli/command_registry.py#L240)