skillminer
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
skillminer
Mine your local AI-agent history into reusable skills.
Every session you run with Claude Code, Codex, or Claude Desktop leaves a trail of what you asked for, what you corrected, what stack you use, and how you like to work. skillminer reads those local logs, distills them into provider-agnostic skills (plain SKILL.md files), and keeps them up to date as you keep working β globally and per repository.
π Provider-agnostic β one normalized model; Claude Code, Codex CLI, and Claude Desktop exports today, any agent tomorrow (adding a provider is one file).
π Privacy-first β everything runs locally. Emails, API keys, tokens, phone numbers, IPs, private keys, and home paths are redacted before analysis; skills carry your requirements, never your data.
π Repo-aware β builds a
project-contextskill for each repo using only the sessions that ran inside that repo.π Improvable β
skillminer improvefolds new sessions into existing skills, merging instead of overwriting (your hand-added bullets survive).π¦ Portable β
exportbundles all skills into a single.skillpack.json;importreads it on any other machine and appends into the local skills, deduplicated.π§° MCP server mode β expose
scan_logs/list_repos/build_skills/improve_skillsas MCP tools so any MCP client (Claude Code, Claude Desktop, Cursor, Codex) can drive it.πͺΆ Zero runtime dependencies β plain Node β₯ 18.17.
Walkthrough
1. Install
npm install -g skillminer
# or run ad-hoc:
npx skillminer scan2. See what you have
skillminer scanProviders:
claude-code 42 conversation(s) (~/.claude/projects)
codex 7 conversation(s) (~/.codex/sessions)
claude-desktop not found (~/Downloads)3. See which repos have history
skillminer reposRepos with mineable history:
~/work/acme-api 18 session(s), 212 user message(s)
~/side/blog 5 session(s), 40 user message(s)4. Build your skills
skillminer buildWrites to ~/.skillminer/skills/:
~/.skillminer/skills/
βββ global/
β βββ user-preferences/SKILL.md # standing requirements, preferences, past corrections
β βββ tech-stack/SKILL.md # technologies you actually use, ranked
β βββ working-style/SKILL.md # how you communicate & like to work
βββ repos/
βββ acme-api/
βββ project-context/SKILL.md # requirements stated specifically in that repoAdd --install to also copy global skills into ~/.claude/skills/ and each repo skill into <repo>/.claude/skills/, where Claude Code picks them up automatically. For other agents, point them at the generated markdown β it's plain SKILL.md with YAML frontmatter.
5. Build for one repo only
skillminer build --repo ~/work/acme-api --installOnly sessions whose working directory was that repo are read β context from other projects never bleeds in.
6. Improve as you keep working
Weeks later, after more sessions:
skillminer improveRe-scans everything, reports how many session files are new or changed, and merges fresh findings into the existing skills. Merging is per-section, per-bullet: duplicates are dropped, and bullets you added by hand are preserved.
7. Move your skills to another machine
Bundle everything into one portable file:
skillminer export
# Exported 6 skill(s) from ~/.skillminer/skills
# Pack: ./skillminer-2026-11-07.skillpack.jsonCopy that file to the other machine (AirDrop, repo, cloud drive β it's a plain JSON file of your redacted skills, safe to move), then:
skillminer import skillminer-2026-11-07.skillpack.json
# Imported pack: 3 new skill(s), 3 merged into existing ones.Import is read-and-append: skills that don't exist yet are added; skills that do exist are merged bullet-by-bullet with what's already there β local knowledge and hand edits are never overwritten, and re-importing the same pack adds zero duplicates. Add --install to push the result straight into ~/.claude/skills.
8. Include Claude Desktop / claude.ai chats
Claude Desktop stores chats server-side, so use the official export (Settings β Privacy β Export data), then:
skillminer build --import ~/Downloads/conversations.json(If a conversations.json is sitting in ~/Downloads, it's picked up automatically.)
9. Connect as an MCP server
# Claude Code
claude mcp add skillminer -- npx skillminer mcpOr in any MCP client config:
{
"mcpServers": {
"skillminer": { "command": "npx", "args": ["skillminer", "mcp"] }
}
}Then from inside any agent session: "use skillminer to rebuild my skills for this repo" β the agent calls build_skills with the repo path, and the skills land on disk.
MCP tool | What it does |
| Report providers found and conversation counts |
| Repos/directories with mineable history |
| Full build; optional |
| Merge new sessions into existing skills |
| Bundle skills into a portable |
| Append a pack into local skills (merged, deduplicated) |
10. Optional: LLM polish
Extraction is pure heuristics and fully offline. If you want the mined bullets rewritten into crisper instructions, opt in to a one-shot polish pass β only the already-redacted bullets are sent, never your logs:
export SKILLMINER_LLM=anthropic # or: openai | ollama (local, no key needed)
export ANTHROPIC_API_KEY=... # provider key if applicable
skillminer build --llmSKILLMINER_MODEL and SKILLMINER_LLM_BASE_URL override the model and endpoint (any OpenAI-compatible gateway works).
Related MCP server: skillbox
What goes into a skill β and what never does
In: requirement sentences ("make sureβ¦", "alwaysβ¦", "neverβ¦"), preferences ("I preferβ¦", "use X instead of Y"), corrections you made ("no, that's wrong β β¦"), technology frequency, communication patterns (plans-first? tests expected? terse or detailed prompts?).
Never: emails, phone numbers, API keys/tokens/JWTs, private keys, IPs, card-like numbers, credentialed URLs, your username or home paths (rewritten to ~), pasted documents (long pastes are excluded from sentence mining), and any line that still looks sensitive after redaction is dropped entirely.
CLI reference
skillminer scan Show providers, log locations, session counts
skillminer repos List repos with mineable history
skillminer build [options] Build global + per-repo skills
skillminer improve [options] Fold new sessions into existing skills
skillminer export [--file <path>] Bundle skills into a portable .skillpack.json
skillminer import <file> Append a pack into local skills (merged, deduplicated)
skillminer mcp Run as an MCP stdio server
--repo <path> Scope the build to one repository
--out <dir> Output directory (default ~/.skillminer/skills)
--import <path> Claude Desktop/claude.ai export (conversations.json or folder)
--provider <name> Restrict to claude-code | codex | claude-desktop (repeatable)
--llm Polish bullets with a configured LLM
--install Copy skills into ~/.claude/skills and <repo>/.claude/skills
--json Machine-readable outputArchitecture
See docs/ARCHITECTURE.md for the full design β pipeline stages, the normalized conversation model, the provider interface, the merge algorithm, and how to add a new provider.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed AI agent skills β one library, distributed to devs and exposed to remote agents over MCP.
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, install, and manage SKILL.md skills from a Git-backed registry via MCP tools for search, install, and list operations.20 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover, load, and recommend versioned skills from a self-hosted library over MCP, with scoped access and immutable revisions.18 npm277MIT
- AlicenseNot gradedqualityBmaintenanceProvides a local-first AI workspace for chatting, invoking skills, managing projects, and integrating MCP tools, with all data stored on the user's machine.2Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents such as Cursor and Claude Code to inspect local log files through MCP tools for tailing, searching, filtering, statistics, and root-cause diagnosis using local Ollama or a built-in rule engine.9MIT