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-packet in Claude Code. Agent gets tools to resolve/submit within a full session with all capabilities. The recommended approach for Claude Code workflows.
  • CLIcontext-packet init|resolve|submit|read|status|hash|run — any process that can shell out
  • run commandcontext-packet run --agent "claude -p" --input "..." — executes entire DAG automatically with parallel node execution
  • TypeScript APIinit(), 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
Installs
2
GitHub Stars
47
First Seen
Jun 4, 2026
context-packet — gsd-build/context-packet