context-packet
Installation
SKILL.md
<essential_principles>
context-packet is a file-based context resolution library for AI agent DAG workflows. Three primitives, zero dependencies.
Core loop: Define a graph. Resolve upstream context. Do work. Submit a packet. Repeat.
Four interfaces:
- MCP server — registered as
context-packetin Claude Code. Agent gets tools to resolve/submit within a full session with all capabilities. The recommended approach for Claude Code workflows. - CLI —
context-packet init|resolve|submit|read|status|hash|run— any process that can shell out runcommand —context-packet run --agent "claude -p" --input "..."— executes entire DAG automatically with parallel node execution- TypeScript API —
init(),resolve(),submit(),read(),status(),run()
Graph features:
depends_on— execution order edges (must complete before this node runs)consumes— data edges (need the packet, no ordering constraint)system— system prompts at graph level (all nodes) and node level (specialization)config.maxTokens— per-node token budget for upstream context resolution