web-app-sdk

web-app-sdk is a skill for Claude Code, Codex from Orkas-AI/Orkas. It costs 3 tokens per session (1,592 once invoked), scanned A, original, MIT.

A browser-app software development kit for building interfaces that use the host platform's approved services, such as storage, files, AI, libraries, or connectors. It explains how to declare supported services and call the available web APIs without exposing credentials or permissions.

In plain words
What is it for?
Use it to create and preview browser bundles, discover supported host capabilities, and connect an app to the host SDK through its manifest and JavaScript API.
Why use it?
It helps keep account identity, secrets, file access, and permission decisions in the host instead of reimplementing them in the browser app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and preview browser bundles, discover supported host capabilities, and connect an app to the host SDK through its manifest and JavaScript API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orkas-ai/orkas/web-app-sdk
About the project

Orkas is a desktop application for commanding a team of AI agents through one chat, with a commander model assigning work to specialist agents in parallel or in sequence. People use it to coordinate research, writing, presentations, and software tasks while keeping files on their computer. The catalogue includes skills for extending the agents available to Orkas.

Orkas-AI/Orkas · 2,192 stars · on GitHub · orkas.ai

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.

Any agent
npx skills add Orkas-AI/Orkas --skill web-app-sdk
Clone the repo
git clone --depth 1 https://github.com/Orkas-AI/Orkas

Made for: Claude Code, Codex.

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 web-app-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/orkas-ai/orkas/web-app-sdk/github.svg)](https://agentmods.dev/skills/orkas-ai/orkas/web-app-sdk)
Your own site
<a href="https://agentmods.dev/skills/orkas-ai/orkas/web-app-sdk"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas/web-app-sdk/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 web-app-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/orkas-ai/orkas/web-app-sdk"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas/web-app-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00003 $0.01592
Opus 5.5 $0.00001 $0.00637
Sonnet 5.5 $0.00001 $0.00318
Haiku 4.5 $0.00000 $0.00159

Measured 24d ago against content hash 2f2ffcf01f46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-app-sdk scanned grade A with 0 findings 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 24d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

resources/builtin/system/skills/web-app-sdk/SKILL.md · 123 lines

How it starts

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

Orkas Web App SDK

Build browser interfaces against the host SDK. Keep credentials, account identity, file paths and permission decisions in Orkas. Do not import Electron, forward arbitrary IPC or copy the Agent runtime into the app.

Find the actual contract

Read the API reference before choosing methods. It contains the executable registry's input schemas, result shapes, examples and unsupported families. Read the starter HTML and its manifest when starting a bundle or checking integration. These files are copyable inputs, not an executable Skill script.

The model's own tools are not Web APIs. tools.list in a running app lists only eligible existing executors; never invent SDK methods from host tool names.

Build and discover

  1. Put orkas-app.json at the app bundle root. Set sdkVersion: 1 and declare only needed families from storage, appFiles, files, ai, library, connectors.
  2. Load <script src="/__orkas/sdk.js"></script> before app code. Use window.orkasApp. Local bundles and external HTTP(S) scripts, styles and assets are supported in running apps and previews.
  3. Call capabilities.list() to check support, declaration, availability and authorization separately. Use capabilities.describe({method}) for the current schema. Never treat a declaration or discovery result as consent.
  4. Use api.<group>.<method>(arguments, {signal, onProgress}). Both options are optional; AI progress delivers text deltas. Render untrusted results with textContent, not HTML. Inspect tool isError and AI stopReason.
  5. Deliver through the existing interactive-result or saved-app workflow and verify there. A loose HTML export or ordinary browser has no Orkas bridge.

Capability boundaries

  • Storage: JSON values private to this account and app source. Set scope: "cloud" for business data to participate in the account's existing cloud sync; use scope: "local" for caches. Omitted scope remains local for old apps. There is no automatic migration from local or browser storage.
  • App files: declare appFiles for relative-path text/binary files in the app's private sandbox. Its default scope is cloud; choose local for caches. Read/write/list/remove affect only this app. Source code is separate. Reopening keeps data; copied/re-saved apps have independent sandboxes. Cloud sync requires the same account and sync enabled on each device. Saved means persisted on this device, not uploaded. Conflicts use Orkas Settings; there is no SDK sync-status API. Keep explicit export for important data. Preview redirects both scopes to disposable storage; it cannot prove sync.
  • Files: native selection returns an opaque handle to a read-only snapshot, not a path or permission to edit the original. Release handles after reading. Picker/save cancellation returns null. Text export creates a new file; an existing destination is refused. Orkas managed data cannot be selected.
  • AI: configured model, supplied prompt only; no implicit conversation, project, Agent, tools or Skill context. Ordinary generation needs no separate app permission dialog. Requests can incur model charges; usage reports tokens, not price. Show partial output as incomplete when stopReason is max_tokens.
  • Library: eligible global Library operations without a separate app consent. There is no inferred project binding from the source conversation.
  • Connectors: discover tools.list(), then call its list_connector_tools executor to obtain enabled connector/action schemas before invoking call_connector_tool. Existing operation permissions apply: sensitive actions use the Orkas dialog; Trusted runs available actions without confirmation. Allow for this use covers the approved connector account and sensitive action class until this app instance closes. Other apps and reopened instances do not inherit it. External writes and fees are possible; inspect business errors. Connector installation is not exposed.

Read the full file on GitHub · 123 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago First seen · 123 lines · 3 tokens per session scan A 2f2ffcf01f46

Subscribe to this mod's changes

web-app-sdk is a skill published in the GitHub repository Orkas-AI/Orkas (2,192 stars, last pushed today), licensed MIT. It adds 3 tokens to every session and 1,592 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.