Agent skill

Ctx

by dchu917 in dchu917/ctx

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

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/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
~503 tokens
SKILL.md length
254 words
Files
3 (incl. scripts)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

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

  • Runs Shell scripts from its folder

What it does

Ctx is an agent skill from dchu917/ctx. Use or bootstrap the ctx CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/ctx.sh` and `scripts/install_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 503 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 254 words of instructions outside code blocks.

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

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). 254 words, ~503 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
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.

© 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/ctx of dchu917/ctx.

  • SKILL.md
  • scripts/ctx.sh
  • scripts/install_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—~503Automated safety check: PassMIT
Reactive Resume Builderreactive-resume/reactive-resume44k—~1.5kAutomated safety check: PassMIT
Resume Version Managerdavila7/claude-code-templates32k2 repos~2.1kAutomated safety check: PassMIT
Bootstrap Soulbytedance/deer-flow84k2 repos~1.2kAutomated safety check: PassMIT
Resume Modernnexu-io/open-design100k—~398Automated safety check: PassApache-2.0
Tech Resume Optimizerdavila7/claude-code-templates32k1 repos~2.7kAutomated safety check: PassMIT

Similar skills

  • Reactive Resume Builder

    reactive-resume/reactive-resume

    Builds resumes as valid JSON for the open-source Reactive Resume app by interviewing you, and can track job applications through its MCP tools.

    44k GitHub stars~1.5k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Resume Version Manager

    davila7/claude-code-templates

    Track different resume versions, maintain a master resume, and manage tailored variants.

    32k GitHub starsUsed in 2 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Bootstrap Soul

    bytedance/deer-flow

    Runs a short adaptive conversation with you and writes a personalized SOUL.md that defines your AI partner's name, personality, communication style and boundaries.

    84k GitHub starsUsed in 2 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Resume Modern

    nexu-io/open-design

    Modern minimal resume, single A4 page, ready for print or PDF export.

    100k GitHub stars~398 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Tech Resume Optimizer

    davila7/claude-code-templates

    Optimize resumes for software engineering, product management, and technical roles.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Business, Finance & HRAuto-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

More from dchu917/ctx

  • Ctx

    dchu917/ctx

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

    127 GitHub stars~231 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?

Use or bootstrap the ctx CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams. Ctx is an agent skill from dchu917/ctx. Use or bootstrap the ctx CLI to search, start, resume, rename, delete, branch, and inspect saved coding workstreams.

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/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/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 503 tokens (SKILL.md is roughly 2k 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: Reactive Resume Builder (reactive-resume/reactive-resume, 44k stars), Resume Version Manager (davila7/claude-code-templates, 32k stars), Bootstrap Soul (bytedance/deer-flow, 84k stars) and Resume Modern (nexu-io/open-design, 100k 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.