Skip to content
Agent Memory
Skill

/ctx-delete

Delete the latest session in a ContextFun workstream, or delete a specific session id.

BOOST
From plugin
dchu917-ctx
1277 skills
Install
$ npx -y skills add dchu917/ctx --skill ctx-delete --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ctx-delete

Context preview

The summary Claude sees to decide when to auto-load this skill.

Delete the latest session in a ContextFun workstream, or delete a specific session id.

SKILL.md

ctx-delete.SKILL.md
name: ctx delete
description: Delete the latest session in a ContextFun workstream, or delete a specific session id.

Usage

  • In chat:
  • `/ctx delete <workstream>` — deletes the latest session in that workstream
  • `/ctx delete --session-id <id>` — deletes that specific session

What it runs

  • `bash ./scripts/ctx_delete.sh`
  • Falls back to `ctx delete` or `python3 scripts/ctx_cmd.py delete`

Notes

  • This is destructive.
  • Workstream deletion targets the latest session in the named workstream.
Ships withdchu917-ctx

Local context manager for Claude Code and Codex. Keep exact conversation bindings, resume work cleanly, branch context without mixing streams, and optionally inspect saved workstreams in a local browser frontend.

Get the whole plugin
Stats
127
Stars
10
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
6mo ago
Created
16h ago
Added

Repo: dchu917/ctx

Other skills on dchu917-ctx.