principle-make-operations-idempotent
An agent skill by cursor, from cursor/plugins. Tags: automation, devops, resilience, validation, workflow.
What it does
Apply when designing commands, lifecycle steps, or processing loops that run amid crashes, restarts, and retries. Converge to the same end state regardless of partial prior runs.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add cursor/plugins --skill principle-make-operations-idempotent
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/cursor/plugins
cp -r plugins/pstack/skills/principle-make-operations-idempotent ~/.claude/skills/principle-make-operations-idempotent
Safety box score
Grade A, minimal risk: 0 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill is documentation-only guidance for designing idempotent operations. It ships no executable code, makes no network or filesystem changes itself, and does not touch accounts or secrets; the only blast-radius consideration is how its advice might be applied to other operations elsewhere.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 0 (none) | Only a Markdown guidance file is present (`SKILL.md`); there are no scripts, commands, or code to run. |
| Network access | 0 (none) | The skill contains no download, upload, API, or remote-host communication behavior. |
| Filesystem reach | 0 (none) | It does not read, write, or delete files; it only describes how to design operations conceptually. |
| Secrets & credentials | 0 (none) | No tokens, passwords, key files, `.env` access, or credential handling are mentioned. |
| Privilege & persistence | 0 (none) | There is no sudo, service registration, shell startup editing, or other privilege-changing action. |
| Instruction hijack surface | 0 (none) | No hidden prompts, instruction overrides, or requests to follow external content appear in `SKILL.md`. |
| Irreversible actions | 0 (none) | It does not itself deploy, post, pay, delete, or otherwise act autonomously; it only gives design guidance. |
| Transparency | 0 (none) | The skill is fully readable and contains no binaries, minified code, base64 blobs, or generated installers. |
Before installing
- Confirm the skill path contains only `SKILL.md` and no executable scripts or installers.
- Verify you are installing guidance only; this skill adds no automation, permissions, or secrets access.
Rated 2026-10-20 by an automated review of 1 file from the skill's repository.
Source
- Repository
- cursor/plugins (all skills from this repository)
- Path
- pstack/skills/principle-make-operations-idempotent/SKILL.md
- Branch
- main
- Collection
- cursor
- Updated
- 2026-09-23
Related skills
- cli-for-agents — Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin/pipelines, fast actionable errors.
- create-verification-skill — Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
- claude-code-hooks — How to write, test, register, and debug Claude Code hooks — PreToolUse / PostToolUse / SessionStart / Stop Bash guards that enforce a rule the model would.
- macos-watchdog — Design, deploy, and discipline macOS launchd watchdogs — LaunchAgents/LaunchDaemons that detect a recurring problem and auto-remediate it.
- automate-me — Use for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill".
- cancel-ralph — Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.