Agent skill

Ctx Resume

by dchu917 in dchu917/ctx

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

MITAuto-check passedDocuments & Office

Install Ctx Resume

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

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

GitHub CLI
$ gh skill install dchu917/ctx ctx-resume --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/codex/ctx-resume .claude/skills/ctx-resume && 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-resume
GitHub stars
127
Token cost
~199 tokens
SKILL.md length
82 words
Files
3 (incl. scripts)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Markdown
  • Runs Shell scripts from its folder; calls bash and python3

What it does

Ctx Resume is an agent skill from dchu917/ctx. Resume a ContextFun workstream and print a markdown pack.

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

It sits in Documents & Office, covering Markdown. The repository describes itself as: Local context manager for Claude Code and Codex with workstreams, transcript binding, and branching. The licence is MIT.

When your agent uses it

  • Tasks that involve Markdown

Example prompts

  • “/ctx-resume”

Requirements

  • Python 3
  • 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 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • python3

    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 Resume loads about 199 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 82 words of instructions outside code blocks.

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

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). 82 words, ~199 tokens.

Download SKILL.mdSave it as .claude/skills/ctx-resume/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
ctx-resume
description
Resume a ContextFun workstream and print a markdown pack.

What it does

  • Resumes an existing workstream.
  • Imports the newest transcript from Codex/Claude (local storage).
  • Prints a compact markdown pack that can be pasted back into the chat.

How to trigger

  • In Codex:
    • ctx-resume <workstream>
  • Run from terminal:
    • bash ./scripts/skills/ctx_resume.sh my-workstream
    • python3 scripts/ctx_cmd.py resume "<workstream>" --format markdown

Requirements

  • The workstream must already exist. Use ctx start <workstream> to create a new one.
  • Python 3.9+
  • Local transcripts in ~/.codex/sessions or ~/.claude/projects (override via CODEX_HOME/CLAUDE_HOME).
  • ContextFun DB (local or global). Use scripts/quickstart.sh to initialize.

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

  • SKILL.md
  • ctx-resume
  • scripts/skills/ctx_resume.sh

Open the folder on GitHubat commit bdb602c

Compare with similar skills

Ctx Resume 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 Resume compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ctx Resume this skilldchu917/ctx127—~199Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Crosspostingwasp-lang/wasp19k—~1.1kAutomated safety check: PassMIT
Gzh Designisjiamu/gzh-design-skill4k—~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    4k GitHub stars~2.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Review The Docs

    supabase/supabase

    Official

    Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).

    111k GitHub stars~4.6k tokensUpdated today
    Documents & OfficeAuto-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

    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 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 Resume

What does Ctx Resume do?

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

When should I use Ctx Resume?

Ctx Resume fits situations like: tasks that involve Markdown.

How do I install Ctx Resume in Claude Code?

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

How do I install Ctx Resume in Codex?

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

Can I use Ctx Resume 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-resume -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-resume, .gemini/skills/ctx-resume, .github/skills/ctx-resume and .opencode/skills/ctx-resume in your project.

What does Ctx Resume need to run?

Going by SKILL.md and its folder, Ctx Resume 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.

Does Ctx Resume 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 Resume 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 Resume use?

Ctx Resume 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 Resume use?

About 199 tokens (SKILL.md is roughly 796 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 Resume?

Skills that share tags, products or a category with Ctx Resume: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Crossposting (wasp-lang/wasp, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ctx Resume?

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.