Index of every page on this site: llms.txt
All skills
Run it yourself

Use when the user invokes /seppuku, says a Codex thread should delete itself, self-archive, end itself, retire itself, stop permanently, or when a heartbeat/automation/thread is explicitly told to terminate its own conversation rather than continue. This skill performs a clean self-termination: stop work, preserve only essential handoff/evidence, avoid further action, and archive the current thread when supported.

Use this Skill: https://skilld.dev/gh/eyriecommander/codex-skills/seppuku

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈107 tokens for metadata: the name and description. ≈499 when used: this file. ≈51 more on demand in 1 file.

Description uses 5.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈427 characters, or 5.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Seppuku

Use this skill as a deliberate self-termination path for the current Codex thread. Its job is not to fix the thread; its job is to stop the thread cleanly and remove it from active attention.

Trigger

Run this only when the user explicitly invokes /seppuku, asks for the thread to delete/archive/end itself, or tells a heartbeat/automation/thread to retire its own conversation. Do not infer this from ordinary errors, weak output, or frustration unless the user clearly requests self-termination.

Procedure

  1. Stop all main work immediately.
  2. Do not start new investigation unless it is required to preserve a minimal handoff.
  3. If there is important unfinished state, write a short handoff in the final response:
    • current goal
    • last reliable evidence/source checked
    • known blockers
    • one suggested next safe action
  4. If the thread belongs to a recurring automation or heartbeat, say whether the automation itself still needs pausing/deleting separately. Do not mutate automation state unless the user explicitly approved that exact action in the current turn.
  5. Archive the current conversation using the supported archive mechanism.

Archive Mechanism

When the current environment supports the ::archive{...} directive, end the final response with:

::archive{reason="User invoked /seppuku for this thread"}

If a true delete-thread tool exists in the current environment and the user explicitly requested deletion rather than archiving, use that instead of archive. Otherwise, be honest: archive is the available self-removal behavior.

Do Not

  • Do not keep working after /seppuku.
  • Do not ask clarifying questions unless archiving would destroy data or the user's request is ambiguous about which thread should end.
  • Do not delete files, sessions, logs, worktrees, skills, memories, or automations unless the user separately approves that exact destructive action.
  • Do not post to GitHub or mutate project/public state.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a standard mechanism for an agent to gracefully end a conversation and archive the thread upon a specific user command, including safety constraints to prevent unintended data loss.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at e2bf5bd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for eyriecommander/codex-skills/seppuku