rest-api

rest-api is a command for Claude Code from macstadium/orka3-cli-agent-skill. It costs 0 tokens per session (2,591 once invoked), scanned A, original, Apache-2.0.

A reference for calling the Orka API directly with HTTP requests. An API is a set of network endpoints that software can call; Orka is the server platform described by this reference.

In plain words
What is it for?
Use it to check cluster connectivity, list virtual machines, authenticate requests, and find the API details for your Orka server version.
Why use it?
It helps tools that cannot run the Orka command-line program communicate with an Orka server. It documents authentication, request paths, and response formats so scripts can call the right endpoints.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to check cluster connectivity, list virtual machines, authenticate requests, and find the API details for your Orka server version.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/macstadium/orka3-cli-agent-skill/rest-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/macstadium/orka3-cli-agent-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rest-api

README.md
[![agentmods](https://agentmods.dev/badge/commands/macstadium/orka3-cli-agent-skill/rest-api/github.svg)](https://agentmods.dev/commands/macstadium/orka3-cli-agent-skill/rest-api)
Your own site
<a href="https://agentmods.dev/commands/macstadium/orka3-cli-agent-skill/rest-api"><img src="https://agentmods.dev/badge/commands/macstadium/orka3-cli-agent-skill/rest-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rest-api

Your own site · 80×15
<a href="https://agentmods.dev/commands/macstadium/orka3-cli-agent-skill/rest-api"><img src="https://agentmods.dev/badge/commands/macstadium/orka3-cli-agent-skill/rest-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,591 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02591
Opus 5.5 $0.00000 $0.01036
Sonnet 5.5 $0.00000 $0.00518
Haiku 4.5 $0.00000 $0.00259

Measured 1mo ago against content hash d9a5b87f3663, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rest-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl <ORKA_API_URL>/api/v1/cluster-info
orka3-cli/references/commands/rest-api.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

REST API Reference

This reference covers calling the Orka API server directly, for tools that can't shell out to the Orka CLI. Prefer the CLI where it's available.

Contents

Swagger UI

The API server publishes its own Swagger UI, which is the source of truth for every path and field on your cluster's version:

<ORKA_API_URL>/api/v1/swagger

Connectivity check (no auth required):

curl <ORKA_API_URL>/api/v1/cluster-info

Authentication

There is no login endpoint. Get a token from the CLI and pass it as a bearer token:

orka sa token <SERVICE_ACCOUNT_NAME>     # Automation and CI/CD (service account)
orka user get-token                      # Interactive use only (expires in 1 hour)
curl -H "Authorization: Bearer $ORKA_TOKEN" <ORKA_API_URL>/api/v1/namespaces/<NS>/vms

Keep the token in an environment variable or secret store, never inline in scripts.

Common Paths

Operation Method and path
List VMs GET /api/v1/namespaces/{namespace}/vms
Deploy VM POST /api/v1/namespaces/{namespace}/vms
Get VM GET /api/v1/namespaces/{namespace}/vms/{vm}
Delete VM DELETE /api/v1/namespaces/{namespace}/vms/{vm}
Save VM to new image (NFS, deprecated in 4.0) POST /api/v1/namespaces/{namespace}/vms/{vm}/save
Commit VM to its image (NFS, deprecated in 4.0) POST /api/v1/namespaces/{namespace}/vms/{vm}/commit
Push VM to OCI registry (Apple silicon only) POST /api/v1/namespaces/{namespace}/vms/{vm}/push
List nodes GET /api/v1/namespaces/{namespace}/nodes
List images (NFS, deprecated in 4.0) GET /api/v1/namespaces/{namespace}/images
Grant, list, or revoke a role (4.0+) POST /api/v1/rbac/{role}/subjects/add, GET /api/v1/rbac/{role}/subjects, DELETE /api/v1/rbac/{role}/subjects/remove

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 172 lines · 0 tokens per session scan A d9a5b87f3663

Subscribe to this mod's changes

rest-api is a command published in the GitHub repository macstadium/orka3-cli-agent-skill (3 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,591 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

rest-api compared with commands from other repositories

rest-api next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rest-apimacstadium/orka3-cli-agent-skillCommand31mo agoApache-2.0A0Claude Code
api-docs.templateevan043/claude-cli-advanced-starter-packCommand624mo agoMITA0Claude Code
docskikakkz/wait-agentCommand2418d agononeA9Claude Code
yankomavashia2005/yankCommand28mo agononeA10Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code