Skip to content
Agent Memory
Skill

/ctx

Use or bootstrap the `ctx` CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.

BOOST
From plugin
dchu917-ctx
1277 skills
Install
$ npx -y skills add dchu917/ctx --skill ctx --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

Context preview

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

Use or bootstrap the `ctx` CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.

SKILL.md

ctx.SKILL.md
name: ctx
description: Use or bootstrap the `ctx` CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.

Use this skill when the user wants to recover prior coding context, continue a named workstream, create a new workstream, rename or delete a workstream, branch context, or open the local browser UI.

Requirements:

  • If `ctx` is missing, use the bundled wrapper `scripts/ctx.sh`.
  • `scripts/ctx.sh install` bootstraps the global install into `~/.contextfun`.
  • Any other `scripts/ctx.sh ...` invocation can also auto-install first, then retry the requested command.

Use the single `ctx` entrypoint:

  • `ctx install` (skill bootstrap helper; installs the global CLI and bundled skills when needed)
  • `ctx`
  • `ctx list [--this-repo]`
  • `ctx search <query> [--this-repo]`
  • `ctx start <workstream> [--pull]`
  • `ctx resume <workstream> [--compress] [--allow-other-repo]`
  • `ctx rename <new-name> [--from <existing-workstream>]`
  • `ctx delete <workstream>` or `ctx delete --session-id <id>`
  • `ctx branch <source-workstream> <target-workstream> [--allow-other-repo]`
  • `ctx web --open`

The bundled wrapper is available as `scripts/ctx.sh <subcommand> ...`.

Behavior:

  • If `ctx` is missing, bootstrap it with `scripts/ctx.sh install` or let the wrapper auto-install on first use.
  • `start` creates a new workstream. If the name already exists, ctx automatically creates `name (1)`, `name (2)`, and so on.
  • `resume` only continues an existing workstream. If there is no match, say so plainly instead of silently creating a new one.
  • When resuming, summarize the workstream briefly, mention the last task and latest relevant activity, and ask how the user wants to proceed.
  • Make it explicit that new context from the current conversation will be appended to the resumed workstream.
  • If the user wants to explore without changing the source workstream, branch first.
  • Use `--this-repo` when the user is asking about context related to the current repository.
Read more
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.