Dbos Python
Automates database interactions and data processing tasks using Python scripts within your dbOS environment.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add dbos-python npx -- -y @trustedskills/dbos-python
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"dbos-python": {
"command": "npx",
"args": [
"-y",
"@trustedskills/dbos-python"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to automate database interactions and data processing tasks using Python scripts within a dbOS environment. It provides guidelines for building reliable, fault-tolerant Python applications utilizing DBOS durable workflows, including configuring and launching applications, managing concurrency with queues, and implementing communication between workflows. The skill focuses on best practices for integrating DBOS into existing Python codebases.
When to use it
- Adding DBOS functionality to existing Python code.
- Creating new workflows and individual steps within a dbOS application.
- Implementing concurrent task processing using queues.
- Configuring and launching DBOS applications.
- Testing the behavior of DBOS applications.
Key capabilities
- Defining workflows composed of deterministic steps.
- Using
@DBOS.workflowto designate workflow functions. - Utilizing
@DBOS.stepto mark functions performing complex operations or accessing external services. - Configuring and launching DBOS applications with a
DBOSConfig. - Managing concurrency using queues.
- Implementing communication between workflows via events, messages, and streams.
Example prompts
- "Create a dbOS workflow that calls an external API."
- "How do I configure my Python application to launch within DBOS?"
- "Show me an example of using a queue for concurrency control in dbOS."
Tips & gotchas
- Workflows must be deterministic; non-deterministic operations should be placed within steps.
- Avoid calling
DBOS.start_workfloworDBOS.recvfrom within a step. - Refer to the detailed rule files (e.g.,
references/lifecycle-config.md,references/workflow-determinism.md) for comprehensive explanations and examples.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.