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.
npx skills add GCWing/Sparo-OS --skill product-app-apigit clone --depth 1 https://github.com/GCWing/Sparo-OSWrote 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.
[](https://agentmods.dev/skills/gcwing/sparo-os/product-app-api)<a href="https://agentmods.dev/skills/gcwing/sparo-os/product-app-api"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-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.
<a href="https://agentmods.dev/skills/gcwing/sparo-os/product-app-api"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01693 |
| Opus 5 | $0.00032 | $0.00847 |
| Sonnet 5 | $0.00013 | $0.00339 |
| Haiku 4.5 | $0.00006 | $0.00169 |
Grade A, and why
product-app-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 9d 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.
- `app.net.fetch(url, opts)` How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Product App API Skill
Use this skill for Product App runtime code and platform capability work. Prefer current tool output, scaffold files, and package validation results over memory.
Runtime Model
ui.jsruns in the iframe/browser environment. It uses the DOM, standard browser APIs, ESM imports, andwindow.app.worker.jsis optional backend logic running in a separate JavaScript Worker host. Customapp.call(method, params)calls only methods exported byworker.js.source_manifest.jsondescribes entrypoints:uiEntry, optionalworkerEntry,styleEntries, andbuildMode. Current built-in apps usenativeEsm.esm_dependencies.jsonis the browser import-map dependency array, not an object. Write[]when there are no dependencies.- Extra source files are read from
source/. Do not handwriteprivate_surface_sources; edit package source files. - A Product App surface
implementationRefmust beapp://<app-id>@<version>/surfaces/<surface-id>. Do not fall back to oldbundle://surface-components/...refs.
window.app Capabilities
The runtime adapter exposes window.app. A common alias is:
const runtime = () => window.app || {};
Basic properties:
app.appIdapp.appDataDirapp.workspaceDirapp.themeapp.localeapp.platformapp.mode
Host capabilities:
app.fs.readFile/writeFile/readdir/stat/mkdir/rm/copyFile/rename/appendFileapp.shell.exec(command, opts)app.net.fetch(url, opts)app.os.info()app.storage.get(key)/app.storage.set(key, value)app.dialog.open/save/messageapp.clipboard.writeText/readTextapp.ai.complete/chat/cancel/getModelsapp.backend.call/cancel/status/cancelRun/cancelStaleRuns/turnText/onEvent/offEventapp.host.fillChatInput(text)app.deck.renderPage(opts)app.log.debug/info/warn/errorapp.onActivate/onDeactivate/onThemeChange/onLocaleChangeapp.i18n.t(key, params, fallback),app.i18n.setMessages(messages),app.i18n.onChange(fn)app.t(localeTable, fallback): selects text from{ "zh-CN": "...", "en-US": "..." }using the current locale.app.on(event, fn)/app.off(event, fn): subscribes to runtime events,worker:*,backend:event, and similar events.app.ui: runtime UI Kit. UI details belong inproduct-app-ui-polish.
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.
- 9d ago First seen · 157 lines · 65 tokens per session scan A b669a5aeede8
product-app-api is a skill published in the GitHub repository GCWing/Sparo-OS (20 stars, last pushed 28d ago), licensed MIT. It adds 65 tokens to every session and 1,693 once invoked, about $0.0003 per session on Opus 5. 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-08-30.
Other skills, from other repositories
App Files And APIs
Use the frontend API surface correctly for app files, discovery, identity, and permission-aware browser data access.
copilotkit-upgrade
Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.
nextjs-pages-router
Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.
with-tanstack-query
Compose Angular Query with signal-owned Table filtering, sorting, and pagination state using reactive query options, manual row-model boundaries, direct query data, server counts, and valid injection context.
auth-web-cloudbase
CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.
service-digital-engagement-channel-configure
Configures and deploys enhanced chat Messaging Channels for Messaging for In-App and Web (MIAW). Use when the user needs to create, deploy, and activate a messaging channel configured with Omni-Channel Flow, Omni-Channel Queue, User, or Agentforce Service Agent routing. Generates MessagingChannel metadata, deploys it…