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 tmolavi/mcp-agent-skills-hub --skill dbos-pythongit clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hubWrote 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/tmolavi/mcp-agent-skills-hub/dbos-python)<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/dbos-python"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/dbos-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.00043 | $0.00703 |
| Opus 5 | $0.00022 | $0.00351 |
| Sonnet 5 | $0.00009 | $0.00141 |
| Haiku 4.5 | $0.00004 | $0.00070 |
Grade A, and why
dbos-python 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
return requests.get("https://api.example.com").json() Copies of this mod
1 near-identical copy found in the catalogue:
- dbos-python — 91% identical, 11 lines differ
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DBOS Python Best Practices
Guide for building reliable, fault-tolerant Python applications with DBOS durable workflows.
When to Use
Reference these guidelines when:
- Adding DBOS to existing Python code
- Creating workflows and steps
- Using queues for concurrency control
- Implementing workflow communication (events, messages, streams)
- Configuring and launching DBOS applications
- Using DBOSClient from external applications
- Testing DBOS applications
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Lifecycle | CRITICAL | lifecycle- |
| 2 | Workflow | CRITICAL | workflow- |
| 3 | Step | HIGH | step- |
| 4 | Queue | HIGH | queue- |
| 5 | Communication | MEDIUM | comm- |
| 6 | Pattern | MEDIUM | pattern- |
| 7 | Testing | LOW-MEDIUM | test- |
| 8 | Client | MEDIUM | client- |
| 9 | Advanced | LOW | advanced- |
Critical Rules
DBOS Configuration and Launch
A DBOS application MUST configure and launch DBOS inside its main function:
import os
from dbos import DBOS, DBOSConfig
@DBOS.workflow()
def my_workflow():
pass
if __name__ == "__main__":
config: DBOSConfig = {
"name": "my-app",
"system_database_url": os.environ.get("DBOS_SYSTEM_DATABASE_URL"),
}
DBOS(config=config)
DBOS.launch()
Workflow and Step Structure
Workflows are comprised of steps. Any function performing complex operations or accessing external services must be a step:
@DBOS.step()
def call_external_api():
return requests.get("https://api.example.com").json()
@DBOS.workflow()
def my_workflow():
result = call_external_api()
return result
Key Constraints
- Do NOT call
DBOS.start_workfloworDBOS.recvfrom a step - Do NOT use threads to start workflows - use
DBOS.start_workflowor queues - Workflows MUST be deterministic - non-deterministic operations go in steps
- Do NOT create/update global variables from workflows or steps
What ships with it
35 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.
- AGENTS.md 2.7 KB
- CLAUDE.md 2.7 KB
- references/_sections.md 1.4 KB
- references/advanced-async.md 2.5 KB
- references/advanced-patching.md 1.5 KB
- references/advanced-versioning.md 1.6 KB
- references/client-enqueue.md 1.4 KB
- references/client-setup.md 1.6 KB
- references/comm-events.md 1.5 KB
- references/comm-messages.md 1.5 KB
- references/comm-streaming.md 1.5 KB
- references/lifecycle-config.md 1.5 KB
- references/lifecycle-fastapi.md 1.5 KB
- references/pattern-classes.md 1.6 KB
- references/pattern-debouncing.md 1.6 KB
- references/pattern-idempotency.md 1.5 KB
- references/pattern-scheduled.md 1.5 KB
- references/pattern-sleep.md 1.3 KB
- references/queue-basics.md 1.3 KB
- references/queue-concurrency.md 1.3 KB
- references/queue-deduplication.md 1.6 KB
- references/queue-listening.md 1.6 KB
- references/queue-partitioning.md 1.8 KB
- references/queue-priority.md 1.5 KB
- references/queue-rate-limiting.md 1.3 KB
- references/step-basics.md 1.3 KB
- references/step-retries.md 1.4 KB
- references/step-transactions.md 1.7 KB
- references/test-fixtures.md 1.4 KB
- references/workflow-background.md 1.3 KB
- references/workflow-constraints.md 1.6 KB
- references/workflow-control.md 2.0 KB
- references/workflow-determinism.md 1.3 KB
- references/workflow-introspection.md 1.8 KB
- references/workflow-timeout.md 1.4 KB
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.
- 3d ago First seen · 101 lines · 43 tokens per session scan A 3cb189adf9c6
dbos-python is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (8 stars, last pushed 11d ago), licensed MIT. It adds 43 tokens to every session and 703 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
async-python-patterns
Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.
pygame-core
Structure a pygame (pygame-ce) game in Python: the init/event/update/draw loop, delta-time movement, Surface/Rect blitting, keyboard/mouse input, and Sprite/Group management with collision. Use when building or debugging a pygame game — when the user mentions pygame, pygame-ce, the game loop, blit, Surface, Rect…
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…
django-pro
Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.
fastapi-pro
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
fastapi-templates
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.