Draft
Conversation
Co-authored-by: janewang <734336+janewang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add SKILL.md for the CLI for agents
Add SKILL.md for Stellar CLI agents
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
SKILL.md— a structured reference document enabling AI agents to install and use the Stellar CLI effectively.Why
Agents need a concise, scannable reference to bootstrap CLI usage without relying on scattered docs. Based on content iterated with Claude by @janewang, following the agent skills pattern from stellar-wallets-skill.
The file covers:
--sign-with-*, fee flagscontract initto binding generationKnown limitations
N/A
Original prompt
This section details on the original issue you should resolve
<issue_title>Add a
SKILL.mdfor the CLI for agents</issue_title><issue_description>
What problem does your feature solve?
Help agents to learn how to use the CLI
What would you like to see?
A markdown file to help agents install the cli in their env, and to use the CLI
This is a good video series to learn about skills: https://anthropic.skilljar.com/introduction-to-agent-skills
Start with Tomer's markdown used with openclaw: tomerweller/stellar-wallets-skill@c5090b6
</issue_description>
Comments on the Issue (you are @copilot in this section)
@janewang Iterated on the following with ClaudeWith dependency setup (installs Rust toolchain, wasm32 target, Linux dev libs):
curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh -s -- --install-depsHomebrew (macOS, Linux)
winget (Windows)
Cargo from Source
Requires Rust and a C build system (
build-essentialon Debian/Ubuntu).Without optional native library features:
Nix
GitHub Actions
Version Manager
SVM (Stellar Version Manager) — install and switch between different stellar-cli versions.
Shell Autocomplete
Top-Level Subcommands
contract— Build, deploy, invoke, extend, restore, and inspect smart contractskeys— Create and manage identities (key pairs, aliases)network— Configure connections to networks (testnet, mainnet, local)container— Start local networks in Docker containers (quickstart)tx— Build, sign, simulate, and send arbitrary transactions (up to 100 ops)events— Watch the network for contract eventsxdr— Decode and encode XDRstrkey— Decode and encode strkeysnapshot— Download a ledger snapshot from an archivecache— Manage transaction and contract spec cacheledger— Fetch ledger informationmessage— Sign and verify arbitrary messages (SEP-53)fees— Fetch network fee stats and configure CLI fee settingscompletion— Generate shell completions (bash, zsh, fish, powershell, elvish)plugin— Manage CLI pluginsdoctor— Diagnose and troubleshoot CLI and network issuesconfig— Manage CLI configurationenv— Print environment variablesGlobal Options
--config-dir <DIR>— Config directory (default:$XDG_CONFIG_HOME/stellaror~/.config/stellar)-f, --filter-logs <FILTER>— Filter log output (or useRUST_LOGenv var)-q, --quiet— Suppress logs including INFO-v, --verbose— Log DEBUG events--very-verbose/--vv— Log DEBUG and TRACE events--no-cache— Don't cache simulations/transactionsCommon Patterns
Identity / Key Management
Network Configuration
Contract Build