autoskill — Mine New Skills From Your Own Workflow
Analyzes your local screenpipe history to detect repeated research workflows and drafts new skills or composition recipes for whatever isn't covered yet.
What it does
autoskill reads the screen history captured passively by a locally running screenpipe daemon and turns your repeated workflows into skill proposals.
- Fetch — paginates screenpipe's
/searchAPI onlocalhost:3030for the time window you request. - Redact — regex-scrubs emails, API keys, bearer tokens and phone numbers as defense-in-depth.
- Cluster — segments sessions on idle gaps (default 10 min) and groups them by app signature.
- Match — ranks each cluster against the repo's 135 existing skills using local sentence-transformers embeddings.
- Synthesize — an LLM judge labels each cluster
reuse,compose, ornoveland writes a SKILL.md body.
Output lands in ~/.autoskill/proposed/<timestamp>/ (report.md, new-skills/, composition-recipes/) for human review, then promote moves an approved draft into your real skills directory. The default backend is a local LM Studio model, so nothing leaves the machine; Claude and Foundry backends are strictly opt-in.
Who it's for
- Researchers who repeat the same multi-app routine weekly and want evidence-based automation candidates.
- Skill authors who need real usage data to decide what to build next.
- Privacy-conscious users who want detection, embeddings, and drafting to run entirely on-device.
Examples
- "Analyze my last 4 hours and propose new skills" → run the pipeline, open
report.md, and get azotero-pubmed-helperdraft for your Zotero → PubMed → notes loop. - Use
--dry-runto emit onlyplan.mdso you can inspect exactly which timeline will be analyzed before any LLM call. - When a cluster scores high against
literature-review+citation-management, you get a thin composition recipe that chains both skills in order — no new skill needed.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/autoskill folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/autoskill/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills.git /tmp/sas && mkdir -p ~/.claude/skills && cp -r /tmp/sas/skills/autoskill ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Clone the repo:
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills.git - Copy the skill in:
mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/autoskill ~/.claude/skills/ - Install and start the screenpipe daemon (release build or from source). Grant macOS Screen Recording permission, then run
screenpipe record --disable-audio --use-pii-removal. - Export the auth token:
export SCREENPIPE_TOKEN=$(screenpipe auth token) - Install Python deps:
pipenv install httpx pyyaml sentence-transformers(an ~80 MB embedding model downloads on first run). - For the default local backend, install LM Studio and load a model:
lms load gemma-4-31b-it --context-length 131072 --gpu max -y - Copy the starter deny-list from
references/screenpipe-config.yamlinto your screenpipe config so password managers, chat, and banking apps are never captured. - Preflight everything:
python scripts/autoskill.py doctor --config config.yaml --skills-dir ../ - In Claude Code, ask "analyze yesterday's work and propose skills" (or run the
runsubcommand), review the drafts, thenpromotethe ones you want.