apps

apps is a skill for Claude Code from desplega-ai/agent-swarm. It costs 43 tokens per session (31,142 once invoked), scanned A, original, MIT.

A guide for building persistent internal applications with stored records, named queries, custom actions, and a validated interface. These applications are served at an `/apps/<id>` address.

In plain words
What is it for?
It helps create and iterate on schema-backed apps, read and change their definitions, run named queries, and expose interfaces for viewing and editing records.
Why use it?
It provides a defined way to create, inspect, query, and update live records instead of making a one-off static page. It also distinguishes live applications from static pages and custom server logic.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the agent-swarm plugin — 33 skills, 11 commands, 5 agents, 6 hooks, 1 MCP server shipped together

Good fit It helps create and iterate on schema-backed apps, read and change their definitions, run named queries, and expose interfaces for viewing and editing records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desplega-ai/agent-swarm/apps
About the project

Agent Swarm is a self-hosted operating system for coordinating AI agents as a company-wide workforce. A lead agent assigns work to workers running in isolated containers, while shared memory, tools, schedules, workflows, and review gates preserve and manage that work. The catalogue entries provide agents, commands, skills, hooks, and other extensions for operating the system.

desplega-ai/agent-swarm · 1,145 stars · on GitHub · agent-swarm.dev

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 desplega-ai/agent-swarm --skill apps
Clone the repo
git clone --depth 1 https://github.com/desplega-ai/agent-swarm

Made for: Claude Code.

Or install agent-swarm, the plugin that ships this one along with the rest of its 33 skills, 11 commands, 5 agents, 6 hooks, 1 MCP server.

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 apps

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/desplega-ai/agent-swarm/apps"><img src="https://agentmods.dev/badge/skills/desplega-ai/agent-swarm/apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 31,142 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.00043 $0.31142
Opus 5.5 $0.00017 $0.12457
Sonnet 5.5 $0.00009 $0.06228
Haiku 4.5 $0.00004 $0.03114

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

Security

Grade A, and why

apps 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 3d 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.

templates/skills/apps/SKILL.md · 1,383 lines

How it starts

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

Swarm Apps

Swarm Apps are persistent, agent-authored internal applications: a schema-backed row store, named queries, custom script/task actions, and a validated json-render interface served at /apps/<id>. Use an app when people need to view and change live records; use create_page for a static snapshot.

When to use a sheet or board instead: a tracker or grid people keep editing, with no queries or actions, is a sheet. A plan, diagram or map to think through is a board. Both are editable agent-fs files; see the boards-and-sheets skill. To show one inside an app, use the ObjectEmbed component (section "Embed a sheet or board"). To fill a sheet from CSV, Parquet or xlsx files on the drive, use data-query with sheet (the data skill).

Capability gate: app tools are available when the server's CAPABILITIES includes pages (for example CAPABILITIES=core,task-pool,pages). There is no separate apps capability. If these tools are absent from your MCP list, this is why.

Tools and iteration loop

Tool Use it for
app-list Discover apps by id, name, description, and timestamps. Definitions are omitted.
app-catalog Ask what a page may contain: no args lists every component (one line, child slots) and action type; { component } returns its props schema (prop drills into one); { action } an action step's params; { topic: "expressions" } the binding reference ($state roots, route params, $param, $template, repeat, watch, OnEnter.everyMs, visibility). Read it instead of guessing props or reading dashboard source.
app-get Read a definition. { outline: true } returns the tree without props (pages with params and { nodeId: [type, childIds] }, model columns, queries, actions); { path } returns one subtree (pages.main.elements.title or /pages/main/elements/title). Read the whole app only when you need all of it; the whole read also returns sourcesPath, the app's agent-fs sources folder.
app-upsert Create an app, or replace an existing app's entire definition when you intentionally have the full desired state.
app-patch-node Edit one page or reusable-element node: props merges one level (null deletes a prop), set replaces node keys, remove deletes the node and its subtree, create: { parentId, index?, node } adds one. Prefer this for UI iteration.
app-patch Make a focused change to actions, queries, models, page params or settings while preserving everything not mentioned. ops takes JSON-pointer add/replace/remove/test ops instead of a merge patch.
app-query Run one declared named query and return its rows. Use this when an agent or saved script needs to consume app data rather than render the app UI.
app-rows-list List rows with typed equality filters, sorting, and a limit. Returns { rows, total }.
app-row-get Read a row by rowId. Returns { row }.
app-row-create Create a row from values. Returns { row }.
app-rows-create Create 1 to 500 rows from a rows: values[] array, within 10 MiB. Returns { rows }.
app-row-patch Patch a row by rowId with values. Returns { row }.
app-row-delete Delete a row by rowId. Returns { ok: true }.
app-rows-delete Delete matching rows with a non-empty equals filter. Returns { deleted }.
app-action-run Run a declared script, task, or sync action with { appId, action, input? }. Agents can invoke it through MCP only.
app-action-status Read or wait on the run an action returned: { appId, runId, waitSeconds? }. A script run settles when it and every run its script launched have finished.
app-history List definition snapshots and their compact model/column digests before choosing a restore point.
app-diff Show a unified definition diff; defaults to newest snapshot → CURRENT.
app-rollback Restore a snapshot through the normal schema-migration engine.

Read the full file on GitHub · 1,383 lines

Files

What ships with it

2 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. 3d ago Changed 3afb5739d178
  2. 4d ago Changed d0ca9fe20e3e
  3. 5d ago Changed · -44 lines d420dc5cc866
  4. 6d ago Changed · +185 lines 2d39cf41c076
  5. 8d ago Changed · +1 lines 9e626d7eb409
  6. 12d ago Changed · +2 lines c289b6892dea
  7. 13d ago Changed · +2 lines a499a8e98ba1
  8. 17d ago Changed · +189 lines 8b706ee145cb
  9. 21d ago Changed · +27 lines d200e4e7df64
  10. 22d ago First seen · 1,021 lines · 43 tokens per session scan A 4146801764ba

Subscribe to this mod's changes

apps is a skill published in the GitHub repository desplega-ai/agent-swarm (1,145 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 31,142 once invoked, about $0.0002 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-10-15.

Related

apps compared with skills from other repositories

apps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
appsdesplega-ai/agent-swarmSkill1.1ktodayMITA43Claude Code
security-observabilityalibaba/anolisaSkill6889d agoApache-2.0A145Claude Code, Codex
add-backendalibaba/anolisaSkill6889d agoApache-2.0A46Claude Code
skill-ledgeralibaba/anolisaSkill6889d agoApache-2.0A67Claude Code, Codex
regex-masteryalibaba/anolisaSkill6889d agoApache-2.0A60Claude Code, Codex
pr-bodyalibaba/anolisaSkill6889d agoApache-2.0A68Claude Code, Codex
prompt-scanneralibaba/anolisaSkill6889d agoApache-2.0A103Claude Code, Codex