This gives Claude the patterns for building fault-tolerant Python apps with DBOS's durable workflow system. It covers the critical stuff like proper lifecycle setup (you need to configure and launch DBOS in your main function), the workflow and step model (external calls must be steps, workflows must be deterministic), and concurrency control through queues. The guidelines are organized by priority, from lifecycle basics to advanced patterns, with specific guardrails like not calling start_workflow from steps and avoiding global state mutations. If you're building systems that need to survive failures or coordinate distributed work in Python, the workflow communication patterns and queue controls are worth the read.

skills.sh installs
858
GitHub stars
20
last updated
Aug 21, 2026

Install

$ npx -y skills add dbos-inc/agent-skills --skill dbos-python --agent claude-code

Installs into .claude/skills of the current project.

Files

DBOS Python Best Practices

Guide for building reliable, fault-tolerant Python applications with DBOS durable workflows. Targets DBOS Python 3.x.

When to Apply

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
  • Upgrading DBOS Python 2.x code to 3.x

Rule Categories by Priority

PriorityCategoryImpactPrefix
1LifecycleCRITICALlifecycle-
2WorkflowCRITICALworkflow-
3StepHIGHstep-
4QueueHIGHqueue-
5CommunicationMEDIUMcomm-
6PatternMEDIUMpattern-
7TestingLOW-MEDIUMtest-
8ClientMEDIUMclient-
9AdvancedLOWadvanced-

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

Sponsors

Details

Repository
github.com/dbos-inc/agent-skills
Categories
Documentation, AI & Agent Building, Python
First seen
Jun 3, 2026

More from dbos-inc/agent-skills

All 2
1framara avatarreact-flowframara/react-flow-skillExpert guidance for React Flow (@xyflow/react): building interactive node-based graphs, custom nodes and edges, handles, state management, layouting, TypeScript857skills.sh installs
2pproenca avatarclean-codepproenca/dot-skillsUse when writing, reviewing, or refactoring code for maintainability and readability. Triggers on code reviews, naming discussions, function design, error handl857skills.sh installs
3black-forest-labs avatarflux-best-practicesblack-forest-labs/skillsComprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and mode854skills.sh installs
4chrisbanes avatarkotlin-types-value-classchrisbanes/skillsUse when writing or reviewing Kotlin type declarations to choose @JvmInline value class over data class where appropriate, including Compose stability implicati844skills.sh installs
5guia-matthieu avataryc-pitch-deckguia-matthieu/clawfu-skillsCreate a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founde841skills.sh installs
6cap-go avatarcocoapods-to-spmcap-go/capgo-skillsGuide to migrating an existing Capacitor iOS app from CocoaPods to Swift Package Manager (SPM). Use this skill when users want Capacitor 8-style SPM projects, n836skills.sh installs