agentleFS
robium-airobium-ai/robium/skills/live-demo/SKILL.md

live-demo

Skill93 starsChanged 3 months agoMITView on GitHub

Add temporary, isolated hosted sessions to a tested robotics application.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add hosted lifecycle only after the application's normal smoke test passes.

    line 12
  2. Very specific:

    Keep the app's runtime and demo.orchestrator facts in robium-app.yaml.

    line 15
  3. Distinctive:

    Never allocate on catalog, overview, or idle live-page load.

    line 18
  4. Very specific:

    Keep public project copy, cards, articles, and media in app-publishing.

    line 20
  5. Distinctive:

    When access control matters, issue a signed or high-entropy, host-bound capability outside the instance and validate it on every lifecycle …

    line 30
  6. Distinctive:

    Keep the orchestrator out of the viewer data path.

    line 33
  7. Distinctive:

    Keep the current instance while reconnecting.

    line 44
  8. Distinctive:

    Read session-ui.md for the shared browser state machine.

    line 48
  9. Distinctive:

    Use local Docker for the cheapest full lifecycle probe.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Live demo

Separate the host-level control plane from the visitor's session data plane.

Start from a working app

  • Add hosted lifecycle only after the application's normal smoke test passes.
  • Define one real demo outcome, app-specific readiness, maximum session time, fleet capacity, cost boundary, and authoritative teardown.
  • Keep the app's runtime and demo.orchestrator facts in robium-app.yaml. The website/orchestrator derives its registry entry from that source; current production enablement remains website-owned.
  • Never allocate on catalog, overview, or idle live-page load. Starting paid capacity requires an explicit visitor action.
  • Keep public project copy, cards, articles, and media in app-publishing.

Keep the session boundary explicit

  • A host-level lifecycle layer enforces fleet limits and expiry and returns an instance ID plus connect host. Local Docker and RunPod allocate explicit resources; Cloud Run routes requests to a predeployed service.
  • The verified gateway example gives the first active claimant exclusive use and rejects concurrent foreign claims. Its browser-provided session ID is a coordination key, not authentication.
  • When access control matters, issue a signed or high-entropy, host-bound capability outside the instance and validate it on every lifecycle and viewer route. Affinity and hard-to-guess URLs remain routing conveniences.
  • Keep the orchestrator out of the viewer data path. The browser should talk directly to the gateway after allocation.
  • Read orchestrator-pattern.md when implementing provider drivers or local start/delete behavior. Read gateway-pattern.md when implementing claims, viewer transport, readiness, or shutdown.

Make lifecycle visible

  • Expose idle, allocating, booting, ready, reconnecting, stopping, expired, busy, budget-exhausted, and failed states honestly.
  • Keep the current instance while reconnecting; a transient poll failure must not allocate a replacement.
  • Show real boot messages, remaining time, capacity, and expected cold-start behavior. Avoid invented percentage progress.
  • Read session-ui.md for the shared browser state machine. Read viewers.md when choosing or embedding Gradio, Lichtblick, Foxglove, or a custom interaction surface.

Choose a provider only when needed

  • Use local Docker for the cheapest full lifecycle probe.
  • Route Cloud Run deployment and request-lifecycle mechanics to cloud-run, and RunPod allocation and paid-resource cleanup to runpod; keep the browser contract provider-neutral.
  • For the proven Gazebo and ROS 2 Cloud Run conditions, read cloud-run-tuning.md. Its measured values are evidence from that workload, not defaults for another app.
  • Adapt demo_gateway.py only for the verified ROS/WebSocket shape it demonstrates; review its app and origin-specific constants first.

Done

  • The hosted smoke covers allocation or routing, first claim, readiness, concurrent-claim rejection, one real outcome, and release or deletion. When capabilities are enabled, it also rejects an invalid capability.
  • Expiry and cleanup do not depend on the browser remaining open.
  • The idle public surface performs no paid allocation or provider polling.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.