Skip to content

hurleywgly/mine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

/mine

Turn buried notes, old exports, and forgotten files into knowledge you can actually use.

You have years of notes scattered across apps. Old Evernote exports. A Notion dump from a previous job. Notes on your phone you haven't looked at in months. Code from a project you abandoned. Research you bookmarked and forgot.

Most of that knowledge is buried. /mine digs it out — point it at any source, get back a single condensed capsule ready to hand to another agent, read yourself, or feed into a project.

Install

# Claude Code CLI or Desktop
claude mcp add-skill https://github.com/hurleywgly/mine

Or manually place SKILL.md at ~/.claude/skills/mine/SKILL.md.

Usage

Just describe what you want and where to look:

/mine landing page tips from my Education notes
/mine everything useful in ~/Downloads/notion-export.zip
/mine what does this repo do ~/my_projects/some-codebase
/mine all the frameworks and mental models in ~/notes/
/mine summarize https://docs.example.com

The agent figures out the source type, scope, and strategy. You get back one file — a capsule with scored, themed findings.

What It Mines

Source How to reference it Platform
iCloud Notes "my notes", "Notes app", a folder name macOS only
Local files Any directory path CLI / Desktop
Git repos Path to a repo, or "this codebase" CLI / Desktop
ZIP archives Path to a .zip file CLI / Desktop
Websites Any URL All environments

How It Works

  1. Parse — reads your natural language request, determines source type and scope
  2. Enumerate — lists what's available, shows you the scale, confirms before mining
  3. Mine — cycles through content in batches, extracts findings, scores each one
  4. Package — organizes findings by theme into a single capsule file

Scoring

Every finding is scored on three criteria:

Criterion What it measures
Transferable Is it useful beyond its original context?
Specific Does it contain concrete details — not just vibes?
Buried Is it actually hard to find right now?

Score 2 or 3 out of 3: keep. Below 2: discard.

Output

A single markdown capsule file with:

  • Findings grouped by theme
  • Each finding scored and categorized (insight, framework, decision, idea, pattern, quote, action, contact)
  • Source attribution for every finding
  • A confidence rating (high / moderate / low based on how many findings scored 3/3)
  • Coverage notes on what was and wasn't reached

Multi-Session Runs

For large sources (hundreds of notes, big repos), the agent automatically sets up progress tracking. Run /mine resume to pick up where you left off. Run /mine status to check progress.

Requirements

  • Claude Code (CLI or Desktop app)
  • Standard Claude Code tools: Read, Write, Bash, Glob, Grep, Agent
  • macOS required for iCloud Notes (other sources work on any platform)

License

MIT

About

Turn buried notes, old exports, and forgotten files into knowledge you can actually use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors