Autoskill
/SKILLObserver l'écran de l'utilisateur via Screenpipe, détecter les workflows de recherche récurrentes, les comparer aux scientifiques existantes (agent - skills), et rédiger de nouvelles skills (ou des «
name: autoskill
description: Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or composition recipes that chain existing ones) for the patterns not yet covered. Use when the user asks to analyze their recent work and propose skills based on what they actually do. Requires the screenpipe daemon (https://github.com/screenpipe/screenpipe) running locally on port 3030 — the skill has no other data source and will refuse to run if screenpipe is unreachable. All detection runs locally; only redacted cluster summaries reach the LLM.
allowed-tools: Read Write Edit Bash
license: MIT license
requiredenvironmentvariables: [{"name": "SCREENPIPETOKEN", "prompt": "Auth token for the local screenpipe daemon.", "requiredfor": "full functionality"}, {"name": "ANTHROPICAPIKEY", "prompt": "For Claude API calls during skill drafting.", "requiredfor": "optional features"}, {"name": "FOUNDRYAPIKEY", "prompt": "Optional Foundry access for drafting.", "requiredfor": "optional features"}]
metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"requires": {"bins": ["screenpipe"]}, "primaryEnv": "SCREENPIPETOKEN", "envVars": [{"name": "SCREENPIPETOKEN", "required": true, "description": "Auth token for the local screenpipe daemon."}, {"name": "ANTHROPICAPIKEY", "required": false, "description": "For Claude API calls during skill drafting."}, {"name": "FOUNDRYAPIKEY", "required": false, "description": "Optional Foundry access for drafting."}]}}
autoskill
Requires a running [screenpipe](https://github.com/screenpipe/screenpipe) daemon. This skill has no alternate data source — it reads exclusively from the local screenpipe HTTP API (defaulthttp://localhost:3030). If the daemon isn't running,run()raisesScreenpipeUnreachablewith install instructions.
Network access & environment variables. This skill makes authenticated HTTP requests to (a) the user's local screenpipe daemon on loopback, and (b) the user-configured LLM backend — one ofhttp://localhost:1234/v1(LM Studio, default),https://api.anthropic.com(opt-in Claude), or a user-supplied BYOK Foundry gateway. The skill reads three environment variables —SCREENPIPE_TOKEN,ANTHROPIC_API_KEY,FOUNDRY_API_KEY— and uses each only to authenticate to the single endpoint its name implies. No other network destinations, no telemetry, no data egress to any third party.
Overview
Turn the user's own workflow history — captured passively by the local screenpipe daemon — into new skills. This skill is on-demand: the user invokes it with a time window, it queries screenpipe's local HTTP API, clusters repeated workflow patterns, compares each pattern against the existing skills in this repo, and produces a staged folder of proposals the user can review, edit, and promote.
When to Use This Skill
Invoke this skill when the user asks to:
- "Analyze my last 4 hours / day / week and propose new skills."
- "Look at what I've been doing and tell me what's not covered yet."
- "Draft a skill from my recent workflow."
- "Find composition recipes for workflows I repeat."
Do not invoke it for one-off questions about screenpipe itself, for real-time screen queries, or without an explicit user request — the skill analyzes sensitive local content and must stay explicitly user-triggered.
Privacy Posture
- Screenpipe handles app/window filtering at capture time. Install a starter deny-list by copying
references/screenpipe-config.yamlinto the user's screenpipe config. Sensitive apps (password managers, messaging, banking) are never OCR'd in the first place. - Raw OCR never leaves the machine.
scripts/fetch_window.pypulls data over localhost HTTP.scripts/cluster.pyreduces the timeline to app/duration/title summaries.scripts/redact.pystrips emails, API keys, bearer tokens, and phone numbers as defense-in-depth before any cluster summary reaches the LLM. - **LLM backend defaults to
local.** The recommended setup is [LM Studio](https://lmstudio.ai/) runningGemma-4-31B-it— strong reasoning at a size that fits on most workstation GPUs, and no data ever leaves your machine. Cloud backends (claude,foundry) are opt-in and documented inconfig.yamlfor users who explicitly want them. Detection and embeddings always run locally regardless of backend choice. - Dry-run mode (
--plan) prints the exact timeline that will be analyzed before any LLM call. - TLS for localhost (optional, for corporate policy): see
references/https-proxy.mdfor the Caddy pattern.
Prerequisites
1. Screenpipe daemon
Either install the official release or build from source. Either way the daemon binds HTTP on localhost:3030 by default.
From source (recommended if you want the CLI daemon without the desktop GUI):
git clone --depth 1 https:/