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

# Skills

> What the stellar skill subcommand gives your agent, what it leaves out, and an optional skill for broader Stellar development.

The Stellar CLI ships with a built-in `skill` subcommand. Running `stellar skill` prints a short Markdown guide that tells an AI agent how to drive the CLI, so there is nothing separate to install. [Quickstart](https://developers.stellar.org/docs/tools/cli/agent-cli/quickstart.md) has your agent run it at the start of a session.

## Ask your agent

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
Run `stellar skill` and follow its conventions for every stellar command in this session.
```

## `stellar skill`

The guide covers `network`, `keys`, `contract`, `container`, and `env`. It tells the agent to set defaults with `network use` and `keys use`, keep contract IDs in aliases, use `--send=no` for reads, and account for storage TTLs. It does not cover `stellar token`, `tx new`, message signing, `--build-only`, allowances, or mainnet. Point your agent at the guides in these docs for those.

The guide is static text compiled into the binary ([source](https://github.com/stellar/stellar-cli/blob/main/cmd/soroban-cli/src/commands/skill/SKILL.md)), so it does not track flag changes or your local config. Where it differs from these docs on the CLI's own conventions, follow the guide. For example, it prefers `--id` over the canonical `--contract-id` because `--id` also works on older releases.

## Project context: `AGENTS.md`

`stellar skill` describes the CLI. A project made with `stellar contract init` also gets an `AGENTS.md` file that describes that project. [Build and deploy a contract](https://developers.stellar.org/docs/tools/cli/agent-cli/guides/build-and-deploy-contracts.md#the-generated-agentsmd) covers what it contains, how agents read it, and how to customize it.

## Optional: Stellar development skill

[stellar/stellar-dev-skill](https://github.com/stellar/stellar-dev-skill) covers Stellar development beyond the CLI: Soroban contracts, client SDKs, Stellar RPC, assets, wallets, testing, and security. Nothing in these docs needs it. Add it if your agent also writes contracts or application code.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Claude Code
/plugin marketplace add stellar/stellar-dev-skill
/plugin install stellar-dev@stellar-dev

# Codex, OpenCode, and other Agent Skills agents
npx skills add https://github.com/stellar/stellar-dev-skill
```

To install by hand, see the repository README.
