casp

Community

Orchestrate Codex app-server via a JSONL proxy.

Authortkersey
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a deterministic JSONL proxy that spawns codex app-server and exposes an orchestration-friendly event stream. It enables programmatic control of Codex workflows, auto-handling approvals, forwarding tool calls, and mining sessions across multiple threads.

Core Features & Use Cases

  • Spawns and manages codex app-server as a subprocess, with a handshake (initialize -> initialized) and an experimentalApi: true flag.
  • Reads and writes JSONL messages over stdin/stdout to drive Codex and stream events in a structured, routeable form.
  • Auto-accepts approvals and forwards server-initiated tool requests to the orchestrator, returning responses deterministically.
  • Useful for orchestrating multi-threaded Codex experiments, automating tool calls, and building reproducible sessions via thread/turn metadata.

Quick Start

Use the casp skill to start the proxy and drive Codex:

  • Start: node scripts/casp_proxy.mjs from the casp skill directory (example: node ~/.dotfiles/codex/skills/casp/scripts/casp_proxy.mjs).
  • Optional: pass --cwd /path/to/workspace to control where codex app-server runs and where .casp/state.json is written.
  • Wait for a casp/ready event.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: casp
Download link: https://github.com/tkersey/dotfiles/archive/main.zip#casp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.