Trace Distill

    by Neo Kzcod

    1

    Turn your AI agent's past mistakes and chat history into permanent, verified workflow improvements and rules.

    Free

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Redacts sensitive data like API keys and passwords before analysis
    • Identifies your specific coding habits to customize how the agent works
    • Creates a verified report showing exactly which rules need updating
    • Updates project instruction files to lock in better workflows
    • Tracks if new rules actually improve the agent's performance over time

    Who it's for

    Developers using AI coding assistants

    Turn your messy coding history into clean, reusable rules that actually work.

    Try asking: “Review my last 10 coding sessions and update my project rules.”

    Tech leads managing AI workflows

    Find out why your team's AI keeps making the same mistakes and fix the process.

    Try asking: “Analyze these logs to see why the agent keeps breaking the database schema.”

    Power users of AI agents

    Teach your AI assistant exactly how you like to work without repeating yourself.

    Try asking: “Extract my personal coding preferences from this chat export.”

    Trace Distill

    Example session with this skill installed

    I've had several sessions where the AI agent keeps using the wrong version of my API. Can you look at my last 5 logs and update the project rules so it stops doing that?

    • Read your context and instructions
    • Compiled the trace distill

    I will help you review your recent sessions to fix the API version errors. I have identified 5 log files to process.

    First, I will run a check to remove any sensitive data and index the tasks. Once that is done, I will look for every time the agent used the wrong API version and compare it to your original instructions.

    Plan for this session:

    1. Clean and Index: I will process your 5 logs and create a safe snapshot for analysis.
    2. Evidence Check: I will find the specific turns where the API error occurred and tag them as evidence.
    3. Draft Rules: I will write a new rule for your project files that explicitly points the agent to the correct API documentation.

    I have finished the initial scan. I found 3 instances where the agent ignored the versioning requirement.

    Do you want me to proceed with the high-reasoning analysis to draft the specific rule changes for your project?

    Connects securely to your tools. The creator never sees your data.

    About this skill

    If your AI agent keeps making the same mistakes or forgetting your project rules, this skill fixes that. It looks at your past chat history, finds what went wrong, and turns those lessons into permanent instructions. Instead of just giving you a summary, it builds a verified report of what to change so your agent gets smarter over time.

    How it works

    1. Prepare the logs: You provide the chat history or logs from your AI coding sessions.
    2. Clean and Index: The skill removes sensitive data like passwords or keys and creates a list of every task you did.
    3. Review and Score: It looks at what you asked for versus what the agent actually did, tagging successes and failures.
    4. Distill Lessons: It finds patterns, like recurring errors or your specific preferences, and creates new rules.
    5. Update Rules: With your permission, it updates your project files or global instructions so the agent follows the new workflow.

    Frameworks & tools

    This skill uses Python scripts to process logs and organize data. It creates Markdown reports and JSON files to track your project's progress and rule updates.

    Why this beats prompting it yourself

    Plain prompting often forgets past context or repeats bad habits. This skill uses a formal review process that requires evidence before changing a rule. It ensures that any new instruction is based on a real event, not just a guess, making your agent's behavior much more predictable.

    Use cases

    • Stop an AI agent from using outdated library syntax in your project.
    • Automatically update your coding standards as your project grows.
    • Fix recurring logic errors by identifying exactly where the agent gets confused.
    • Save your personal formatting preferences so you never have to correct them again.

    Known limitations

    This skill requires your explicit permission at every major step. It cannot automatically scan private databases or folders without you pointing to them first.

    Built for AI coding agents to process logs from sources like Claude Code or standard message exports. Uses adapt_logs.py for field-level redaction and build_index.py for incremental indexing. The workflow follows a strict four-stage gate: boundary setting, evidence binding with reviewed-cards.jsonl, high-reasoning distillation, and practice landing. It writes to project-specific Markdown files (e.g., CLAUDE.md) and generates retro-report.md using provided templates. Requires Python for script execution.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed1 day ago

    What's inside

    Creator

    Neo Kzcod

    Neo Kzcod

    Frequently Asked Questions

    This skill reviews your past chat logs to find where your agent made mistakes or ignored your preferences. It then creates verified rules and workflow improvements so the agent does not repeat those specific errors in future tasks.

    You need to provide your actual chat history or session logs as the starting point. The skill uses specialized Python scripts to process these files, so you just need to point it to your saved conversation data.

    You receive a detailed retrospective report and structured data files containing verified lessons. With your permission, it can also update your project documents or global instruction files like CLAUDE.md or AGENTS.md to apply the new rules.

    It is not for creating simple chat summaries or setting up general memory. It also strictly avoids handling sensitive data like passwords or API keys, and it will not scan your private folders without you explicitly telling it which ones to look at.

    You can start by telling your agent to distill your coding task history into workflow improvements using this skill. You should specify the time range of the logs you want it to analyze and whether you want a report only or actual rule updates.

    No, the skill follows a strict gatekeeping process where it must ask for your approval before moving between stages. It will show you the planned changes and ask for your explicit permission before updating any of your project files.

    New in Business & Operations

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.

    Free