stella/stella/stella-cli
Claude Code and agent skill by stella/stella
- community
Checking that the SKILL.md file is still in the repository.
Drive the stella command-line client (@stll/cli), a legal-workspace CLI whose command surface is generated from the stella MCP tool registry. Covers install, OAuth login, the full command tree grouped by domain, JSON output for scripting, the --input escape hatch for deep payloads, cursor pagination, destructive-op confirmation, and exit codes.
Install
npx vskill@latest install stella/stella/stella-cliSKILL.md
stella CLI
@stll/cli is the command-line client for stella, an open-source legal workspace. Curated tools use stella <domain> <action>; generated capability commands use stella capability <domain> <action>. Both surfaces are generated from the stella MCP tool registry, so they mirror exactly the tools a stella server exposes. Every command works for humans, scripts, and agents alike.
Install
Authenticate
Login runs an OAuth 2.1 authorization-code flow with PKCE against the stella server, using a loopback listener (http://127.0.0.1/callback, ephemeral port) to capture the code. Credentials are stored per server origin, so one machine can hold sessions for several servers at once. The first login needs --server <url> (or STELLA_SERVER_URL); it then becomes the default, and every command accepts --server <url> to target another one. A default login requests the working set of scopes (everything but organization administration writes and one-off setup); pass --scopes to request an explicit set. The default scopes are openid profile email offline_access stella:read stella:search stella:templates stella:documents_write stella:matters_write stella:contacts_write stella:chat stella:knowledge_write stella:billing_write stella:admin_read stella:skills stella:feedback stella:organization_create. stella auth whoami shows the active session; stella auth logout clears it.
Conventions every agent must know
- Output format: table is the default only on a TTY; piped/non-TTY output
defaults to JSON. Force it with --output json|table (or --json / --table). Always pass --output json when scripting or parsing.
- Deep payloads: any command accepts
--input '<json>'for the whole tool
argument object, --input @file to read JSON from a file, or --input - to read JSON from stdin. Individual string flags also take gh-style @file / @- sugar (use @@ to pass a literal leading @).
- Reading a command's contract:
--schemaprints that command's input JSON
schema (the same schema the MCP tool validates against) and exits 0, without calling the server.
- Sending a local document: a command whose tool takes a document also takes
--file <path>; the CLI reads the file and sends it in the tool's own base64 field, the call an MCP host would make with the file attached. --help states the size ceiling, which is the one that field's schema declares. A larger file is refused: send it from a host that can attach it to the tool's file reference, never by re-exporting the document to fit.
- Array flags are repeatable: pass the flag once per value.
- Pagination: list commands take
--cursor <c>and--limit <n>;--all
follows cursors up to bounded ceilings. The nextCursor resume hint is written to stderr (more: --cursor <c>) so piped JSON on stdout stays clean.
- Destructive commands (delete/remove) prompt for confirmation on a TTY and
require --yes when there is no TTY to confirm on. The CLI owns the server's confirm gate: it injects confirm: true only after you confirm (or pass --yes), so there is no separate --confirm flag to pass.
- Errors print
error: <message>(andhint: <next step>when the server
supplies one) to stderr as plain text, never to stdout, so a scripted stdout stays clean even with --output json. Every tool error carries a stable machine code that maps to the process exit code (see below): branch on the exit code, and read the error:/hint: lines for the human-readable message.
- Finding and reading text:
stella search matters --query '<q>'returns
matching documents with their entity ids, and stella document content --entity-id <id> prints one document's text (windowed, so follow --cursor).
- MCP resources:
stella reference listenumerates static server resources;
stella reference show <name> prints one.
- Uploading a file:
stella upload --file <file> --matter-id <matter-id>uploads a local file as a new document; add--entity-id <id>to upload it as a new version of an existing document instead — a CLI-native path (the CLI reads the file itself), separate from the MCPupload_document_version/open_document_version_uploadtools (which take a host-supplied file reference and are excluded from the CLI).
Command tree
Generated from the MCP tool registry; Access is the OAuth scope the command requires (request it at stella auth login --scopes).
| Domain | Command | Access | Notes | |
|---|---|---|---|---|
| annotation | stella annotation create | knowledge_write | ||
| annotation | stella annotation delete | knowledge_write | destructive (needs --yes off a TTY) | |
| annotation | stella annotation list | read | paginated | |
| annotation | stella annotation update | knowledge_write | destructive (needs --yes off a TTY) | |
| audit-log | stella audit-log list | admin_read | paginated | |
| capability | stella capability describe | read | ||
| capability | stella capability list | read | paginated | |
| capability | stella capability read | read | ||
| capability | stella capability write | read | ||
| case-law | stella case-law citations | read | paginated | |
| case-law | stella case-law coverage | read | ||
| case-law | stella case-law open | read | ||
| case-law | stella case-law read | read | ||
| case-law | stella case-law resolve | law_read | ||
| case-law | stella case-law search | search | paginated | |
| clause | stella clause delete | knowledge_write | destructive (needs --yes off a TTY) | |
| clause | stella clause list | read | paginated | |
| clause | stella clause save | knowledge_write | destructive (needs --yes off a TTY) | |
| contact | stella contact check-counterparty | read | ||
| contact | stella contact delete | matters_write | destructive (needs --yes off a TTY) | |
| contact | stella contact list | read | paginated | |
| contact | stella contact lookup-registry | read | ||
| contact | stella contact read | read | ||
| contact | stella contact save | matters_write | destructive (needs --yes off a TTY) | |
| document | stella document compare | documents_write | ||
| document | stella document comparison prepare | documents_write | ||
| document | stella document comparison prepare-from-links | documents_write | ||
| document | stella document content | read | paginated; windowed text | |
| document | stella document delete | documents_write | destructive (needs --yes off a TTY) | |
| document | stella document field set | documents_write | destructive (needs --yes off a TTY) | |
| document | stella document list | read | paginated | |
| document | stella document properties list | read | paginated | |
| document | stella document read | read | ||
| document | stella document save | documents_write | destructive (needs --yes off a TTY) | |
| feedback | stella feedback prepare | feedback | ||
| feedback | stella feedback submit | feedback | ||
| invoice | stella invoice list | read | paginated | |
| legislation | stella legislation boe-search | read | paginated | |
| legislation | stella legislation history | read | paginated | |
| legislation | stella legislation provisions | read | ||
| legislation | stella legislation read | read | paginated; windowed text | |
| legislation | stella legislation resolve | law_read | ||
| legislation | stella legislation search | search | paginated | |
| matter | stella matter add-member | admin_write | ||
| matter | stella matter delete | matters_write | destructive (needs --yes off a TTY) | |
| matter | stella matter link-contact | matters_write | destructive (needs --yes off a TTY) | |
| matter | stella matter list | read | paginated | |
| matter | stella matter remove-member | admin_write | destructive (needs --yes off a TTY) | |
| matter | stella matter save | matters_write | destructive (needs --yes off a TTY) | |
| organization | stella organization create | organization_create | ||
| organization | stella organization set-jurisdictions | onboarding | destructive (needs --yes off a TTY) | |
| organization | stella organization update-settings | admin_write | ||
| playbook | stella playbook list | read | paginated | |
| playbook | stella playbook run | knowledge_write | destructive (needs --yes off a TTY) | |
| playbook | stella playbook save | knowledge_write | destructive (needs --yes off a TTY) | |
| rate | stella rate resolve | read | ||
| search | stella search matters | search | paginated | |
| task | stella task delete | matters_write | destructive (needs --yes off a TTY) | |
| task | stella task list | read | paginated | |
| task | stella task save | matters_write | destructive (needs --yes off a TTY) | |
| template | stella template configure-fields | templates | destructive (needs --yes off a TTY) | |
| template | stella template create | templates | destructive (needs --yes off a TTY) | |
| template | stella template fill | templates | ||
| template | stella template list | templates | paginated | |
| template | stella template preview-conditions | templates | ||
| template | stella template save-filled new-document | documents_write + templates | destructive (needs --yes off a TTY) | |
| template | stella template save-filled new-version | documents_write + templates | destructive (needs --yes off a TTY) | |
| time-entry | stella time-entry delete | billing_write | destructive (needs --yes off a TTY) | |
| time-entry | stella time-entry list | read | paginated | |
| time-entry | stella time-entry save | billing_write | destructive (needs --yes off a TTY) | |
| usage | stella usage get | read |
Command flags
Required: --flag — description (type). Optional: one optional: --a, --b (enum1|enum2) line, names only (--help has full descriptions). Global flags (output/cursor/limit/all/yes/input; see Conventions above) are omitted here. Input union keys are required unless marked ?.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/cli/skills/stella-cli/SKILL.md
Popularity
- Repository stars
- 234
- Repository forks
- 48
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/stella/stella/stella-cli)