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 resonatehq/resonate-skills --skill resonate-basic-ephemeral-world-usage-typescriptgit clone --depth 1 https://github.com/resonatehq/resonate-skillsWrote 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/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-typescript)<a href="https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-typescript"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-typescript/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/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-typescript"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00098 | $0.03348 |
| Opus 5.5 | $0.00039 | $0.01339 |
| Sonnet 5.5 | $0.00020 | $0.00670 |
| Haiku 4.5 | $0.00010 | $0.00335 |
Grade A, and why
resonate-basic-ephemeral-world-usage-typescript 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 526 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resonate Basic Ephemeral World Usage
SDK version: This skill reflects
@resonatehq/sdkv0.11.4 (current on npm).Two execution engines (v0.11.0+): The SDK now ships two engines. This skill documents the generator engine (imported from
@resonatehq/sdk), which usesfunction*/yield*and is the basis of all existing Resonate examples. An async/await engine (imported from@resonatehq/sdk/async) was added in v0.11.0 and is documented inresonate-async-await-engine-typescript.
Overview
The Ephemeral World is where your application code lives that is NOT inside generator functions. This is where you:
- Initialize the Resonate Client
- Register functions
- Start top-level executions
- Manage promises externally
- Set dependencies
Key distinction: Ephemeral World code uses resonate (the Client). Durable World code uses ctx (the Context).
Mental Model
┌─────────────────────────────────────────┐
│ EPHEMERAL WORLD (Stateless) │
│ │
│ • Resonate Client initialization │
│ • Function registration │
│ • Top-level run/rpc calls │
│ • Promise management (create/resolve) │
│ • Dependency injection │
│ │
│ Uses: resonate.run(), resonate.rpc() │
└─────────────────────────────────────────┘
↓ invokes ↓
┌─────────────────────────────────────────┐
│ DURABLE WORLD (Stateful) │
│ │
│ • Generator functions with yield* │
│ • Context APIs for sub-invocations │
│ • Durable coordination and recovery │
│ │
│ Uses: ctx.run(), ctx.rpc() │
└─────────────────────────────────────────┘
Core Rule
You CANNOT use Context APIs in the ephemeral world, and you CANNOT use Client APIs in durable functions.
Initialization Patterns
Local Development Mode (Zero Dependencies)
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.
- 2mo ago First seen · 526 lines · 98 tokens per session scan A 372716a72fb5
resonate-basic-ephemeral-world-usage-typescript is a skill published in the GitHub repository resonatehq/resonate-skills (7 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 98 tokens to every session and 3,348 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
golem-js-runtime
JavaScript runtime environment for TypeScript and Scala Golem agents. Use when asking about available APIs, Node.js modules, browser APIs, or runtime capabilities in the QuickJS-based WASM environment.
golem-agent-reflection-ts
Discovering and calling Golem agents through runtime reflection in TypeScript. Use when agent types or methods are selected dynamically, schemas must be inspected at runtime, or only a ParsedAgentId is available.
golem-add-npm-package-effect
Adds npm package dependencies to Effect-based Golem projects. Use when the user asks to add a library, package, or dependency to an @golemcloud/effect-golem application.
golem-add-npm-package
Add a new npm package dependency to a TypeScript Golem project. Use when the user asks to add a library, package, or dependency.
golem-add-sqlite-effect
Use embedded SQLite from an Effect TypeScript Golem agent with the Effect SQL client. Use for local SQL state, SQLite snapshots, or an agent-owned embedded database.
create-workflow-typescript
Creates a TypeScript Dapr app, run locally with dapr run, that demonstrates Workflow, service invocation, pub/sub, bindings, jobs, state and secrets. Use for "create a workflow in TypeScript" or "create a Dapr app in Node.js". For Diagrid Catalyst use the catalyst-ai plugin.