lifting-loops

Identifies repeated user interventions in AI agent sessions and proposes automation exits.

554|41|Updated Oct 28, 2026
Ready to run
npx skills add https://github.com/MiniMax-AI/mcode-stack --skill lifting-loops-minimax-ai
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: lifting-loops
Source: https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/jiachen/skills/lifting-loops
Command: npx skills add https://github.com/MiniMax-AI/mcode-stack --skill lifting-loops-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? You find yourself repeating the same actions across multiple AI sessions: retrying failed tasks, judging whether output is acceptable, approving agent decisions, providing context the agent should have found, or starting similar tasks by hand. This Skill detects these patterns and proposes concrete changes to eliminate them. ## Core Features & Use Cases - Loop Detection: Scans your session history, notes, and memories to find interventions you perform repeatedly (retry, judge, approve, carry context, trigger tasks, or do the agent's work). - Ledger Tracking: Maintains a private ledger of loops with evidence counts, metrics, and status. - Proposals: Generates actionable proposals to delete stale rules, modify existing artifacts, add scripts or skills, or adjust your habits. - Use Case: You notice you keep approving the same kind of commit plan before the agent proceeds. The Skill detects this pattern across three sessions, proposes removing the approval gate or adding an automated check, and tracks whether the fix works. ## Quick Start Run the lifting-loops skill to scan your recent Claude Code, MiniMax Code, Codex, and Obsidian sessions and generate a weekly report of repeated interventions.

Frequently Asked Questions about lifting-loops

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

FAQPage Schema
How does the Skill identify repeated interventions across sessions?▼

It scans your Claude Code, MiniMax Code, Codex, and Obsidian vault sessions and notes to find interventions (retries, approvals, context handoff, task startup). When the same kind of intervention appears in 3+ sessions or 10+ turns in one session, it qualifies as a loop candidate and enters the ledger.

What is a proposal and how do I act on it?▼

A proposal describes one concrete fix: delete a stale rule, change an existing artifact (skill, playbook, AGENTS.md), add a script or metric, create a new skill, set up automation, or advise on your own habits. Accept or reject each proposal; accepted proposals are applied to files and the ledger is updated.

Can I run this Skill on a schedule?▼

Yes. Set up a weekly scheduled task following references/scheduling.md. The task runs every Sunday, scans sessions since the last run, updates the ledger, and writes a report with new proposals waiting for your decision.

What sources does the Skill scan for interventions?▼

By default it scans Claude Code, MiniMax Code, Codex, omp, pi, your Obsidian vault, and Claude.ai exports. Configure vault and export paths in private/config.json; session sources are auto-detected on your machine.

Why should I accept a proposal to automate something instead of just doing it manually?▼

The Skill tracks metrics per loop to show whether automation actually reduces your intervention count. If a proposal does not help, you can see that in the metric log and propose a different exit. The ledger prevents you from investing in fixes that do not work.

What happens if I reject a proposal?▼

The loop moves back to candidate status and the rejection reason is recorded. Once three new pieces of evidence arrive for that loop, you may propose a different exit. Stale loops with no new evidence for 8 weeks are retired.