# Sidetrack

> Keep Claude Code's project context organised across tasks and sessions. Switch between development, deployment and debugging without losing important decisions, progress or the bigger picture.

Sidetrack is a paid AI agent skill pack (several skills in one listing) on Agensi by Sujay Vivek, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Sujay Vivek](https://www.agensi.io/creators/sujay-vivek)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sidetrack
- Tags: prompt-engineering, ai-agents, productivity, python

## What it does

- Create separate contexts for tasks like development, deployment, debugging and brainstorming
- Save important decisions, fixes, current progress and open tasks in Markdown files
- Restore relevant project context after compaction, clearing a conversation or starting a new session
- Connect related contexts so useful lessons can be passed back to the main task
- Share project context through Git and resolve merge conflicts with a dedicated command

## Who it's for

- **Developers using Claude Code::** Keep long-running projects organised without mixing every task into one conversation. Try switching between your main development work and a Try: "I need to sidetrack to fix a bug in the login flow."
- **Solo builders and indie hackers::** Preserve project decisions and progress across multiple sessions. Try using separate contexts for building, debugging and shipping your prod
- **Engineering teams::** Share project knowledge through Git so teammates can pick up where others left off. Try collaborating on a project with shared context files
- **AI coding tool enthusiasts::** Experiment with structured context management, persistent project knowledge and task-specific workflows. Try creating your own named context

## About this skill

### Sidetrack — Keep Claude Code's context organised

Ever been building an application with Claude Code, switched to debugging a deployment issue, and ended up with an entire conversation full of error logs?

The original development context gets buried. Then you run `/compact`, start a new session, or switch tasks, and important details can get lost.

**Sidetrack helps solve this by giving different tasks their own connected contexts.**

Instead of keeping everything in one conversation, you can step aside into a named context, work on it, and return to your original task with the important lessons preserved.

##### How it works

- **Separate contexts:** Create named contexts for deployment, debugging, brainstorming or any other task.
- **Persistent project knowledge:** Each context has its own Markdown file stored inside your project.
- **Context handoffs:** When you return to a parent context, relevant decisions, fixes and lessons are passed back.
- **Automatic context reload:** Hooks restore the relevant context after `/compact`, `/clear`, a new session or a resumed session.
- **Git collaboration:** Context files can be shared with your codebase, allowing teammates to access project decisions and progress.
- **Conflict resolution:** Resolve Git merge conflicts in shared context files using a dedicated command.

##### Available commands

- `/sidetrack:go` — Switch to or create a context.
- `/sidetrack:back` — Save your current context and return to its parent.
- `/sidetrack:save` — Save important information without switching.
- `/sidetrack:list` — View your contexts as a tree.
- `/sidetrack:resolve` — Resolve conflicts in context files.

##### Built around control and reliability

Sidetrack uses lightweight Python scripts for predictable operations and Claude for understanding and updating project knowledge.

Context files are only written through explicit commands. Hooks can reload context and track session state, but they don't silently rewrite your project knowledge.

## Requires

- Git
- Python 3+
- Claude Code

## Known limitations

Requires Python 3 to be installed on your system to run the background scripts. It only tracks work within the specific project folder where it is started.

## Technical details

**Platform:** Claude Code plugin

**Implementation:**
- Python 3 scripts with no external Python dependencies.
- Claude Code skills for user-triggered commands.
- Session hooks for context tagging and context restoration.
- Markdown files for persistent project knowledge.
- JSON for local session and context state.

**Project structure:**
- `.sidetrack/contexts/` — Shared context Markdown files.
- `.sidetrack/local/` — Local state, backups and hook error logs.
- `.claude-plugin/` — Plugin configuration and metadata.
- `skills/` — Command definitions and associated scripts.
- `hooks/` — Session lifecycle integrations.

**Key implementation details:**
- Five user-triggered commands.
- Two hooks for context management.
- Context reload after `/compact`, `/clear`, new sessions and resumes.
- Periodic save reminders.
- Parent-child context relationships.
- Git-aware teammate change detection.
- Structured Git conflict resolution.

**Requirements:** Claude Code and Python 3.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Sidetrack skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this help me stay organized when my project gets complicated?

This skill helps you manage complex projects by letting you branch off into sub-tasks without losing your place. It creates a dedicated space for specific problems like bugs or brainstorming and automatically saves your progress and lessons to files as you go.

### What kind of files does this skill create and where do they go?

The skill stores everything in simple markdown files inside a folder in your project directory. These files track the current state of work, specific decisions made, and any lessons or fixes that should be passed back to the main project.

### How do I tell my agent to switch between different tasks?

You can tell your agent to go to a specific task name to start a new branch of work. When you are finished, telling the agent to go back will return you to your previous task and bring all the important lessons with it.

### What happens if multiple people are editing the same project notes?

The skill includes a dedicated tool to handle merge conflicts in your task files. If two people change the same notes, it will combine the decisions and lessons from both sides and ask the agent to reconcile any conflicting information.

### Do I need any special software or accounts to use this?

You only need to have Python installed on your computer to run the scripts that manage your task history. The skill handles the rest by writing to markdown files within your own project folders.

### Is there a way to see a bird's eye view of all my active tasks?

You can ask your agent for a list or a tree view of your tasks at any time. This gives you a clear overview of all open and finished sub-tasks so you can see exactly where every part of your project stands.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
