Use it from your coding agent
Your coding agent deploys with the same canyon CLI you use. You set it up once, then ask for a
deploy in your own words. canyon skill install gives the agent Canyon’s instructions: when to
deploy, how to read a review, and how to fix what blocks it. Where it puts them depends on the agent:
| Your agent | Run | It writes | Your org’s rules reach it |
|---|---|---|---|
| Claude Code (this page) | canyon skill install |
~/.claude/skills/canyon/SKILL.md and a hook in ~/.claude/settings.json, for every project on your machine |
At the start of every session |
| Cursor | canyon skill install, in the project |
.cursor/rules/canyon.mdc and a hook in .cursor/hooks.json |
At the start of every chat |
| Codex | canyon skill install |
~/.agents/skills/canyon/SKILL.md and a hook in ~/.codex/hooks.json, for every project on your machine |
At the start of every session, once you trust the hook in Codex |
| GitHub Copilot, Aider, Gemini CLI and others | canyon skill install --harness agents-md, in the project |
AGENTS.md |
The agent runs canyon manifest before it builds |
The instructions are the same text everywhere; only the file and how it gets read change.
The rest of this page sets up Claude Code. Everything below was run against the laptop demo, on a machine where Claude Code had never been set up.
Set it up
Section titled “Set it up”-
Install the CLI and sign it in, as Try it on your laptop shows, or, on your company’s Canyon, as Deploy on your company’s Canyon does.
-
Start Claude Code once.
canyon skill installwrites into Claude Code’s own directory,~/.claude, and refuses until it exists:Looking for coding agents in this environment…✗ No coding agent found: neither ~/.claude, ~/.codex nor ./.cursor exists here. Start Claude Code once, then run this again.· Codex, Cursor, GitHub Copilot's agent, and other agents that read AGENTS.md:canyon skill install --harness agents-md appends to ./AGENTS.mdcanyon skill install --harness codex Codex's own skill and hook, once Codex has made ~/.codex -
Install the skill:
Terminal window canyon skill installLooking for coding agents in this environment…✓ Claude Code ~/.claude/skills/canyon/SKILL.md written· Canyon's session hook, in ~/.claude/settings.json under hooks.SessionStart:{"matcher":"startup|resume|clear|compact","hooks":[{"type":"command","command":"/Users/you/.local/bin/canyon","args":["manifest","--harness","claude-code"]}]}It runs this canyon by its path: if you move it, run canyon skill install again from the new place.✓ Claude Code ~/.claude/settings.json written· Codex, Cursor, GitHub Copilot's agent, and other agents that read AGENTS.md:canyon skill install --harness agents-md appends to ./AGENTS.mdcanyon skill install --harness codex Codex's own skill and hook, once Codex has made ~/.codexYour agent can now deploy. Try asking it:"deploy this app"Where Codex is set up too it sets up Codex, and in a project with a
.cursordirectory, Cursor.--harness agents-mdappends the same instructions to the project’sAGENTS.md, for other agents that read one.
What it writes
Section titled “What it writes”~/.claude/skills/canyon/SKILL.md: when to use Canyon (deploy, ship, share a link, fix a blocked review) and how to read whatcanyon deployprints.- A
SessionStarthook in~/.claude/settings.json, global to every Claude Code session on your machine. At each start it runscanyon manifest --harness claude-code, which hands the agent your org’s current rules from the Canyon you signed in to, and how to pass each one that blocks. It runs the CLI by its full path, shown in the output above.
Running canyon skill install again reports both files unchanged, or rewrites them for a newer
CLI. To undo it, run canyon skill uninstall: it removes the skill and Canyon’s entry in
~/.claude/settings.json, leaving the rest of that file as it was. It also removes what it wrote for
Codex, and for Cursor in the project you run it from; --harness claude-code limits it to Claude
Code.
Ask it to deploy
Section titled “Ask it to deploy”In an empty directory, this one message:
Make me a tiny web page for my team that just says hello, and deploy it with Canyon so I can share the link.Claude Code loaded the skill, wrote index.html, canyon.toml and project.toml, and ran
canyon deploy. It took 69 seconds and 8 turns. Its answer:
Your hello page is live. Share this link with your team:
**http://funny-walrus-6sf.preview.localhost:7777**
Anyone who can reach this Canyon host can open it, since sign-in is off for previews.
**What I built**, in the app directory:- `index.html` with a single centered "Hello, team 👋" heading.- `canyon.toml` describing the app. Canyon added its own app id on the first deploy.- `project.toml` telling Canyon to serve the folder as a plain static site.
**Review result**: Canyon's review passed with no findings. The host noted it skipped the AI review step because no model is configured on this Canyon instance. The app page in Canyon is at http://localhost:7777/#/apps/funny-walrus-6sf.
If you want it in production later, say so and I'll promote it.When the CLI isn’t talking to a terminal, canyon deploy prints its result for the agent. Here is
what the agent read:
CANYON REVIEW — RESULT: PASSED
app: funny-walrus-6sfenv: previewaccess: anyone who can reach this Canyon (sign-in is off)wrote: canyon.toml (app funny-walrus-6sf, named "app" after this folder)host: http://localhost:7777gate run: gr_dc7930bdbed16838 (2026-10-11T05:48:14Z)findings: 0 · blocking: 0live url: http://funny-walrus-6sf.preview.localhost:7777answered: 200 OK at /fleet url: http://localhost:7777/#/apps/funny-walrus-6sf
review coverage: ai review · skipped (no model configured on this Canyon host)These are the host's notes on its own review. Mention them to the user.
NEXT STEPS:1. Report the live url to the user and say who can open it (the access line). Do not share it unless the user asks.2. To put this in production later: canyon deploy --env prod
CANYON REVIEW — RESULT: PASSEDlive url: http://funny-walrus-6sf.preview.localhost:7777access: anyone who can reach this Canyon (sign-in is off)
exit code: 0When the review blocks, the same block names each finding’s file, line and fix, and the agent fixes the code and deploys again. Fix it or approve it shows that loop, and Production what happens when you ask the agent to put the app in production.
Next: Deploy on your company’s Canyon: what changes when the Canyon isn’t the demo on your laptop.