Skip to content
Back to skills

Use Orion Cli

ASecurity

Operate Durango Code source control and Durango Cloud with the Durango Code CLI (`durango-code`; `orion-cli`, `durango-source`, and `ds` are aliases of the same CLI). Use for Durango Code repositories, Build apps worked on locally, pull requests, deployments, services, environments, previews, variables, domains, buckets, logs, GitHub mirroring, or when a user explicitly asks for a plan to publish and share as a link.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgorailsgit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add Complexia/durango-code --skill use-orion-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Orion Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Use Orion Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/complexia-use-orion-cli/badge)](https://www.skillsdirectory.com/skills/complexia-use-orion-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: use-orion-cli
description: Operate Durango Code source control and Durango Cloud with the Durango Code CLI (`durango-code`; `orion-cli`, `durango-source`, and `ds` are aliases of the same CLI). Use for Durango Code repositories, Build apps worked on locally, pull requests, deployments, services, environments, previews, variables, domains, buckets, logs, GitHub mirroring, or when a user explicitly asks for a plan to publish and share as a link.
---

# Durango Code CLI

Use `durango-code` from the relevant project directory. `orion-cli`, `orion-cloud`, `durango-source`, and `ds` are aliases of the same CLI and accept identical arguments; prefer `durango-code` in new commands. Prefer `--json`, parse the single JSON object on stdout, and treat a nonzero exit as failure. Run `durango-code help` or `<command> --help` when a command contract is unclear. Read [references/commands.md](references/commands.md) for the full command reference.

## Guardrails

- Authenticate with `durango-code login` or `DURANGO_CODE_TOKEN` (legacy `ORION_TOKEN` is still read). Never print, persist in a remote URL, or pass a token in a command argument other than `login --token`.
- Inspect before changing state with `whoami`, `status`, `list`, `repo list`, `resources list`, or `pr view`.
- Resolve exact app, repository, environment, service, and domain targets before a mutation. Use `--yes` only for an intended destructive command.
- Deploy through Durango Cloud / Durango Source. Do not substitute direct Railway, Vercel, or provider-dashboard deployments unless the user explicitly asks.
- Commit app changes before deployment. Durango Cloud deploys `HEAD`, not uncommitted work. Verify the terminal deploy state and smoke-test the returned URL.

## Durango workspaces & Build apps

Durango Code bundles this CLI and adds `durango-code` (and `ds`) to your `PATH`; do not install it. In repositories with a `durango.toml`, follow the `durango-workspaces` skill: create a workspace with `durango-code ws new` when you start changing code (not for questions or reading), work and finish with `durango-code change create` (respecting the repository's `[approval].auto_land` setting — don't pass `--no-auto-land` unless the user asks to keep changes open), and manually land held-open changes or promote manual production targets (`deploys promote` / `deploys hotfix`) only when the user asks (never run `land --all` without confirming every open change from other sessions). If your prompt has a `[Durango workspace]` block or cwd is under `~/.durango/ws/`, that workspace is already yours.

Durango Build apps (`durango-code build list --json`, `durango-code build clone <project>`) work this way too. Their `main` only moves by landing a change, and landing publishes the app: don't `git push` to `main` (refused) or run `durango-code deploy` there. `durango-code build status --json` shows the live app and its last deploy; `durango-code build db query` / `build files` inspect live data and files.

## Publish a requested plan

Publish a plan only when the user explicitly asks for a shareable plan. Do not upload routine internal planning or status notes.

1. Write a self-contained HTML plan with no credentials, secrets, or private data (anyone with the link can view it).
2. Run `durango-code plan upload <plan.html> --json`.
3. Confirm `ok: true` and include its exact `url` in your reply.
4. To update an existing plan link, run `durango-code plan update <link-or-id> <plan.html> --json` rather than creating a second link.

## Deploy and verify (non-Source Durango Cloud apps)

```sh
durango-code deploy --json
durango-code status --json
```

`deploy` leaves the vault unchanged unless `--env-sync` (or `--env-file`) is passed; never sync local env files to production (`--no-env-sync`). Treat deployment as successful only when the response reports `ok: true` and `status: "deployed"`.

## Resolve and merge a pull request

```sh
durango-code pr view <number> --json
durango-code pr checkout <number>
durango-code pr update-branch <number>
# Resolve conflicts, test, and commit if a merge remains in progress.
durango-code pr push <number> --json
durango-code pr view <number> --json
durango-code pr merge <number> --merge --json
```

Files in this skill

  • SKILL.md4 KB
  • references/commands.md4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.