Tocket CLI: A Context Engineering Framework for AI Coding Agents

✍️ OpenClawRadar📅 Published: February 25, 2026🔗 Source
Tocket CLI: A Context Engineering Framework for AI Coding Agents
Ad

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 now
  • systemPatterns.md - Contains architecture rules
  • techContext.md - Documents the tech stack (Tocket auto-detects this from your package.json)
  • progress.md - Tracks milestones
Ad

Getting Started

To try Tocket with zero configuration for Cursor/Claude users:

npx @pedrocivita/tocket init

Run 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

Ad

👀 See Also