Mordenkainen s sword

From Hmbown/Wizards-of-the-Ghosts · View interactive version

Mordenkainen s sword is an AI agent skill from the GitHub repository Hmbown/Wizards-of-the-Ghosts. Use this spell when you need an autonomous tool with a narrow mandate: a daemon, scheduled worker, watcher, or persistent background agent that repeatedly executes one precise task. It is prototype territory because the hard part is lifecycle control, observability, and safe cancellation, not the si

How to use this skill

Skill file

Mordenkainen’s Sword

Summon a standing process that keeps cutting through one job until dismissed.

What This Skill Does

Use this spell when you need an autonomous tool with a narrow mandate: a daemon, scheduled worker, watcher, or persistent background agent that repeatedly executes one precise task. It is prototype territory because the hard part is lifecycle control, observability, and safe cancellation, not the single action itself.

In this grimoire, Mordenkainen’s Sword is treated as a metaphorical spell with a prototype delivery profile.

Canonical reference input: Mordenkainen’s Sword (spell).

When To Use

Prerequisites

Procedure

  1. Restate the target, the success condition, and any no-touch boundaries before taking action.
  2. Define the worker's single mandate, cadence, start conditions, and stop conditions.
  3. Design the loop for idempotence, observability, safe retries, and deliberate dismissal.
  4. Return a runnable spec with lifecycle hooks, failure handling, and operator controls.
  5. Package the result as the deliverables below, with confidence, assumptions, and unresolved risk called out explicitly.

Deliverables

Pitfalls / Guardrails

Verification

Example Invocation

/mordenkainen-s-sword design a persistent worker for this single job, including how it starts, reports, and stops
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.