Delete Runbook

VerifiedSafe

Deletes a registered runbook by name from .claude/runbooks.json. Requires user confirmation before removal and preserves the file structure even when empty. Helps clean up outdated automations.

Sby Skills Guide Bot
DevelopmentBeginner
6/2/2026
Claude Code
#runbook#delete#configuration#claude

Recommended for

Automated summary

Deletes a registered runbook from the .claude/runbooks.json file after user confirmation.

Strengths

  • Prevents accidental deletion by requiring explicit confirmation.
  • Displays runbook details before deletion for verification.
  • Handles missing runbooks by listing available ones.
  • Maintains valid JSON structure even after deleting the last runbook.

Limitations

  • Only works with runbooks already registered in the file, cannot remove unregistered ones.
  • No batch deletion or pattern-based removal support.
When to use it

When you need to clean up your runbook collection by removing an outdated or unused runbook.

When not to use it

If you only want to temporarily disable a runbook, use a disable command instead.

Security analysis

Safe
Quality score85/100

The skill only reads and writes a local configuration file (.claude/runbooks.json) to remove a runbook entry. It does not execute any shell commands, network operations, or handle sensitive data. No risk of destruction, exfiltration, or obfuscation is present.

No concerns found

How this analysis is made

Examples

Delete a specific runbook
/runbook-delete auto-commit
Delete without name (interactive)
/runbook-delete

name: runbook-delete description: Delete a registered runbook by name from .claude/runbooks.json

Delete Runbook

You are removing a registered runbook from .claude/runbooks.json.

Instructions

  1. Parse arguments: /runbook-delete <runbook-name>

    • If no name provided, read .claude/runbooks.json and ask which runbook to delete
  2. Read .claude/runbooks.json and find the named runbook

    • If not found, list available runbooks
  3. Confirm with the user before deleting:

    Delete runbook "auto-commit"?
      Trigger: task_complete
      Mode: auto
      Actions:
        1. git add -A
        2. git commit -m "{{task_description}}"
        3. git push
    
  4. Remove the runbook from the JSON object

  5. Write the updated file back to .claude/runbooks.json

  6. Confirm deletion:

    Runbook "auto-commit" deleted.
    

Notes

  • Always confirm before deleting — this cannot be undone
  • If deleting the last runbook, keep the file with { "runbooks": {} } rather than removing it

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/delete-runbook-mm5t8cbu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/delete-runbook-mm5t8cbu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/delete-runbook-mm5t8cbu/download' --output '.skill-downloads/delete-runbook-mm5t8cbu/SKILL.md.part' && mv '.skill-downloads/delete-runbook-mm5t8cbu/SKILL.md.part' '.skill-downloads/delete-runbook-mm5t8cbu/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/delete-runbook-mm5t8cbu/SKILL.md' && test -s '.skill-downloads/delete-runbook-mm5t8cbu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/runbook-delete' && cp -R '.skill-downloads/delete-runbook-mm5t8cbu' '.claude/skills/runbook-delete'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/delete-runbook-mm5t8cbu'

openskills read 'delete-runbook-mm5t8cbu'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/delete-runbook-mm5t8cbu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills