Agent skill

Rust Idempotent Workflows

by hashgraph-online in hashgraph-online/awesome-codex-plugins

A skill your agent uses when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background…

MITAuto-check passedDevelopment

Install Rust Idempotent Workflows

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill rust-idempotent-workflows -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins rust-idempotent-workflows --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/LVTD-LLC/skills/skills/rust-idempotent-workflows .claude/skills/rust-idempotent-workflows && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-idempotent-workflows
GitHub stars
1.2k
Token cost
~807 tokens
SKILL.md length
338 words
Files
5 (incl. references)
Skills in repo
686
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background…

  • Works in 7 steps: Write the failure story before writing… → Identify the idempotency boundary: HTTP… → Choose the idempotency strategy → …
  • Debugging Rust service workflows that must be safe under retries
  • SKILL.md covers Core Workflow, Idempotency Key Rules, Background Work Rules and Concurrency Rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rust Idempotent Workflows is an agent skill from hashgraph-online/awesome-codex-plugins. Use when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background workers, queues, email/payment/notification side effects, idempotency keys, transaction isolation, or save-and-replay API behavior.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `references/background-workers.md` and `references/concurrency.md`). Compatibility notes: Codex, Claude Code, and other Agent Skills-compatible clients.

It sits in Development. It works with Rust. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Debugging Rust service workflows that must be safe under retries
  • Duplicate requests
  • Concurrent submissions
  • Background workers

Example prompts

  • “/rust-idempotent-workflows”

Requirements

  • Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients.

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Write the failure story before writing code. List what happens if the process
  2. Identify the idempotency boundary: HTTP endpoint, command handler, queue job,
  3. Choose the idempotency strategy
  4. Put state transitions and idempotency records in the same transaction when
  5. Make duplicate concurrent requests deterministic. Use unique constraints,
  6. Treat external side effects as at-least-once unless the provider guarantees
  7. Add tests for duplicate requests, retry after timeout, concurrent requests,

What it can do on your machine

Read from SKILL.md and the folder at commit 78497e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Codex, Claude Code, and other Agent Skills-compatible clients.

    From compatibility in the SKILL.md frontmatter.

Context cost

Rust Idempotent Workflows loads about 807 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 338 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~807
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its MIT licence (© hashgraph-online). 338 words, ~807 tokens.

Download SKILL.mdSave it as .claude/skills/rust-idempotent-workflows/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
rust-idempotent-workflows
description
Use when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background workers, queues, email/payment/notification side effects, idempotency keys, transaction isolation, or save-and-replay API behavior.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.1.0
metadata.displayName
Rust Idempotent Workflows
metadata.category
Rust
metadata.tags
rust,idempotency,retries,background-jobs,concurrency

Rust Idempotent Workflows

Use this skill to make Rust workflows reliable when clients retry, workers crash, requests race, and external side effects cannot be rolled back.

Core Workflow

  1. Write the failure story before writing code. List what happens if the process crashes after each database write and after each external side effect.
  2. Identify the idempotency boundary: HTTP endpoint, command handler, queue job, webhook, or external callback.
  3. Choose the idempotency strategy:
    • Natural idempotency from a unique business key.
    • Client-provided idempotency key with save-and-replay.
    • Server-generated deduplication key.
    • Outbox or queue table for side effects.
  4. Put state transitions and idempotency records in the same transaction when they must agree.
  5. Make duplicate concurrent requests deterministic. Use unique constraints, locks, serializable transactions, or explicit conflict handling.
  6. Treat external side effects as at-least-once unless the provider guarantees more. Store enough state to retry or reconcile.
  7. Add tests for duplicate requests, retry after timeout, concurrent requests, crash windows when practical, and worker retry behavior.

Idempotency Key Rules

Read references/idempotency.md before adding idempotency keys or save-and- replay behavior.

  • Bind the key to the authenticated user or tenant.
  • Store a hash of the request payload when replaying responses.
  • Return the original response for exact replays.
  • Reject reuse of the same key with a different payload.
  • Expire records only after product and provider retry windows have passed.

Background Work Rules

Read references/background-workers.md when adding queue tables, polling workers, retries, or external side effects.

  • Commit durable intent before sending external effects.
  • Use pending, in_progress, succeeded, and failed states deliberately.
  • Keep retry counts, next-attempt timestamps, and last error summaries.
  • Make workers safe to run in multiple processes.

Concurrency Rules

Read references/concurrency.md when duplicate requests, locks, isolation levels, or unique constraints are part of the fix.

Use the database as the source of truth for deduplication when multiple app instances can process the same workflow.

Reference Files

  • references/idempotency.md: idempotency keys, save-and-replay, and request payload binding.
  • references/background-workers.md: queue tables, worker loops, retry boundaries, and outbox behavior.
  • references/concurrency.md: lock choices, transaction isolation, and duplicate request tests.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in plugins/LVTD-LLC/skills/skills/rust-idempotent-workflows of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • agents/openai.yaml
  • references/background-workers.md
  • references/concurrency.md
  • references/idempotency.md

Open the folder on GitHubat commit 78497e5

Compare with similar skills

Rust Idempotent Workflows next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Idempotent Workflows compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Idempotent Workflows this skillhashgraph-online/awesome-codex-plugins1.2k—~807Automated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
OpenLogi macOS Permissions TriageAprilNEA/OpenLogi23k—~2.5kAutomated safety check: NotesApache-2.0
RTK Rust Design Patternsrtk-ai/rtk83k—~1.9kAutomated safety check: PassApache-2.0
Release Skillsnexmoe/eve4213 repos~3.3kAutomated safety check: PassNone

Similar skills

  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 4 days ago
    DevelopmentAuto-check: notes
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Release Skills

    nexmoe/eve

    Universal release workflow. An agent skill from nexmoe/eve.

    421 GitHub starsUsed in 3 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Pnpm Engine

    teambit/bit

    Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.

    18k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 686 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Manuscript Engagement Analytics

    hashgraph-online/awesome-codex-plugins

    Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…

    1.2k GitHub stars~875 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Rust Idempotent Workflows

What does Rust Idempotent Workflows do?

A skill your agent uses when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background…. Rust Idempotent Workflows is an agent skill from hashgraph-online/awesome-codex-plugins. Use when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background workers, queues, email/payment/notification side effects, idempotency keys, transaction isolation, or save-and-replay API behavior.

When should I use Rust Idempotent Workflows?

Rust Idempotent Workflows fits situations like: debugging Rust service workflows that must be safe under retries; duplicate requests; concurrent submissions; background workers.

How do I install Rust Idempotent Workflows in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill rust-idempotent-workflows -a claude-code`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/rust-idempotent-workflows in hashgraph-online/awesome-codex-plugins) into .claude/skills/rust-idempotent-workflows in your project. Claude Code loads it when a task matches its description.

How do I install Rust Idempotent Workflows in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill rust-idempotent-workflows -a codex`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/rust-idempotent-workflows in hashgraph-online/awesome-codex-plugins) into .agents/skills/rust-idempotent-workflows in your project. Codex loads it when a task matches its description.

Can I use Rust Idempotent Workflows in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill rust-idempotent-workflows -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-idempotent-workflows, .gemini/skills/rust-idempotent-workflows, .github/skills/rust-idempotent-workflows and .opencode/skills/rust-idempotent-workflows in your project.

What does Rust Idempotent Workflows need to run?

SKILL.md names no scripts, command-line tools or credentials: Rust Idempotent Workflows is instructions for the agent only. Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients..

Does Rust Idempotent Workflows access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Idempotent Workflows safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rust Idempotent Workflows use?

Rust Idempotent Workflows is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rust Idempotent Workflows use?

About 807 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 967 tokens, read only when the agent opens those files.

What are the alternatives to Rust Idempotent Workflows?

Skills that share tags, products or a category with Rust Idempotent Workflows: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars) and RTK Rust Design Patterns (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Idempotent Workflows?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.