Intent Autopsy

Analyze AI chat sessions against MEMORY.md and CLAUDE.md rules.

24|4|Updated Nov 15, 2023
One-click install
npx skills add https://github.com/matthewsinclair/intent --skill intent-autopsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Intent Autopsy
Source: https://github.com/matthewsinclair/intent/tree/main/intent/plugins/claude/skills/in-autopsy
Command: npx skills add https://github.com/matthewsinclair/intent --skill intent-autopsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires elixir, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of analyzing AI chat sessions to identify discrepancies between documented memory rules and actual AI behavior, uncovering gaps and enforcement failures.

Core Features & Use Cases

  • Session Forensics: Compares AI session logs against defined memory rules (MEMORY.md, CLAUDE.md).
  • Gap Identification: Pinpoints instances where AI behavior deviates from documented intentions or rules.
  • Enforcement Analysis: Determines if existing rules are being violated or if new rules are needed.
  • Use Case: After a series of AI coding sessions, use this Skill to review logs from the past week. It will identify if the AI consistently forgot to adhere to a specific coding standard documented in MEMORY.md, flagging it for review and potential rule strengthening.

Quick Start

Run the Intent Autopsy skill to analyze Claude Code sessions from the last 7 days, focusing on compacted sessions.

Frequently Asked Questions about Intent Autopsy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze AI chat sessions to find memory rule violations?

Analyze AI chat sessions by running an Elixir script that parses session logs and compares them against documented MEMORY.md and CLAUDE.md rules to identify behavioral gaps. This forensic process pinpoints exactly where the AI deviated from your defined intentions.

What is AI session forensics for fine-tuning workflows?

AI session forensics is the process of reviewing chat logs against documented memory rules to uncover enforcement failures and gaps. It applies to AI development and meta-learning workflows by identifying where the AI consistently forgets coding standards.

Do I need Elixir to run AI session analysis scripts?

Yes, you need Elixir installed to execute the session analysis script provided by this Skill. The script requires Elixir to parse the session data and compare it against your memory rules.

How do I check if my Claude Code sessions adhere to documented memory rules?

Check Claude Code sessions by running an analysis script over the past week of compacted session logs. The script compares these logs against your MEMORY.md and CLAUDE.md files to flag instances where AI behavior deviated from documented standards.

When should I perform an intent autopsy on my AI development sessions?

Perform an intent autopsy when you need to determine if existing memory rules are being violated or if new rules are needed. It is ideal after a series of AI coding sessions to review logs and flag consistent deviations for potential rule strengthening.

What is the best way to identify gaps in AI behavior enforcement?

The best way to identify enforcement gaps is to automate session analysis using a script that parses chat logs and compares them against defined memory rules. This approach systematically pinpoints deviations from documented intentions without manual review.