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-pythongit 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-python)<a href="https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-python"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-basic-ephemeral-world-usage-python.svg" alt="Measured on agentmods" 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.00074 | $0.01981 |
| Opus 5 | $0.00037 | $0.00991 |
| Sonnet 5 | $0.00015 | $0.00396 |
| Haiku 4.5 | $0.00007 | $0.00198 |
Grade A, and why
resonate-basic-ephemeral-world-usage-python 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 8d 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 — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resonate Basic Ephemeral World Usage — Python
Overview
The ephemeral world is anywhere your Python process starts: a main(), a FastAPI route, an HTTP handler, a script, a worker entry point. You use the Resonate class to register durable functions and invoke them. Once an invocation starts, it crosses into the durable world and Resonate guarantees its completion — retries on failure, resumes after crashes, continues across restarts.
This skill covers the Client API surface. The Durable World (Context APIs) lives in resonate-basic-durable-world-usage-python.
Preconditions
- Python ≥ 3.12 (the SDK uses recent typing features).
resonate-sdkon PyPI.- A running Resonate server (
resonate devstarts one onlocalhost:8001). The Rust server v0.9.x runs on a single port — no separate store port.
Install
uv add 'resonate-sdk>=0.7.0'
# or: pip install 'resonate-sdk>=0.7.0'
# or: poetry add 'resonate-sdk>=0.7.0'
Initialize
from __future__ import annotations
import os
from resonate.resonate import Resonate
url = os.environ.get("RESONATE_URL", "http://localhost:8001")
# Connect to a Resonate server
r = Resonate(url=url)
# With a named group (required for rpc routing to a specific worker pool)
r = Resonate(url=url, group="order-workers")
# With a default retry policy
from resonate.retry import Never
r = Resonate(url=url, retry_policy=Never())
One Resonate instance per process. The server is always required for durable execution across restarts and multi-process coordination.
Register a durable function
Durable functions in the Python SDK v0.7.0 are async def coroutines. Register them explicitly after definition:
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from resonate.context import Context
async def process_order(ctx: Context, order_id: str) -> dict:
# ctx is the Context; everything inside the function body runs in the durable world
return {"order_id": order_id, "status": "done"}
r.register(process_order)
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.
- 8d ago First seen · 258 lines · 74 tokens per session scan A 4177a0f14799
resonate-basic-ephemeral-world-usage-python is a skill published in the GitHub repository resonatehq/resonate-skills (6 stars, last pushed 16d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,981 once invoked, about $0.0004 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.
Other skills, from other repositories
create-workflow-python
This skill creates a Dapr workflow application in Python. Use this skill when the user asks to "create a workflow in Python", "write a Python workflow application" or "build a workflow app in Python".
fastapi-pro
Production FastAPI patterns — async endpoints, SQLAlchemy 2.0 async, Pydantic V2, dependency injection, JWT auth, testing. Use for Python 3.11+ FastAPI backends. NOT for Django (→ django-patterns) or Node.js (→ backend-patterns).
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
azure-mgmt-botservice-py
Azure Bot Service Management SDK for Python. Use for creating, managing, and configuring Azure Bot Service resources. Triggers: "azure-mgmt-botservice", "AzureBotService", "bot management", "conversational AI", "bot channels".
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".
fastapi-app
Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Use when the user wants to start, scaffold, or set up a new FastAPI service, a Python REST API, an async backend, or asks to "create a new fastapi app" or "new python backend". Handles JWT auth, layered…