# Skill Miner for AI Coding Agents

> Turns repeated corrections in your Claude Code, Codex and Cursor transcripts into skills and rules you approve.

Skill Miner for AI Coding Agents is a free AI agent skill on Agensi by Nick Zdanovych, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nick Zdanovych](https://www.agensi.io/creators/nick-zdanovych)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-28
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/skill-miner-for-ai-coding-agents
- Tags: ai-agents, node-js, automation, cursor, claude-code

## About this skill

Repetitive manual corrections and recurring workflow steps drain developer productivity. When you ask it to, this skill scans your local Claude Code, Cursor and Codex transcripts to identify patterns, then proposes skills and project rules based on your actual behavior. Nothing is installed or removed without your pick.

Use when you want to mine your own transcripts, review proposals, install the ones you approve, or prune generated skills that never trigger. Do not use it to read anyone else's transcripts or to summarize a single session.

### What it does
- **Pattern mining** scans transcript history to find repeated multi-step procedures and corrections.
- **Skill generation** drafts `SKILL.md` files for multi-step tasks you frequently perform manually.
- **Preference extraction** identifies project-specific preferences and proposes text for your rules or memory files, which you approve before anything is written.
- **Conflict detection** spots contradictions between your current habits and existing automated rules.
- **Context pruning** identifies generated skills that are never triggered, preventing context bloat.

### How it works
1. **Scan** runs the mining script to analyze transcripts from the last 30 days across supported IDEs and CLI tools.
2. **Review** generates a proposal index where you can inspect drafted skills, rules, and their provenance.
3. **Install** deploys approved proposals to the appropriate global or project-specific skill directories.
4. **Cleanup** lists generated skills that never triggered and moves only the ones you pick to a recoverable folder.

### Frameworks & tools
Built with Node.js (version 18 or higher). Interfaces with Claude Code, Cursor, and Codex transcript formats and skill directories.

### Why this beats prompting it yourself
Manual prompt engineering for workflows requires remembering every edge case you hit last week. This skill extracts those specific constraints directly from your real-world usage data, ensuring automated rules reflect your actual requirements rather than idealized guesses.

### Use cases
- Automate boilerplate sequences you keep typing in different projects.
- Turn a preference you keep restating across projects into one rule you approve.
- Remove obsolete automation that no longer aligns with your current workflow.
- Spot where a rule you typed contradicts an existing skill or rule, with a proposed line saying which wins.

### Known limitations
Transcripts skip tool outputs and injected context, focusing only on typed prompts and tool-call shapes. Compressed Codex rollouts require Node 22.15 or later for decompression. Cursor sessions carry no timestamps, so they are dated by file modification time. Installing and running the skill inside Codex and Cursor, and the optional live hooks, have not been tested in those tools.

## Requires

- Node.js

## 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 Skill Miner for AI Coding Agents skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How exactly does Skill Miner help automate my development workflow?

It reads your Claude Code, Cursor and Codex transcripts, finds corrections and workflows you repeat, and proposes skills and project rules for them. You pick which ones to install; nothing is installed without your pick.

### Which AI coding assistants and environments are compatible with this tool?

The skill reads transcript formats from Claude Code, Cursor and Codex. It requires Node.js 18 or later; Node.js 22.15 or later is needed to read compressed Codex rollouts. Installing and running it inside Codex and Cursor has not been tested.

### Why should I use this instead of just manually writing instructions for my AI agent?

The proposals come from what you actually did in past sessions, so they can capture corrections and preferences you forget to write down. You review each one before it is installed.

### Can I review and edit the generated skills before they are applied to my project?

Yes, the tool includes a "Review" phase where you can inspect all drafted skills and rules before they are deployed to your project directories, giving you full control over what is automated.

### How does the skill prevent my project context from becoming bloated with too many rules?

The prune step lists generated skills that never triggered and moves only the ones you pick to a recoverable folder, so you can keep your generated skills to the ones that get used.

### What is included in the Skill Miner package?

A root SKILL.md, playbooks for the mine, accept and prune commands, the Node scripts that read transcripts and install what you approve, reference notes on install targets, and compatibility docs. Installing and running it inside Codex and Cursor has not been tested.

---

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.
