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 dbos-inc/agent-skills --skill dbos-rustgit clone --depth 1 https://github.com/dbos-inc/agent-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/dbos-inc/agent-skills/dbos-rust)<a href="https://agentmods.dev/skills/dbos-inc/agent-skills/dbos-rust"><img src="https://agentmods.dev/badge/skills/dbos-inc/agent-skills/dbos-rust/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/dbos-inc/agent-skills/dbos-rust"><img src="https://agentmods.dev/badge/skills/dbos-inc/agent-skills/dbos-rust.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.00068 | $0.01769 |
| Opus 5.5 | $0.00027 | $0.00708 |
| Sonnet 5.5 | $0.00014 | $0.00354 |
| Haiku 4.5 | $0.00007 | $0.00177 |
Grade A, and why
dbos-rust 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 4d 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DBOS Rust Best Practices
Guide for building reliable, fault-tolerant Rust applications with DBOS durable workflows.
When to Apply
Reference these guidelines when:
- Adding DBOS to existing Rust code
- Creating workflows and steps
- Running DBOS calls concurrently inside a workflow
- Using queues for concurrency control
- Implementing workflow communication (events, messages, streams)
- Configuring and launching DBOS applications
- Using the DBOS Client 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
Installation
Add the dbos crate (0.6) and Tokio:
cargo add dbos
cargo add tokio --features full
cargo add serde --features derive
cargo add thiserror tracing-subscriber futures
cargo add --dev uuid --features v4
serde is for workflow inputs and outputs, thiserror for workflow error types, tracing-subscriber to see DBOS's logs, futures for joining DBOS calls (try_join_all), and uuid for fresh workflow IDs in tests.
DBOS runs on Tokio by default; smol and async-global-executor are Cargo features (see references/lifecycle-runtimes.md). DBOS for Rust does not support DBOS Conductor or DBOS Cloud.
DBOS Configuration and Launch
A DBOS application MUST create a DBOS instance, register every workflow, and launch before running any workflows:
use dbos::{Config, DBOS};
async fn my_workflow(_: ()) -> dbos::Result<String> {
Ok("done".to_owned())
}
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
tracing_subscriber::fmt::init();
// Reads the system database URL from DBOS_SYSTEM_DATABASE_URL.
let mut config = Config::from_env("my-app");
config.app_version = Some("0.1.0".to_owned());
let dbos = DBOS::new(config);
// Register every workflow before launch.
let workflow = dbos.register_workflow("my_workflow", my_workflow)?;
dbos.launch().await?;
let result = workflow.run(()).await?;
println!("{result}");
dbos.shutdown().await;
Ok(())
}
What ships with it
42 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 3.0 KB
- CLAUDE.md 9 B
- references/_sections.md 1.8 KB
- references/advanced-application-versions.md 1.5 KB
- references/advanced-interops.md 1.9 KB
- references/advanced-patching.md 2.2 KB
- references/advanced-serialization.md 1.9 KB
- references/advanced-shared-database.md 1.4 KB
- references/advanced-versioning.md 1.5 KB
- references/client-enqueue.md 1.7 KB
- references/client-setup.md 1.5 KB
- references/comm-events.md 1.8 KB
- references/comm-messages.md 2.3 KB
- references/comm-streaming.md 2.0 KB
- references/lifecycle-config.md 2.9 KB
- references/lifecycle-runtimes.md 2.1 KB
- references/pattern-debouncing.md 1.8 KB
- references/pattern-delayed-execution.md 1.4 KB
- references/pattern-idempotency.md 2.1 KB
- references/pattern-scheduled.md 2.2 KB
- references/pattern-sleep.md 1.2 KB
- references/queue-basics.md 2.1 KB
- references/queue-concurrency.md 2.4 KB
- references/queue-deduplication.md 2.2 KB
- references/queue-listening.md 1.1 KB
- references/queue-partitioning.md 2.0 KB
- references/queue-priority.md 1.3 KB
- references/queue-rate-limiting.md 1.2 KB
- references/step-basics.md 1.5 KB
- references/step-concurrency.md 2.0 KB
- references/step-retries.md 3.4 KB
- references/test-setup.md 2.9 KB
- references/workflow-attributes.md 1.6 KB
- references/workflow-background.md 1.4 KB
- references/workflow-capture.md 1.7 KB
- references/workflow-concurrency.md 5.2 KB
- references/workflow-constraints.md 3.1 KB
- references/workflow-control.md 3.4 KB
- references/workflow-determinism.md 2.2 KB
- references/workflow-errors.md 2.2 KB
- references/workflow-introspection.md 1.5 KB
- references/workflow-timeout.md 1.7 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.
- 4d ago First seen · 149 lines · 68 tokens per session scan A 9c3bbd937a33
dbos-rust is a skill published in the GitHub repository dbos-inc/agent-skills (20 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 1,769 once invoked, about $0.0003 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-11-10.
dbos-rust compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dbos-rustdbos-inc/agent-skills | Skill | 20 | 2d ago | MIT | A | 68 | Claude Code, Codex |
| rust-engineerJeffallan/claude-skills | Skill | 12k | 3d ago | MIT | A | 120 | Claude Code |
| azure-eventhub-rustmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 58 | Claude Code |
| azure-eventhub-rustbenjaminasterA/antigravity-awesome-skills | Skill | 481 | yesterday | MIT | A | 0 | Claude Code, Codex |
| rust-gatewayBerriAI/litellm | Skill | 63k | today | none | A | 70 | Claude Code, Codex |
| axumTerminalSkills/skills | Skill | 202 | 6d ago | Apache-2.0 | A | 94 | Claude Code, Codex |
| rust-systemsWrongStack/WrongStack | Skill | 409 | yesterday | MIT | A | 93 | Claude Code |