Osy#betaRun it on Osyrin: osyrin.com

Reference / Local

Finding the right tool

osy help <what you are doing> · osy help --all · osy docs osy-tools

Which osy verb answers the situation you are in — a test failed, a page is slow, a deploy failed, is this secure, does the UI look right, will this migration keep my data, what does this code mean, what does my app cost — with one line on what each tells you and a line to type. (The tools an Osy# agent can call are osy docs tools.)

stablelocalcli

Summary#

osy has many verbs, and the one you need is usually one you have not met. Say what you are doing and osy help prints the verbs for it: what each tells you, and a line to type. It reads only this map — no network, no model.

Signature#

osy help a test failed        the best one or two situations below, for your words
osy help slow page
osy help                      every situation the map has
osy help --all                every verb by task, with its flags (--json for a tool)
osy --help                    every verb by task, one line each

Description#

Each section below is one situation. Its table names the verb, says what it tells you, and gives a line to type; osy help <words> matches your words against these situations and prints the closest. The last table lists every verb this osy has, under the same task groups osy --help uses — it is read from the CLI's own command table, so a verb that exists is on it and a verb that is on it exists.

A failure points at the right verb where it happens, too: a failed test names osy inspect, osy logs or osy explain for its own shape, a span over its budget names --cost-report, a failed deploy names osy status.

A test failed — why?#

VerbWhat it tells youExample
osy testRe-runs just the red one once you have changed something; the report under it names the next command for that failureosy test --test 'Shop.Checkout'
osy inspectThe recorded fault of the run: the throw site, the call stack and the values in scope thereosy inspect <traceId> --fault
osy logsClient and server lines under one correlation id — the cause of a UI test that only saw the screenosy logs --since 10m --errors
osy explainWho may read and write an entity, in words — the answer when the failure is a refusalosy explain Order
osy traceRecords every step of the next runs, when the fault alone does not say how it got thereosy trace start
osy debug-testOne test under a debugger in your editor (a DAP pipe — not for a terminal)osy debug-test --test 'Shop.Checkout'

Also asked as: test, tests, failed, failing, fails, red, assert, assertion, error, errored, broken.

Is my app green, and ready to ship?#

VerbWhat it tells youExample
osy checkValidate, lint and test as one verdict, printing only what failedosy check
osy validateParse, resolve and emit — whether the compiler accepts the source, no serverosy validate
osy lintProduction best-practice rules; a MUST is a defect the platform can seeosy lint --strict
osy drillReliability in a real browser: double submit, two people on one row, the server killed mid-commit, dependencies downosy drill

Also asked as: green, ready, ship, pass, passes, valid, compiles, done, check, verdict, production, lint, best, practice, drill, reliable, reliability.

Why is a page slow, or costing too many statements?#

VerbWhat it tells youExample
osy testEach test's statements and the spans it named, with their budgets; --cost lists the Osy# lines the SQL came fromosy test --filter Orders --cost
osy testThe run's costs as one JSON document: every span's statements, budget, how far over, its heaviest linesosy test --cost-report cost.json
osy testEvery routed page must declare a [PageBudget]; a declared one is held on every runosy test --page-budgets
osy usageWhat the app really used here — CPU, egress, statements; per function or per pageosy usage --functions
osy logsThe slow calls, by how long they tookosy logs --since 30m --slow 500

Also asked as: slow, page, statements, queries, query, sql, n+1, round, trips, budget, span, performance, fast, speed, latency, over.

Why did a deploy fail?#

VerbWhat it tells youExample
osy statusWhere the app runs, the version it serves, and how its recent deployments went — with the reason for one that failedosy status --server https://osyrin.app --app my-app
osyrin app logsThe deployed app's own errorsosyrin app logs --app my-app --server https://osyrin.app --since 1h --errors
osy migration explainWhat each statement of the .migration a refused deploy carried does, in wordsosy migration explain migrations/next.migration
osy versionsThe app's versions and the workflow runs still in flight on eachosy versions
osy cancel-runsStop every run still in flight against a bad versionosy cancel-runs

Also asked as: deploy, deployed, deployment, publish, failed, rollout, served, release, zone, osyrin, cloud, environment, production.

Is this secure — who can read and write what?#

VerbWhat it tells youExample
osy explainThe declared security in plain English, per entity, field masking included; --sql the SQL a read compiles toosy explain --sql --as anonymous
osy checkAlso proves the access rules with tests the platform writes, under --accessosy check --access
osy lintThe security rules among the best-practice rules — a tenant's rows open to every account, a signup that administers everythingosy lint
osy policyYour organization's policy as it binds this app, and how to ask for an exceptionosy policy
osy egressWhere the app has actually tried to go — read before closing it downosy egress observed

Also asked as: secure, security, safe, access, permission, permissions, denied, refused, who, read, write, role, roles, leak, policy, egress, secret.

Does the UI look right?#

VerbWhat it tells youExample
osy shotOne page photographed in a real browser — signed in, on a seed, at a phone's width — and the PNG's pathosy shot /orders --as ada --width 390
osy testUI tests in a real browser, each screen photographed into osy-shots/osy test --pixels
osy shotsA contact sheet of every screen osy test --pixels photographed, naming routes with noneosy shots
osy designThe concept in DESIGN.md checked, and which stock look the theme falls into; critique puts your shots beside referencesosy design check
osy launchThe app in your browser on the local platform; --dev its seeds and sign-in-asosy launch --dev

Also asked as: ui, look, looks, screen, screenshot, picture, page, layout, design, visual, pixels, phone, mobile, photo, theme, pretty.

Will this migration keep my data?#

VerbWhat it tells youExample
osy migrate proveOn a throwaway platform: one run parked at every state of the old version, the new one minted with its .migration, a verdict per stateosy migrate prove --from HEAD
osy migration explainEach statement of a .migration in words, marking what the deploy only guessedosy migration explain migrations/next.migration
osy migrateMoves workflow runs left on an older version onto the current oneosy migrate --dry-run
osy migrate codeRewrites the retired forms a project written for an older osy still usesosy migrate code --dry-run
osy importLoads the app's rows (data/**/*.json); rows are matched by key, so re-running is safeosy import

Also asked as: migration, migrate, migrations, data, keep, lose, loss, schema, upgrade, workflow, runs, states, prove, import, rows.

What does this code mean, and what does my app declare?#

VerbWhat it tells youExample
osy modelThe resolved model: entities, wired relations, security posture, each function's effects, theme tokensosy model --json
osy docsThe Osy# reference, offline — a topic, a name, or a questionosy docs "hash a password"
osy kitEvery UI control with its signature and an example; kit atoms the renderer's primitivesosy kit Card
osy sourceA capability's own source, or the one declaring a typeosy source Osysharp.Memory
osy queryOne Osy# expression evaluated against the running apposy query "Order.Count()"
osy explainThe security part, in plain Englishosy explain

Also asked as: mean, means, code, declare, declares, model, entity, entities, symbol, symbols, understand, explain, kit, control, write, spell, docs, reference.

What does my app cost to run?#

VerbWhat it tells youExample
osy usageCPU, egress and database statements measured on this computerosy usage
osy usageHow close the app came to what a free application may doosy usage --free
osyrin app planThe deployed app's meters this month against what its plan includesosyrin app plan --app my-app --server https://osyrin.app
osyrin app usageWith --functions: the deployed app's calls, statements, rows and CPU per function per dayosyrin app usage --functions --since 7d --app my-app --server https://osyrin.app

Also asked as: cost, costs, price, plan, usage, use, used, cpu, egress, limit, limits, free, allowance, bill, money, spend.

Why is a workflow run not moving?#

VerbWhat it tells youExample
osy workflow-runsWhat is in flight: which workflows, on which version, parked whereosy workflow-runs --runs
osy workflow-runOne run: its state, its waits, who may act, what happens next — --raise steps itosy workflow-run <id>
osy clockMoves the running app's now, to see what is due laterosy clock advance 1d

Also asked as: workflow, run, runs, stuck, parked, waiting, moving, flow, state, timer, clock, later, due.

Which verb does what?#

| Task | Verb | What it does | |---|---|---| | Develop | osy init | Initialize an Osyrin project for an AI coding agent (claude | agent) | | Develop | osy validate | Validate .osy files locally (parse + resolve, no server needed) | | Develop | osy compile | Compile the project's source into the app on the local platform (osyrin dev) | | Develop | osy launch | Open the project's app in a browser on the local platform (osyrin dev) | | Develop | osy serve | Serve this app at the root of a port in the foreground (default :3000) | | Develop | osy studio | Open Studio: build an app by describing it, in your browser, with your own Claude Code (osy studio stop… | | Develop | osy model | Show the RESOLVED model — bound types, wired relations, security posture, function effects | | Develop | osy symbols | Show the symbol summary (entities/enums/functions/workflows/clients/values) for .osy files | | Develop | osy docs | Look up the Osy# reference | | Develop | osy kit | What the bundled UI kit ships | | Develop | osy kit from-npm | Start a control kit from an npm package | | Develop | osy kits | The kits (packages) in scope | | Develop | osy kits check | Check a kit composes: KIT_REFERENCES_SIBLING (it uses no other vertical it does not complete),… | | Develop | osy kits find | Find kits by what they do: kits find "ask customers how it went" | | Develop | osy kits new | Start a LOCAL kit in kits/<name>/ | | Develop | osy theme | Everything this app's theme advertises | | Develop | osy source | Read a capability's source | | Develop | osy compose | What kits give together and what is LEFT for you: compose Osysharp.SatisfactionSurveys… | | Develop | osy translate| Translate the app's text: --to sv,de writes locales/<lang>.osy + a request and prompt for any model | | Develop |osy import-api| Import an OpenAPI spec and generate an Osyrin file | | Develop |osy seam| Seams a provider implements | | Develop |osy seam generate| Write the C# interface and classes for IBlobStore, IEntitySource or IExportSink, stamped with its seam hash | | Develop |osy control| Author-side foreign UI controls | | Develop |osy control validate| Statically validate a bundled control shim (exports mount, control block, size cap) | | Develop |osy control add| Validate, vendor and PIN a control shim + its control block into this project | | Develop |osy control build| Bundle each control's pinned source with esbuild and re-pin its hash (--watch to follow changes) | | Develop |osy font| Web fonts this app ships — register one and the theme's family finally renders | | Develop |osy font add| Vendor and PIN a font file for this app, e.g | | Develop |osy font remove| Stop shipping a font family | | Develop |osy font list| List the fonts this app ships, and whether each file is still present | | Develop |osy font find| Find an open-source family by its character | | Develop |osy font kits| List the fonts the kits in scope already ship, with their licence | | Develop |osy get| Fork a kit control into ui/lib/ (e.g | | Develop |osy diff| Show how your ui/lib/ forks differ from the kit's current source | | Develop |osy update| Re-pin kits within their declared major and rewrite osyrin.lock | | Develop |osy lock| Resolveusepins and (re)write osyrin.lock | | Develop |osy restore| Fetch every package and catalog answer this project needs into the package cache, so lock/validate/test run… | | Develop |osy package| Author a publishable Osy# package | | Develop |osy package pack| Build the package archive from package.osy and print its content address | | Develop |osy package bump| Bump a kit to its next major and re-pin every project of the workspace that uses it (--major) | | Develop |osy package fetch | Resolve, download and cache a package from GitHub (Owner.Name@1) | | Develop | osy package publish| Validate, build and publish this package as a GitHub Release (--dry-run to check only) | | Develop |osy package search| Find a published package and theuseline that depends on it | | Develop |osy package check| Run the server's per-archive checks over archive files, offline | | Develop |osy search| Find a published Osy# package | | Develop |osy publish| Publish this package as a GitHub Release | | Develop |osy restructure| Plan moving a package's top-level functions, constants, policies and classes into the types they are about | | Test and debug |osy check| validate + lint + test as ONE verdict, printing only what failed | | Test and debug |osy lint| Check an app against production best-practice rules (the maturity signal) | | Test and debug |osy test| Run the project's .osy tests against the local platform (osyrin dev) | | Test and debug |osy test-slot| Run any command in the machine's fair test queue: takes a ticket, passes the command's exit code through,… | | Test and debug |osy debug-test| Debug one .osy test against the local platform (osyrin dev) via DAP | | Test and debug |osy debug-flows| List the running/parked flows a debugger may attach to on the local platform | | Test and debug |osy debug-attach| Attach a debugger to a local flow (--continuation <id>, or omit to debug a page live) | | Test and debug |osy inspect| Inspect what actually happened when the code ran: list traces, open one, or jump to the fault (--json for… | | Test and debug |osy trace | Turn step recording on/off for local execution traces (osy trace start|stop) | | Test and debug | osy logs| Read this project's app logs from the local platform (--tail to follow) | | Test and debug |osy run| Run one of the app's own functions on the local platform (--as <login> to run as a user) | | Test and debug |osy query| Evaluate one Osy# expression against the app and print what it answered (--as <login> to read as a user) | | Test and debug |osy seed| Load a dev seed — a [TestFixture, DevSeed] world — into the running local app (omit the name to list them) | | Test and debug |osy clock| Move the running local app's clock to see what is due later:advance 1d, set 2026-11-03T09:00, reset| | Test and debug |osy drill| Reliability drills in a real browser: double submit, two people editing one row, the server killed… | | Test and debug |osy workflow-runs| Show what workflow work is in flight: which workflows, on which version, parked where (--runs to name them) | | Test and debug |osy workflow-run| Why is ONE run not moving: its state, its waits, WHO MAY ACT, what happens next | | Performance |osy usage| What this project's application actually used | | Security |osy explain| Explain an app's declared security in plain English | | Security |osy policy| Your organization's policy as it binds this app | | Security |osy policy egress| Outbound hosts: what your organization allows, this app's hosts against it, how to ask | | Security |osy policy packages| Approved and required packages: this project's pins against them, how to ask | | Security |osy policy secrets | Keyed secrets written at run time (secrets.runtime): which ones your organization lets its apps write… | | Security | osy policy models | AI models: which models a call may be sent to and the most tokens a month (Osysharp.Llm), what your code… | | Security | osy policy agents | Agents: the least an agent does before it changes, sends, spends or reaches out (Proposeor stricter | | Security |osy policy audit| Audit: the trails your organization keeps on and the fewest days they are kept, whateverapp.Auditsays | | Security |osy policy settings| Other governed settings: locks and ranges (never a text value), how to ask | | Security |osy policy request| Ask for an exception to a rule of your organization's policy | | Security |osy egress| Control which hosts this app is allowed to reach | | Security |osy egress observed| Where this app has ACTUALLY tried to go | | Security |osy egress list| Show the rules in force, including any your organization set (which you cannot change) | | Security |osy egress allow| Allow a host — ⚠ the FIRST allow closes the app: only allowed hosts get through | | Security |osy egress deny| Deny a host, whatever else allows it | | Security |osy egress remove| Drop every rule naming a host, whichever effect it had | | Security |osy secret| Give this project's declared secrets their values on this machine | | Security |osy secret list| List the secrets this app declares and which still have no value here | | Security |osy secret set| Set a secret's value in the project's gitignored .secrets (and apply it to a running local app) | | Security |osy user| Seed the app's own accounts, with the roles you give them | | Security |osy user add| Add an account to the app with the roles you name (--role, required), or --via-signup to run the app's own… | | Security |osy user set-password| Give an existing account a new password (--password-file, --password-stdin or the prompt | | Security |osy user apikey| Mint and retire the app's own REST API keys | | Security |osy user apikey generate| Mint an API key for one of the app's accounts, printed once | | Security |osy user apikey revoke| Revoke an account's API key(s) (--secondary drops only the rotation key) | | UI review |osy shot| Photograph one page of the app in a real browser | | UI review |osy shots| Build a contact sheet from osy-shots/ | | UI review |osy design| Design — look at references, check the concept and the theme, critique the screenshots against agent-made… | | UI review |osy design look| Render a page wide (1440×900) and on a phone (390×844) into design/refs/, with the faces it really loads | | UI review |osy design check| Check the concept in DESIGN.md (idea, grid, type pairing with its reason, signature) and name the stock… | | UI review |osy design critique| Put your screenshots beside your references and the typical agent-made pages, and say which they sit closer to | | UI review |osy photo| Photographs for the app — searched, licence shown, downloaded and credited | | UI review |osy photo find| Find licence-clear photos of a subject (several wordings, top results skipped, one per photographer) | | UI review |osy browser| The browser screenshots are taken with:statussays what is missing,installadds it once for every… | | Data and migrations |osy import| Load the app's data (data/**/*.json) into the local platform | | Data and migrations |osy import-schema| Generate entities for the tables a registered data source holds | | Data and migrations |osy migration| Read a .migration before it goes with a deploy | | Data and migrations |osy migration explain| Say what each statement of a .migration does, mark what the deploy only guessed, and refuse a file that… | | Data and migrations |osy migrate| Move workflow runs left on an older version onto the current one (--dry-run to preview) | | Data and migrations |osy migrate code| Bring a project written for an older osy up to this one: rewrite the retired forms it writes (Zone, role:… | | Data and migrations |osy migrate prove| Prove a workflow change's migration before it ships: on a throwaway local platform, park one run at every… | | Deploy and operate |osy deploy| Deploy the app into one of its organization's environments: built here, rebuilt and served by the… | | Deploy and operate |osy status| Show where the app runs, which version it serves, and how its recent deployments went | | Deploy and operate |osy link| Is this project on Osyrin? The app it is linked to, the version served, and whether the source changed… | | Deploy and operate |osy open| Open this project's app on Osyrin in your browser, or its page in Admin (--admin [--page… | | Deploy and operate |osy apps| Your organizations' apps on Osyrin | | Deploy and operate |osy preview| This app and the platform's previews | | Deploy and operate |osy preview check| This app's own check of a preview, which an environment that waits for it needs green before it moves onto… | | Deploy and operate |osy preview check report| Report the check of a preview:osy preview check report --version 0.21.0-preview.33 --green, or --red… | | Deploy and operate | osy versions | Show the app's versions and what is still running against each one | | Deploy and operate | osy cancel-runs | Stop every workflow run still in flight against one version (a bad-deploy abort) | | Deploy and operate | osy app | Read an app model file (.osyapp) | | Deploy and operate | osy app inspect | Print an .osyapp's manifest and what each section holds | | Deploy and operate | osy app verify | Check an .osyapp: file hash, platform floor, and every section's hash and decode | | Deploy and operate | osy app diff | What changed between two .osyapp files, row for row | | Deploy and operate | osy stop | Stop the local platform serving this project (started on demand by compile/test/launch) | | Deploy and operate | osy instances | List the local platform instances on this machine, and which are running | | Deploy and operate | osy instances prune | Stop and remove idle throwaway local platforms (default: no request for 2h), cached CLI builds nothing… | | Deploy and operate | osy remove | Remove an app and its databases from a LOCAL platform instance (a final backup first) | | Account | osy login | Sign in to Osyrin in your browser | | Account | osy logout | Sign out of Osyrin on this computer | | Account | osy whoami | Who you are signed in to Osyrin as | | This toolchain | osy help | Which verb for what you are doing: osy help a test failed · osy help slow page | | This toolchain | osy upgrade | Replace this osy with a newer release | | This toolchain | osy whats-new | The release notes of the newest osy, or of a version you name | | This toolchain | osy skills | The Claude Code skills for Osyrin Cloud that ship with this osy | | This toolchain | osy skills list | List the bundled skills and where each is installed (for every project, or this one) and whether it is current | | This toolchain | osy skills install | Install the skills for every project (~/.claude/skills), or with --project into this one | | This toolchain | osy skills remove | Remove the bundled skills from every project, or with --project from this one | | This toolchain | osy setup | Connect a coding agent to Osyrin: claude, codex or cursor | | This toolchain | osy vscode | Set up the Osy# editor extension for local development | | This toolchain | osy vscode install | Install the bundled Osy# extension into VS Code (or Cursor/VSCodium/Windsurf) | | This toolchain | osy telemetry | on · off · status — anonymous usage statistics (osy docs project-statistics) | | This toolchain | osy bug-reports | ask · always · never · status | | This toolchain | osy feedback | Open a prefilled issue on the public tracker |

See also#

Related

Checking your app

Checks your app against production best-practice rules and reports where it falls short — the maturity signal, beside…

Seeing what happened when your code ran

Opens a finished run and shows what it did — each step named and pointed at its source line, the values that crossed…

Seeing what a page cost

Every call your app makes to the local platform reports how many database round trips answered it, beside how long it…

Explaining your app's security

Explains your app's declared authorization in plain English — who can read, create, update and delete each entity…

Photographing a page

Takes one picture of one page of your app in a real browser — signed out or as one of its accounts, on your data or on…

Drilling your app

Runs four reliability drills against your app in a real browser, on a local platform of its own that can be made to…

Deploying your app to an environment

Builds your app on this machine and hands it to the zone one of its organization's environments runs on — `osy deploy`…

Reading what your application actually used

CPU, egress, database statements — counted by the machine that ran your code, not estimated. Read from your local…