AGENT SKILL

ctx-start

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

License 许可
MIT
所属仓库
dchu917/ctx
最近更新
2026-04-22
Stars
★ 128
Forks
10

01 前言 Front Matter

name
ctx-start
description
Create a new ContextFun workstream and its first session, then print a markdown pack.

02 资源文件 2

03 SKILL.md 正文

What it does

  • Creates a new workstream and its first session.
  • 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-start <workstream>
    • ctx-start --pull <workstream> (also ingests current chat)
    • --pull can appear before or after the workstream name
  • Run from terminal:
    • bash ./scripts/skills/ctx_start.sh --pull my-workstream
    • ctx-start my-workstream
    • python3 scripts/ctx_cmd.py start my-workstream --format markdown

Requirements

  • If the requested workstream name already exists, ctx automatically creates name (1), name (2), and so on.
  • Use ctx resume <workstream> to continue an existing workstream.
  • 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.

04 同仓库更多 Skills