agentsop-llm-tool-idempotency
CommunityPrevent double-sends from tool retries.
Software Engineering#distributed systems#langgraph#idempotency#mcp tools#llm agents#tool safety#retry deduplication
Authoragentsope
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents side-effectful LLM agent tools from executing twice when retries happen due to timeouts, framework resume, or duplicate tool-call emissions, avoiding outcomes like duplicate emails, double charges, and duplicate records.
Core Features & Use Cases
- Decision protocol for at-most-once effects: Implements the rule that the LLM is at-least-once while the tool must engineer at-most-once execution using a caller-supplied idempotency key and dedup at the execution boundary.
- Framework-agnostic operating models (OP-1..OP-8): Covers native idempotency APIs (e.g., Stripe-style headers), internal dedup tables, content-addressed writes, database upsert/insert patterns, saga compensation, and orchestrator-specific guidance for LangGraph interrupts and MCP tool schemas.
- Production guardrails and failure handling: Includes dilemma cases, anti-patterns, conflict handling rules (e.g., same key different args), and cross-framework comparisons to ensure duplicates are blocked rather than silently re-triggered.
Quick Start
Ask an engineer to implement idempotency keys for a side-effect tool so that retries become safe no-ops instead of double-send behavior.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: agentsop-llm-tool-idempotency Download link: https://github.com/agentsope/SkillAlchemy/archive/main.zip#agentsop-llm-tool-idempotency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.