# untangle-X

> Analyze and split cluttered Claude Code conversations into organized, topic-specific sessions with full context.

untangle-X is a paid AI agent skill on Agensi by Ariel Pribluda, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Ariel Pribluda](https://www.agensi.io/creators/ariel-pribluda)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/untangle-x
- Tags: ai-agents, claude-code, python, workflow-automation

## About this skill

When a Claude Code session becomes a monolithic wall of text, context windows fill up and focus drifts. This skill untangles cluttered threads by analyzing your chat history, identifying distinct workstreams, and splitting them into clean, dedicated sessions. It ensures your environment remains organized without losing the historical context of specific decisions or file paths.

### What it does
- **Topic extraction** identifies 2 to 6 unique workstreams or question threads within a single long conversation.
- **Context preservation** groups interleaved messages by topic rather than chronological order.
- **Shared background handling** duplicates relevant architectural decisions or shared facts into all related new sessions.
- **Interactive approval** provides a detailed preview table of proposed topics for you to refine before any action is taken.
- **Automated initialization** spawns new sessions with high-density briefs, summarizing status, decisions, and open questions.

### How it works
1. **Analyze history** by running the internal Python utility to dump a numbered transcript of the current session.
2. **Cluster topics** based on specific tasks, code areas, or questions identified in the transcript.
3. **Present preview** showing a table with topic titles, message IDs, and a 5-sentence brief for each.
4. **Spawn sessions** using approved titles and summarized context to ensure the new agent is ready to act immediately.

### Frameworks & tools
Built for Claude Code environments. Requires Python 3.9+ for the transcript processing utility.

### Why this beats prompting it yourself
Manual splitting requires copy-pasting massive chunks of text and manually summarizing progress, which is prone to hallucination and context loss. This skill uses a dedicated parsing utility to ensure every message is accounted for and categorized correctly based on the actual transcript.

### Use cases
- **Splitting features** when a "quick fix" session evolves into three separate feature branches.
- **Cleaning technical debt** by moving resolved architectural discussions into a "Done" bucket while keeping active bugs in fresh windows.
- **Organizing research** when one session contains both backend API research and frontend styling experiments.

### Known limitations
Does not modify or delete the original session. Requires the `ccd_session` MCP tool to be available to start new chats.

## 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 untangle-X 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 'untangle' help when my Claude Code session becomes too long or confusing?

This skill solves the 'context bloat' problem in long Claude Code sessions by identifying distinct workstreams and migrating them into organized, separate sessions, preventing focus drift and reducing token usage.

### Which AI agents or environments are compatible with this skill?

This skill is specifically designed for the Claude Code CLI environment and requires Python 3.9+ to run the transcript parsing utility.

### Will using this skill delete my existing chat history or original session?

No, 'untangle' operates in a non-destructive way; it reads your current session to create new, organized threads but never deletes or modifies your original chat history.

### Does the context of my project's architecture carry over to the new sessions?

Yes, the skill uses 'Shared Background Handling' to ensure that foundational architectural decisions or global project facts are automatically duplicated into every new session created.

### What exactly is included with my purchase of this skill?

You will receive the 'untangle' skill package, the internal Python utility for transcript processing, and a set of instructions for integrating it into your Claude Code workflow.

### Can I choose which topics get their own session before the process starts?

Before any new sessions are created, the skill generates an interactive preview table showing proposed topics and summaries, allowing you to approve or refine the split.

---

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.
