amp-cli
/amp-cli
Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work.
- Author
- paulinevos ↗
- Repository
- claude-stuff ↗
- Licence
- MIT
- Last repository change
- 13.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 4
No signals detected. Repository changed on 13.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work.
Original author description
Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work.
How it works
- Check availability
- Prepare context
- Launch and follow up
- Manage Amp
SKILL.md preview
--- name: amp-cli description: Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work. --- # Amp CLI When asked to start an orb, start a thread on Amp, or hand work to Amp, actually launch it through the CLI and return its URL. Writing this skill does not itself authorize launching an Amp task. ## Check availability Run `command -v amp`, `amp version`, and `amp --help`. If PATH misses it, check `~/.local/bin/amp` and `~/.amp/bin/amp`. Read relevant subcommand help for unfamiliar operations: Amp changes quickly. If missing, report it. When installation is requested, download and inspect `https://ampcode.com/install.sh`, run the official installer with required permissions, and verify help/version. Existing shells may need the absolute executable path after the installer updates PATH. Check `amp account list`. An existing `AMP_API_KEY` can authenticate too; check presence without revealing its value. If needed, use `amp login` when authorized and leave browser sign-in to the user. Successful help output does not establish authentication. ## Prepare context Write a self-contained summary to a temporary UTF-8 file using a file-writing tool. Include the outcome and acceptance criteria, repository/project and branch or commit, relevant files and links, decisions and constraints, findings, completed work, next steps, reproduction/tests and known failures, and the scope of authorized actions. Distinguish facts from hypotheses. Omit unrelated history and credentials. Feed this file through stdin rather than interpolating conversation text into a shell command. Run in the relevant checkout. For repository work, check `amp projects status --json` or select a known project explicitly; resolve a missing project before launching. No-project orbs are appropriate for tasks needing no repository. Orbs cannot assume access to local paths, uncommitted changes, or unpublished commits. Supply necessary diffs/files through prompt context or `--attach` and explain their use. Do not push merely to facilitate a handoff without authorization. ## Launch and follow up For an orb or a generic remote handoff to a thread on Amp, use: ```sh amp -ox --title 'Investigate the failing build' --project owner/repo < /tmp/amp-handoff.txt ``` Replace examples with actual values. `-ox` submits the prompt and returns a thread URL while work continues remotely. Report launched work, not completed work. Preserve requested mode, visibility, and orb size; otherwise use defaults. Do not silently change a requested executor. For explicitly local work: ```sh amp -x --executor local --no-archive-after-execute --stream-json < /tmp/amp-handoff.txt ``` This waits for the turn. Extract the thread ID from structured output according to the installed version's schema. For a specified runner, use `--executor runner:<id>` and optionally `--runner-dir <absolute-path>`. Follow up on a known remote thread without creating another: ```sh amp threads continue T-actual-id -ox < /tmp/amp-followup.txt ``` Use `-x` for existing local work. `amp threads new` creates an empty thread: use only when an empty thread is requested. Interactive `amp --executor orb` waits for the first prompt and is unsuitable for an unattended launch. If submission is uncertain, inspect recent threads before retrying. Add `--no-archive-after-execute` when streaming an orb turn that should stay active. ## Manage Amp Check each command's `--help` for exact arguments. | Need | Commands | | --- | --- | | Find work | `amp threads list`, `amp threads search`, `amp top` | | Read results | `amp threads markdown <id>`, `amp threads export <id>` | | Costs/context | `amp usage`, `amp threads usage <id>`, `amp threads context <id>` | | Projects | `amp projects status --json`, `amp projects list`, `amp projects get` | | Organization | `amp threads rename`, `amp threads label`, `amp threads archive` | | Integrations | `amp tools list`, `amp plugins list`, `amp skill list`, `amp mcp doctor` | Sharing, deletion, account switching, and changing projects/integrations need corresponding user intent. Orb service commands manage processes inside an orb; do not assume they target a remote orb from a local checkout. Verify synchronization support in installed help before applying remote changes locally. For cap alerts, use the sibling [amp-usage-watch skill](../amp-usage-watch/SKILL.md). Consult the official [CLI](https://ampcode.com/docs/cli), [orb](https://ampcode.com/docs/cli/spawning-orbs), and [thread](https://ampcode.com/docs/threads) docs when help is insufficient.
Files in this package (2)
- SKILL.md 5 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named amp-cli.
Database snapshot: 13.11.2026 · package version c1c4bf8769eb (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 91amp-usage-watch
Monitor Amp credits or allowance and notify when running low, or watch an Amp thread ID or URL against a user-provided USD spending cap. Use when asked to watch Amp usage, set a thread cap alert, inspect a monitor, or stop monitoring. - 95creating-agent-skills
Use when creating Agent Skills packages (SKILL.md format) for Codex CLI, GitHub Copilot, or Amp - provides the agentskills.io specification with frontmatter constraints, directory structure, and validation rules - 100laravel-orb-setup
Makes a Laravel repository ready for Amp orbs — PHP, Composer, global Composer tools (Laravel installer, Laravel Cloud CLI), databases, Mailpit, Vite hot reload and Reverb behind the portal, .agents/setup and resume, .amp/services.yaml with an HTTPS portal, and Laravel Boost… - 100creating-agent-skills
Use when creating Agent Skills packages (SKILL.md format) for Codex CLI, GitHub Copilot, or Amp - provides the agentskills.io specification with frontmatter constraints, directory structure, and validation rules - 100deploy-to-amp
Getting a CrewAI crew or flow onto CrewAI AMP: the project shape the build expects (uv.lock, [tool.crewai] type, src/<pkg>/ entry points, a real Flow subclass, absolute imports, a self-contained root), `crewai deploy validate`, the three deploy paths (CLI create/push, GitHub,… - 100dash0-configure
Set up or finish setting up the Dash0 → Amp telemetry integration by writing ~/.amp/dash0-agent-plugin.local.md (or the project-local equivalent). Use when the user wants to configure Dash0, enable telemetry, paste credentials, fix a plugin that emits nothing, or find that spans…