Tocket CLI: A Context Engineering Framework for AI Coding Agents

What Tocket Does
Tocket is a CLI tool that addresses context loss when switching between AI coding agents like Cursor and Claude. Instead of relying on massive .cursorrules files or single prompt.txt files that become unmanageable as projects grow, Tocket creates a structured "Memory Bank" within your repository.
How It Works
The tool scaffolds a .context/ folder containing several markdown files that any AI agent can read and write to:
activeContext.md- Tracks what's being worked on right nowsystemPatterns.md- Contains architecture rulestechContext.md- Documents the tech stack (Tocket auto-detects this from your package.json)progress.md- Tracks milestones
Getting Started
To try Tocket with zero configuration for Cursor/Claude users:
npx @pedrocivita/tocket initRun this command in your project root. The tool will:
- Auto-detect your frameworks (React, Vite, Node, etc.)
- Generate the .context folder
- Create a .cursorrules file pre-configured to instruct AI agents to read the memory bank before acting
Key Features
The core protocol (TOCKET.md) is completely agent-agnostic. The tool is described as a "Context Engineering Framework" rather than another AI agent. The repository is available at https://github.com/pedrocivita/tocket.
📖 Read the full source: r/ClaudeAI
👀 See Also

Context Gateway: An Open-Source Proxy for Compressing AI Agent Context
Context Gateway is an open-source proxy that sits between coding agents and LLMs, compressing tool outputs before they enter the context window. It uses small language models to detect signal in context, performs background compaction at 85% window capacity, and includes spending caps, a dashboard, and Slack notifications.

DocMason: Local Agent Knowledge Base for Complex Office Files
DocMason is a repo-native agent app that builds local knowledge bases from complex office documents like PPTX, DOCX, Excel, and PDFs. It runs entirely within Codex or Claude Code, maintaining document structure and providing traceable answers with provenance.

AI Team OS: Self-Driving Organization Layer for Claude Code
AI Team OS is an operating system layer for Claude Code that creates autonomous workflows where the system continues working without waiting for user prompts. It includes 22 specialized agent templates, 40+ MCP tools, and runs entirely within Claude Code subscription without external API costs.

W2A — an open protocol for agent sensors: giving local agents real-time perception
W2A (World2Agent) is an open protocol standardizing the perception layer for AI agents — self-hostable, TS SDK, Apache 2.0. It lets agents receive real-time signals from sensors without one-off scripts.