Agent skill

Ctx

by dchu917 in dchu917/ctx

Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.

MITAuto-check passed

Install Ctx

skills CLI
$ npx skills add dchu917/ctx --skill ctx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dchu917/ctx ctx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dchu917/ctx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/claude/ctx .claude/skills/ctx && rm -rf skills-src

Use ~/.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/

Facts

Skill name
ctx
GitHub stars
127
Token cost
~231 tokens
SKILL.md length
102 words
Files
3 (incl. scripts)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.

  • Runs Shell scripts from its folder

What it does

Ctx is an agent skill from dchu917/ctx. Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.

Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/ctx.sh` and `scripts/skills/ctx.sh`).

The repository describes itself as: Local context manager for Claude Code and Codex with workstreams, transcript binding, and branching. The licence is MIT.

Example prompts

  • “/ctx”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit bdb602c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ctx loads about 231 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 102 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~231

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from dchu917/ctx at commit bdb602c, republished under its MIT licence (© dchu917). 102 words, ~231 tokens.

Download SKILL.mdSave it as .claude/skills/ctx/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
ctx
description
Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.

Usage

  • /ctx — show the current workstream
  • /ctx list
  • /ctx search <query>
  • /ctx start <workstream> [--pull]
  • /ctx resume <workstream>
  • /ctx rename <new-name> or /ctx rename <new-name> --from <existing-workstream>
  • /ctx delete <workstream> or /ctx delete --session-id <id>
  • /ctx branch <source-workstream> <target-workstream>

Backing script

  • scripts/ctx.sh

Notes

  • This skill dispatches to the installed ctx command or the repo fallback.
  • start is for creating a new workstream. If that name already exists, ctx automatically creates name (1), name (2), and so on.
  • resume is for continuing an existing workstream.
  • branch copies the current context snapshot from one workstream into a new workstream without sharing future transcript pulls.

© dchu917, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/claude/ctx of dchu917/ctx.

  • SKILL.md
  • scripts/ctx.sh
  • scripts/skills/ctx.sh

Open the folder on GitHubat commit bdb602c

Compare with similar skills

Ctx 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.

Ctx compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ctx this skilldchu917/ctx127—~231Automated safety check: PassMIT
Dispatchsickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Ctx Dispatchstevesolun/ctx588—~251Automated safety check: PassMIT
Dispatchjeremylongshore/tons-of-skills-marketplace2.8k—~13kAutomated safety check: PassMIT
Ctxctxrs/ctx1.2k—~1.5kAutomated safety check: PassApache-2.0
Dispatchdavepoon/buildwithclaude3.6k—~701Automated safety check: PassMIT

Similar skills

  • Dispatch

    sickn33/agentic-awesome-skills

    Delegate tasks to OpenAI Codex CLI and Google Antigravity CLI from Claude Code with topic-aware sessions

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Ctx Dispatch

    stevesolun/ctx

    Coordinate nontrivial work in the ctx repository when a task has independent investigation, implementation, or test lanes; compute-heavy checks; or repetitive changes suited to scripts or codemods.

    588 GitHub stars~251 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Dispatch

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when a task file exists in .hyperflow/tasks/ and workers need dispatching.

    2.8k GitHub stars~13k tokensUpdated today
    Auto-check passed
  • Ctx

    ctxrs/ctx

    Use ctx as working memory for prior agent work. An agent skill from ctxrs/ctx.

    1.2k GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Dispatch

    davepoon/buildwithclaude

    Delegate tasks to OpenAI Codex CLI and Google Antigravity CLI from Claude Code.

    3.6k GitHub stars~701 tokensUpdated today
    Auto-check passed
  • Ctx Stats

    mksglu/context-mode

    Show how much context window context-mode saved this session.

    26k GitHub stars~290 tokensUpdated today
    Agent WorkflowsAuto-check passed

More from dchu917/ctx

  • Ctx

    dchu917/ctx

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

    127 GitHub stars~503 tokensUpdated 5 mo ago
    Auto-check passed
  • Ctx Resume

    dchu917/ctx

    Resume a ContextFun workstream and print a markdown pack. An agent skill from dchu917/ctx.

    127 GitHub stars~199 tokensUpdated 5 mo ago
    Auto-check passed
  • Ctx Start

    dchu917/ctx

    Create a new ContextFun workstream and its first session, then print a markdown pack.

    127 GitHub stars~272 tokensUpdated 5 mo ago
    Auto-check passed
  • Branch

    dchu917/ctx

    Branch one workstream into a new workstream with a frozen starting snapshot.

    127 GitHub stars~104 tokensUpdated 5 mo ago
    Auto-check passed
  • Ctx Delete

    dchu917/ctx

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

    127 GitHub stars~129 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Ctx

What does Ctx do?

Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch. Ctx is an agent skill from dchu917/ctx. Show the current workstream, or dispatch ctx subcommands like list, start, resume, delete, and branch.

How do I install Ctx in Claude Code?

Run `npx skills add dchu917/ctx --skill ctx -a claude-code`. Or copy the skill folder (skills/claude/ctx in dchu917/ctx) into .claude/skills/ctx in your project. Claude Code loads it when a task matches its description.

How do I install Ctx in Codex?

Run `npx skills add dchu917/ctx --skill ctx -a codex`. Or copy the skill folder (skills/claude/ctx in dchu917/ctx) into .agents/skills/ctx in your project. Codex loads it when a task matches its description.

Can I use Ctx in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dchu917/ctx --skill ctx -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, .gemini/skills/ctx, .github/skills/ctx and .opencode/skills/ctx in your project.

What does Ctx need to run?

Going by SKILL.md and its folder, Ctx needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Ctx access the network?

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.

Is Ctx safe to install?

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.

What licence does Ctx use?

Ctx is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ctx use?

About 231 tokens (SKILL.md is roughly 924 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ctx?

Skills that share tags, products or a category with Ctx: Dispatch (sickn33/agentic-awesome-skills, 47k stars), Ctx Dispatch (stevesolun/ctx, 588 stars), Dispatch (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Ctx (ctxrs/ctx, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ctx?

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.