Ctx
ctxrs/ctx
Use ctx as working memory for prior agent work. An agent skill from ctxrs/ctx.
Delete the latest session in a ContextFun workstream, or delete a specific session id.
$ npx skills add dchu917/ctx --skill ctx-delete -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dchu917/ctx ctx-delete --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex/ctx-delete .claude/skills/ctx-delete && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .claude/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-deleteType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dchu917/ctx --skill ctx-delete -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dchu917/ctx ctx-delete --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/codex/ctx-delete .agents/skills/ctx-delete && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .agents/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dchu917/ctx --skill ctx-delete -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dchu917/ctx ctx-delete --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/codex/ctx-delete .cursor/skills/ctx-delete && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .cursor/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dchu917/ctx.git --path skills/codex/ctx-delete--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dchu917/ctx --skill ctx-delete -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dchu917/ctx ctx-delete --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/codex/ctx-delete .gemini/skills/ctx-delete && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .gemini/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dchu917/ctx ctx-deleteInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dchu917/ctx --skill ctx-delete -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/codex/ctx-delete .github/skills/ctx-delete && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .github/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dchu917/ctx --skill ctx-delete -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dchu917/ctx ctx-delete --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/codex/ctx-delete .opencode/skills/ctx-delete && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ctx-delete" agent skill from https://github.com/dchu917/ctx/tree/main/skills/codex/ctx-delete into .opencode/skills/ctx-delete/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ctx-delete", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ctx-deleteDelete the latest session in a ContextFun workstream, or delete a specific session id.
Ctx Delete is an agent skill from dchu917/ctx. Delete the latest session in a ContextFun workstream, or delete a specific session id.
Its SKILL.md is about 130 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/skills/ctx_delete.sh`).
The repository describes itself as: Local context manager for Claude Code and Codex with workstreams, transcript binding, and branching. The licence is MIT.
Read from SKILL.md and the folder at commit bdb602c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
bashpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ctx Delete loads about 129 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 47 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from dchu917/ctx at commit bdb602c, republished under its MIT licence (© dchu917). 47 words, ~129 tokens.
.claude/skills/ctx-delete/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Usage
ctx-delete <workstream> — deletes the latest session in that workstreamctx-delete --session-id <id> — deletes that specific sessionWhat it runs
bash ./scripts/skills/ctx_delete.shctx delete or python3 scripts/ctx_cmd.py deleteNotes
© dchu917, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in skills/codex/ctx-delete of dchu917/ctx.
Open the folder on GitHubat commit bdb602c
Ctx Delete next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ctx Delete this skilldchu917/ctx | 127 | — | ~129 | Automated safety check: Pass | MIT | |
| Ctxctxrs/ctx | 1.2k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Hunting For Shadow Copy Deletionmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~891 | Automated safety check: Pass | Apache-2.0 | |
| Finding Deleted Feature FlagsPostHog/posthog | 40k | — | ~2k | Automated safety check: Pass | Custom licence | |
| Deleting ThoughtsNateBJones-Projects/OB1 | 4.7k | — | ~995 | Automated safety check: Pass | Custom licence | |
| Recovering Deleted Files With Photorecmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~2.3k | Automated safety check: Notes | Apache-2.0 |
ctxrs/ctx
Use ctx as working memory for prior agent work. An agent skill from ctxrs/ctx.
mukul975/Anthropic-Cybersecurity-Skills
Runs a hypothesis-driven threat hunt for Volume Shadow Copy deletion (T1490) by querying SIEM/EDR telemetry for vssadmin, wmic shadowcopy, and PowerShell shadow-copy-deletion commands.
PostHog/posthog
Find feature flags that were soft-deleted in the active project within a recent time window.
NateBJones-Projects/OB1
A skill your agent uses when asked to delete, remove, purge, wipe, or "get rid of" an Open Brain thought, or before calling deletethought (the open-brain-delete-thought connector), which…
mukul975/Anthropic-Cybersecurity-Skills
Recovers deleted files from disk images and storage media using PhotoRec's file signature-based carving engine, which works regardless of file system damage or corruption.
mksglu/context-mode
Show how much context window context-mode saved this session.
dchu917/ctx
Use or bootstrap the ctx CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.
dchu917/ctx
Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.
dchu917/ctx
Resume a ContextFun workstream and print a markdown pack. An agent skill from dchu917/ctx.
dchu917/ctx
Create a new ContextFun workstream and its first session, then print a markdown pack.
dchu917/ctx
Branch one workstream into a new workstream with a frozen starting snapshot.
Delete the latest session in a ContextFun workstream, or delete a specific session id. Ctx Delete is an agent skill from dchu917/ctx. Delete the latest session in a ContextFun workstream, or delete a specific session id.
Run `npx skills add dchu917/ctx --skill ctx-delete -a claude-code`. Or copy the skill folder (skills/codex/ctx-delete in dchu917/ctx) into .claude/skills/ctx-delete in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dchu917/ctx --skill ctx-delete -a codex`. Or copy the skill folder (skills/codex/ctx-delete in dchu917/ctx) into .agents/skills/ctx-delete in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dchu917/ctx --skill ctx-delete -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ctx-delete, .gemini/skills/ctx-delete, .github/skills/ctx-delete and .opencode/skills/ctx-delete in your project.
Going by SKILL.md and its folder, Ctx Delete needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and python3). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Ctx Delete is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 129 tokens (SKILL.md is roughly 516 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ctx Delete: Ctx (ctxrs/ctx, 1.2k stars), Hunting For Shadow Copy Deletion (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Finding Deleted Feature Flags (PostHog/posthog, 40k stars) and Deleting Thoughts (NateBJones-Projects/OB1, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dchu917 (a GitHub user) maintains it in dchu917/ctx, which has 127 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on April 21, 2026.
Source: dchu917/ctx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.