building-edgespark-apps

building-edgespark-apps is a skill for Codex from edgesparkhq/codex-plugins. It costs 55 tokens per session (1,392 once invoked), scanned A, original, MIT.

A set of instructions for building and changing EdgeSpark apps, including work with its command-line tool, server types, browser package, storage, authentication, databases, and deployment.

In plain words
What is it for?
Use it in projects with an edgespark.toml file or whenever you are implementing EdgeSpark features, authentication, data storage, database workflows, or deployment.
Why use it?
It helps the coding agent follow the project's generated types and supported EdgeSpark workflow instead of guessing at the platform's interfaces.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

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.

agentmods
npx agentmods add skills/edgesparkhq/codex-plugins/building-edgespark-apps
Any agent
npx skills add edgesparkhq/codex-plugins --skill building-edgespark-apps
Clone the repo
git clone --depth 1 https://github.com/edgesparkhq/codex-plugins

Made for: 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 building-edgespark-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/edgesparkhq/codex-plugins/building-edgespark-apps.svg)](https://agentmods.dev/skills/edgesparkhq/codex-plugins/building-edgespark-apps)
Your own site
<a href="https://agentmods.dev/skills/edgesparkhq/codex-plugins/building-edgespark-apps"><img src="https://agentmods.dev/badge/skills/edgesparkhq/codex-plugins/building-edgespark-apps.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00055 $0.01392
Opus 5 $0.00028 $0.00696
Sonnet 5 $0.00011 $0.00278
Haiku 4.5 $0.00006 $0.00139

Measured 6d ago against content hash 50c9ddf864ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

building-edgespark-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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/edgespark/skills/building-edgespark-apps/SKILL.md · 129 lines

How it starts

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

EdgeSpark App Development

Use this skill for EdgeSpark-specific implementation and workflow decisions.

This skill is not EdgeSpark documentation. For exact contracts, read source, generated types, CLI help, and docs/Mintlify MCP. Use this skill for workflow, guardrails, and bug-prevention.

The reliable public surface in this repo is:

  • the edgespark CLI
  • scaffolded project structure from edgespark init
  • generated src/__generated__/edgespark.d.ts
  • generated src/__generated__/server-types.d.ts
  • the @edgespark/web browser SDK

Use @edgespark/web and authUI.mount() as the default browser auth path for this repo unless custom forms are explicitly requested.

Read Order

Read only what is needed for the task:

  1. edgespark.toml
  2. repo or project agent instruction file (AGENTS.md, CLAUDE.md, or GEMINI.md)
  3. src/__generated__/edgespark.d.ts
  4. src/__generated__/server-types.d.ts
  5. src/defs/index.ts, src/defs/db_schema.ts, src/defs/db_relations.ts, src/defs/runtime.ts, src/defs/storage_schema.ts
  6. node_modules/@edgespark/web/dist/index.d.ts when installed for exact browser SDK types
  7. node_modules/@edgespark/web/README.md when installed for managed auth appearance variable meanings and defaults

Then load the specific reference you need:

Hard Rules

  • Run edgespark <command> --help before assuming flags or exact behavior.
  • Run edgespark commands on behalf of the user. Only hand off steps that explicitly require a human browser action.
  • Never run multiple edgespark commands in parallel.
  • Treat scaffolded src/__generated__/edgespark.d.ts and src/__generated__/server-types.d.ts as placeholders until edgespark pull types populates them.
  • Do not edit files under src/__generated__/.
  • Use @edgespark/web for new browser code.
  • Use es.api.fetch() for app API calls, not bare fetch() to same-origin app routes.
  • Use authUI.mount() for managed auth UI unless custom forms are explicitly requested.
  • For managed auth theming, use appearance.theme and appearance.variables from @edgespark/web; do not tell users to edit SDK CSS for routine light/dark or brand theming.
  • For custom browser auth flows, use client.auth from @edgespark/web, not manual /api/_es/auth/* calls.
  • Import auth from edgespark/http, not edgespark.
  • Auth is a managed service at /api/_es/auth/. OAuth callback URLs use /api/_es/auth/callback/<provider>, not /api/auth/.
  • Treat /api/_es/auth/*, storage provider details, and deployment internals as platform implementation details unless the user is explicitly debugging them.
  • Do not import runtime SDK values from edgespark inside src/defs/**.
  • Use db.batch() instead of db.transaction().
  • Use migration workflow for schema changes. Do not use DDL through edgespark db sql.
  • Store S3 URIs in the database and return presigned URLs to clients.
  • For client-originated uploads, generate presigned PUT URLs instead of streaming files through the Worker.
  • Update src/defs/runtime.ts before using vars.get() or secret.get().
  • Use edgespark ... --help for exact command syntax instead of duplicating help text in this skill.
  • If exact behavior is unclear, prefer source code, generated types, or docs MCP over guessing.

Read the full file on GitHub · 129 lines

Files

What ships with it

6 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. 6d ago First seen · 129 lines · 55 tokens per session scan A 50c9ddf864ad

Subscribe to this mod's changes

building-edgespark-apps is a skill published in the GitHub repository edgesparkhq/codex-plugins (1 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 1,392 once invoked, about $0.0003 per session on Opus 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-08-31.