翻篇收录说明
翻篇网页快照

CLI - Docs | Ora

https://ora.ai/docs/cli

最近抓取:2026-12-03 16:30:43(北京时间)

最近内容变化:2026-12-03 16:30:43(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Use ax journey for public tasks, ax run for workspace evaluations, and ax run set create to compare goals or agents. Audit a site, gate CI, and fix what fails.

正文摘录

Search...⌘KDocs menuCLIThe ax CLI scores sites, runs public journeys, and starts evaluations in your workspace from a terminal or CI. The examples use npx to fetch ax.ax journeyRun a public task on a site. Choose a curated task or supply your own with a partner key.ax runStart one workspace evaluation with your own goal and follow the agent's steps.ax run set createPreview a set of evaluations across goals, agents, and levels of help.ax auditScore a site's agent readiness and list every failing check with its fix; gate CI on the score.ax skillList, print or install ora's agent skills, digest checked against ora's registry.ax generate-filesDraft the files agents look for on a site, filled in from ora's last scan.ax webmcp-auditAudit the WebMCP tools a page registers, in a real browser, localhost included.ax loginConnect ax to your workspace. Use ax whoami to check the active account.ax learnPrint the workflow, from the first audit to a journey, from ora's own skill.Send a real agent through your siteax journey sends a real agent at a live site and shows its path: every page it opened, what it reasoned, and whether it finished. Public journeys run on ora.ai.Free: one of ora's curated tasks, no keynpx ax journey --domain your-site.com --intent pricingWith no goal of your own, the agent runs one of ora's curated tasks on ora.ai's public journeys: pricing, signup, api-docs and more (leave out --intent and ora picks one). Choose the agent with --agent, print only the result with --no-stream, or the run as JSON with --json. Each IP gets 20 of these a day. ax deep-journey, the older name for this run, still works and will be removed in a future major release of ax.A custom public task with a partner keynpx ax journey "Find the API authentication guide" \ --domain your-site.com --api-key "$ORA_PARTNER_API_KEY"Ora issues partner keys for custom tasks on the public journey API. Partner journeys covers access and limits.Sign in to your workspaceSign in to run your own evaluations or open an ora tunnel. You can audit a public site or try a curated journey without an account.Connect and check your accountnpx ax login npx ax whoamiRun ax login in your terminal. It prints a link and a short code and opens your browser. Sign in or create an account, confirm the code, and approve access. Back in the terminal, ax whoami shows which account ax will use. Over SSH, run ax login --no-browser and open the printed link on a device with a browser.In CI, set ORA_API_KEY in your secret store to a workspace key with ax.sets:read and ax.sets:write for evaluations. This key takes precedence over a saved browser sign-in. Run ax logout to end the saved sign-in.Run an evaluation in your workspaceGive an agent one goal with ax run. It starts immediately, uses your workspace's monthly Playground simulations, and prints a run ID so you can return to the result.One goal on one sitenpx ax run "Find the API authentication guide" \ --domain your-site.comThe run uses your plan's default agent. Choose another with --agent, for example --agent codex/gpt-5.4-mini. Use ax run view <run-id> --watch to follow an existing run. Add --json to read the journey graph and transcript, including the effective prompt and recorded tool arguments and results.Compare two goals on the same sitenpx ax run set create "Find the API authentication guide" \ "Find the API rate limits" \ --domain your-site.comA set accepts the same --agent option. To compare agents, pass a comma-separated list to --agents. The CLI previews the run count and asks before launching. The journeys guide shows how to compare agents, vary the help they get, and read the report.Score a siteax audit runs ora's audit from any terminal. The scan runs on ora, and you get the score plus every failing check with a fix hint, ranked by how much each fix is worth.Score any URLnpx ax audit https://your-site.comGate CI on a minimum scorenpx ax audit https://your-site.com --min-score 70Audit localhost through your own tunnelnpx ax audit localhost:3000 --tunnel-cmd 'ngrok http 3000 --log stdout'--json emits the full machine-readable report for scripting. --min-score exits non-zero below the threshold, so a plain workflow step fails the build. --force bypasses the freshness cache (it spends the stricter force budget), and a scan API key goes in --api-key or ORA_SCAN_API_KEY. --tunnel ora opens ora's own tunnel instead of yours, with a workspace sign-in or a platform key that has the tunnels:write and tunnels:connect scopes. Every result ends on a Next: line with the command to run next.Fix what failsThe audit says what is missing. These two help your agent add it.Install ora's skills for your coding agent# List the skills, then install one into .claude/skills npx ax skill npx ax skill agent-ready-website --installDraft the files agents look fornpx ax generate-files your-site.com --out publicA skill is the playbook your agent follows; Skills covers what each one holds, and npx skills add https://ora.ai installs the same skills into any agent the skills CLI supports. ax generate-files drafts llms.txt, ard.json, ai-catalog.json, poppy.json, a robots.txt edit, an API catalog and MCP server cards from ora's last scan of the domain, and writes them under the web root you name. It never overwrites a file unless you pass --force; --json prints the drafts and writes nothing. Review each file before you publish it, then audit again to see what moved.Audit WebMCP in a real browserax webmcp-audit opens a page in a headless Chrome, reads the WebMCP tools it registers, and has ora score them. It works on any http(s) URL, localhost included, so you can check a surface before you publish it.Audit a local dev servernpx ax webmcp-audit http://localhost:3000ax starts a Chrome you already have installed and never downloads one; --chrome-endpoint drives one you started yourself. The result is never stored, published or ranked. --min-score gates CI here too.Installnpx stays the quickest way in, and npx ax learn prints the workflow, from the first audit to a journey.To install ax globally, run npm install -g ax, then ax --help: ora's ax opens with its version and "Score any site's agent readiness". Anything else means another program named ax comes first on your PATH, so keep using npx ax.