[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M739QJZ1XNKJKHPSA43VFM80":3,"skill-same:01M739QJZ1XNKJKHPSA43VFM80":165},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M739QJZ1XNKJKHPSA43VFM80","autoskill",null,"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:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) 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.","qhjqhj00\u002Fresearch-skills-pool","qhjqhj00","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29684092?v=4","01M72AE0ZGXVM5C57N512DGQG8","Tommy Chien","01M72AE107ESJMHT7QC5SXX144",3,"MIT","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: autoskill\ndescription: 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:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) 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.\nallowed-tools: Read Write Edit Bash\nlicense: MIT license\nmetadata:\n    skill-author: K-Dense Inc.\n    requires: screenpipe\n---\n\n# autoskill\n\n> **Requires a running [screenpipe](https:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) daemon.** This skill has no alternate data source — it reads exclusively from the local screenpipe HTTP API (default `http:\u002F\u002Flocalhost:3030`). If the daemon isn't running, `run()` raises `ScreenpipeUnreachable` with install instructions.\n\n> **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 of `http:\u002F\u002Flocalhost:1234\u002Fv1` (LM Studio, default), `https:\u002F\u002Fapi.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.\n\n## Overview\n\nTurn the user's own workflow history — captured passively by the local [screenpipe](https:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) 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.\n\n## When to Use This Skill\n\nInvoke this skill when the user asks to:\n- \"Analyze my last 4 hours \u002F day \u002F week and propose new skills.\"\n- \"Look at what I've been doing and tell me what's not covered yet.\"\n- \"Draft a skill from my recent workflow.\"\n- \"Find composition recipes for workflows I repeat.\"\n\nDo **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.\n\n## Privacy Posture\n\n- **Screenpipe handles app\u002Fwindow filtering at capture time.** Install a starter deny-list by copying `references\u002Fscreenpipe-config.yaml` into the user's screenpipe config. Sensitive apps (password managers, messaging, banking) are never OCR'd in the first place.\n- **Raw OCR never leaves the machine.** `scripts\u002Ffetch_window.py` pulls data over localhost HTTP. `scripts\u002Fcluster.py` reduces the timeline to app\u002Fduration\u002Ftitle summaries. `scripts\u002Fredact.py` strips emails, API keys, bearer tokens, and phone numbers as defense-in-depth before any cluster summary reaches the LLM.\n- **LLM backend defaults to `local`.** The recommended setup is [LM Studio](https:\u002F\u002Flmstudio.ai\u002F) running `Gemma-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 in `config.yaml` for users who explicitly want them. Detection and embeddings always run locally regardless of backend choice.\n- **Dry-run mode** (`--plan`) prints the exact timeline that will be analyzed before any LLM call.\n- **TLS for localhost** (optional, for corporate policy): see `references\u002Fhttps-proxy.md` for the Caddy pattern.\n\n## Prerequisites\n\n### 1. Screenpipe daemon\n\nEither install the official release or build from source. Either way the daemon binds HTTP on `localhost:3030` by default.\n\n**From source** (recommended if you want the CLI daemon without the desktop GUI):\n\n```bash\ngit clone --depth 1 https:\u002F\u002Fgithub.com\u002Fmediar-ai\u002Fscreenpipe.git\ncd screenpipe\ncargo build -p screenpipe-engine --release\n# System deps (macOS): cmake + full Xcode.app (not just Command Line Tools).\n#   brew install cmake\n#   # if xcodebuild plug-ins error: sudo xcodebuild -runFirstLaunch\n.\u002Ftarget\u002Frelease\u002Fscreenpipe doctor   # confirm permissions + ffmpeg\n.\u002Ftarget\u002Frelease\u002Fscreenpipe record --disable-audio --use-pii-removal\n```\n\nFirst run will prompt for macOS Screen Recording permission. Grant it and relaunch.\n\n### 2. Screenpipe API token\n\nThe local API now requires bearer auth. Retrieve your token and export it:\n\n```bash\nexport SCREENPIPE_TOKEN=$(screenpipe auth token)\n```\n\n(Or set `screenpipe.token` directly in `config.yaml` — env var is preferred since it keeps secrets out of version control.)\n\n### 3. Python environment\n\nVia `pipenv` from the repo root:\n\n```bash\npipenv install httpx pyyaml sentence-transformers\n```\n\nThe embedding model (`sentence-transformers\u002Fall-MiniLM-L6-v2`, ~80 MB) downloads on first run.\n\n### 4. Local LLM (default path) — LM Studio\n\n- Install [LM Studio](https:\u002F\u002Flmstudio.ai\u002F).\n- Download `Gemma-4-31B-it` (or another strong reasoning model; adjust `local.model` in `config.yaml`).\n- Load it via the CLI for headless use (no GUI required):\n\n```bash\nlms load gemma-4-31b-it --context-length 131072 --gpu max -y\nlms status   # confirm server running on :1234\n```\n\n### 5. Cloud LLM backends (optional, opt-in)\n\nOnly if you explicitly opt out of local:\n- `claude`: set `ANTHROPIC_API_KEY`, flip `backend: claude` in `config.yaml`.\n- `foundry`: set `FOUNDRY_API_KEY`, flip `backend: foundry`, set `foundry.endpoint` to your corporate gateway URL.\n\n## Architecture\n\n```\nscreenpipe daemon (user-installed)\n        │  HTTP on localhost:3030\n        ▼\nscripts\u002Ffetch_window.py    → normalized timeline events\nscripts\u002Fredact.py          → regex scrub (defense-in-depth)\nscripts\u002Fcluster.py         → sessions + clusters (local only)\nscripts\u002Fmatch_skills.py    → top-k vs existing 135 skills (local embeddings)\nscripts\u002Fsynthesize.py      → LLM judge: reuse \u002F compose \u002F novel\n        │\n        ▼\n~\u002F.autoskill\u002Fproposed\u002F\u003Ctimestamp>\u002F        (default; override with --out)\n  ├── report.md\n  ├── composition-recipes\u002F\u003Cname>\u002FSKILL.md\n  └── new-skills\u002F\u003Cname>\u002FSKILL.md\n\nscripts\u002Fpromote.py         → user-approved proposal → scientific-skills\u002F\u003Cname>\u002F\n```\n\n## Workflow\n\nThe skill ships a unified CLI at `scripts\u002Fautoskill.py` with three subcommands:\n\n```bash\npython scripts\u002Fautoskill.py doctor   --config config.yaml --skills-dir ..\u002F\npython scripts\u002Fautoskill.py run      --start ... --end ... --config config.yaml\npython scripts\u002Fautoskill.py promote  --proposed ~\u002F.autoskill\u002Fproposed\u002F\u003Cts> --skills-dir ..\u002F --name \u003Cskill>\n```\n\n### 0. Preflight with `doctor`\n\nBefore a full run, verify every dependency in one shot:\n\n```bash\npython scripts\u002Fautoskill.py doctor \\\n  --config scientific-skills\u002Fautoskill\u002Fconfig.yaml \\\n  --skills-dir scientific-skills\n```\n\nThe report covers `config` (backend choice valid), `skills_dir` (exists), `screenpipe` (reachable + authed), and `llm` (LM Studio serving or API key present). Non-zero exit on any failure, with the offending line marked `error`.\n\n### 1. Run the pipeline\n\n```bash\nexport SCREENPIPE_TOKEN=$(screenpipe auth token)\npython scripts\u002Fautoskill.py run \\\n  --start \"2026-04-17T00:00:00Z\" \\\n  --end   \"2026-04-17T23:59:59Z\" \\\n  --config scientific-skills\u002Fautoskill\u002Fconfig.yaml \\\n  --skills-dir scientific-skills\n```\n\nProposals land in `~\u002F.autoskill\u002Fproposed\u002F\u003Ctimestamp>\u002F` by default, keeping experimental output out of the skills repo. Pass `--out PATH` to override.\n\nInternally:\n1. **Fetch** — `fetch_window` paginates screenpipe's `\u002Fsearch` endpoint, normalizes events to `{ts, app, window_title, text, content_type}`.\n2. **Redact** — `redact` scrubs emails, API keys, bearer tokens, phones from OCR text and window titles as defense-in-depth over screenpipe's own PII removal.\n3. **Cluster** — `segment_sessions` splits on idle gaps (default 10 min) and drops short sessions; `cluster_sessions` groups sessions by app-signature and keeps clusters of size `min_cluster_size` (default 2).\n4. **Match** — `load_skill_descriptions` reads frontmatter from every `SKILL.md` in `scientific-skills\u002F`; `top_k_matches` ranks each cluster against all skills using local `sentence-transformers` embeddings (cosine similarity).\n5. **Synthesize** — `synthesize` prompts the configured LLM backend to classify each cluster as `reuse`, `compose`, or `novel` and emit a SKILL.md body where appropriate.\n6. **Report** — writes `\u003Cout_dir>\u002F\u003Cts>\u002Freport.md`, plus `new-skills\u002F\u003Cname>\u002FSKILL.md` or `composition-recipes\u002F\u003Cname>\u002FSKILL.md` for each proposal.\n\nAdd `--dry-run` to stop after clustering; this skips the LLM (and the sentence-transformers load), writing only `plan.md` for inspection.\n\n### 2. Review and promote\n\nOpen `~\u002F.autoskill\u002Fproposed\u002F\u003Cts>\u002Freport.md`, edit drafts in place, delete anything you don't want. Then:\n\n```bash\npython scripts\u002Fautoskill.py promote \\\n  --proposed ~\u002F.autoskill\u002Fproposed\u002F2026-04-17T14-30-00 \\\n  --skills-dir scientific-skills \\\n  --name zotero-pubmed-helper\n```\n\n`promote` moves the directory into `scientific-skills\u002F\u003Cname>\u002F`, refusing to overwrite an existing skill. Exits non-zero with a friendly error if the proposal isn't found or the target already exists.\n\n## Configuration\n\nSee `config.yaml` for the full shape. Default values (local-first):\n\n```yaml\nbackend: local\nlocal:\n  endpoint: http:\u002F\u002Flocalhost:1234\u002Fv1   # LM Studio's Developer server\n  model: Gemma-4-31B-it\n\nscreenpipe:\n  url: http:\u002F\u002Flocalhost:3030           # or https:\u002F\u002Fscreenpipe.local via Caddy\n\ncluster:\n  min_session_minutes: 5\n  idle_gap_minutes: 10\n  min_cluster_size: 2\n```\n\nTo opt into a cloud backend:\n\n```yaml\nbackend: claude                         # or foundry\nclaude:\n  model: claude-opus-4-7\n```\n\n## Composition recipes vs new skills\n\n- **compose**: the LLM judged that chaining existing skills covers the workflow. The emitted SKILL.md is intentionally thin — frontmatter + a \"Workflow\" section that invokes existing skills in order. The same agent runtime that discovered the skill can then invoke it end-to-end.\n- **novel**: no combination of existing skills covers it. A fuller SKILL.md is drafted, still following repo conventions (frontmatter, Overview, When to Use, Workflow). The user should always review new-skill drafts before promoting.\n\n## Testing\n\nThe skill is covered by a small pytest suite at `tests\u002F`. Each script is unit-tested in isolation with dependency injection (mock HTTP transport, stub backend, stub embedder):\n\n```bash\ncd scientific-skills\u002Fautoskill\npython -m pytest tests\u002F -v\n```\n\n## Composition with other skills in this repo\n\nThe autoskill's embedding index covers all 135 sibling skills. Workflows that look like scientific writing will match `scientific-writing` \u002F `literature-review` \u002F `citation-management`; figure work will match `scientific-schematics` \u002F `generate-image` \u002F `infographics`; slide prep matches `scientific-slides` \u002F `pptx`; etc. When a cluster scores high against two or three sibling skills the emitted composition recipe names them explicitly, so the user's future agent invocations use the optimized paths already documented in this repo.\n","# autoskill\n\n> **Requires a running [screenpipe](https:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) daemon.** This skill has no alternate data source — it reads exclusively from the local screenpipe HTTP API (default `http:\u002F\u002Flocalhost:3030`). If the daemon isn't running, `run()` raises `ScreenpipeUnreachable` with install instructions.\n\n> **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 of `http:\u002F\u002Flocalhost:1234\u002Fv1` (LM Studio, default), `https:\u002F\u002Fapi.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.\n\n## Overview\n\nTurn the user's own workflow history — captured passively by the local [screenpipe](https:\u002F\u002Fgithub.com\u002Fscreenpipe\u002Fscreenpipe) 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.\n\n## When to Use This Skill\n\nInvoke this skill when the user asks to:\n- \"Analyze my last 4 hours \u002F day \u002F week and propose new skills.\"\n- \"Look at what I've been doing and tell me what's not covered yet.\"\n- \"Draft a skill from my recent workflow.\"\n- \"Find composition recipes for workflows I repeat.\"\n\nDo **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.\n\n## Privacy Posture\n\n- **Screenpipe handles app\u002Fwindow filtering at capture time.** Install a starter deny-list by copying `references\u002Fscreenpipe-config.yaml` into the user's screenpipe config. Sensitive apps (password managers, messaging, banking) are never OCR'd in the first place.\n- **Raw OCR never leaves the machine.** `scripts\u002Ffetch_window.py` pulls data over localhost HTTP. `scripts\u002Fcluster.py` reduces the timeline to app\u002Fduration\u002Ftitle summaries. `scripts\u002Fredact.py` strips emails, API keys, bearer tokens, and phone numbers as defense-in-depth before any cluster summary reaches the LLM.\n- **LLM backend defaults to `local`.** The recommended setup is [LM Studio](https:\u002F\u002Flmstudio.ai\u002F) running `Gemma-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 in `config.yaml` for users who explicitly want them. Detection and embeddings always run locally regardless of backend choice.\n- **Dry-run mode** (`--plan`) prints the exact timeline that will be analyzed before any LLM call.\n- **TLS for localhost** (optional, for corporate policy): see `references\u002Fhttps-proxy.md` for the Caddy pattern.\n\n## Prerequisites\n\n### 1. Screenpipe daemon\n\nEither install the official release or build from source. Either way the daemon binds HTTP on `localhost:3030` by default.\n\n**From source** (recommended if you want the CLI daemon without the desktop GUI):\n\n```bash\ngit clone --depth 1 https:\u002F\u002Fgithub.com\u002Fmediar-ai\u002Fscreenpipe.git\ncd screenpipe\ncargo build -p screenpipe-engine --release\n# System deps (macOS): cmake + full Xcode.app (not just Command Line Tools).\n#   brew install cmake\n#   # if xcodebuild plug-ins error: sudo xcodebuild -runFirstLaunch\n.\u002Ftarget\u002Frelease\u002Fscreenpipe doctor   # confirm permissions + ffmpeg\n.\u002Ftarget\u002Frelease\u002Fscreenpipe record --disable-audio --use-pii-removal\n```\n\nFirst run will prompt for macOS Screen Recording permission. Grant it and relaunch.\n\n### 2. Screenpipe API token\n\nThe local API now requires bearer auth. Retrieve your token and export it:\n\n```bash\nexport SCREENPIPE_TOKEN=$(screenpipe auth token)\n```\n\n(Or set `screenpipe.token` directly in `config.yaml` — env var is preferred since it keeps secrets out of version control.)\n\n### 3. Python environment\n\nVia `pipenv` from the repo root:\n\n```bash\npipenv install httpx pyyaml sentence-transformers\n```\n\nThe embedding model (`sentence-transformers\u002Fall-MiniLM-L6-v2`, ~80 MB) downloads on first run.\n\n### 4. Local LLM (default path) — LM Studio\n\n- Install [LM Studio](https:\u002F\u002Flmstudio.ai\u002F).\n- Download `Gemma-4-31B-it` (or another strong reasoning model; adjust `local.model` in `config.yaml`).\n- Load it via the CLI for headless use (no GUI required):\n\n```bash\nlms load gemma-4-31b-it --context-length 131072 --gpu max -y\nlms status   # confirm server running on :1234\n```\n\n### 5. Cloud LLM backends (optional, opt-in)\n\nOnly if you explicitly opt out of local:\n- `claude`: set `ANTHROPIC_API_KEY`, flip `backend: claude` in `config.yaml`.\n- `foundry`: set `FOUNDRY_API_KEY`, flip `backend: foundry`, set `foundry.endpoint` to your corporate gateway URL.\n\n## Architecture\n\n```\nscreenpipe daemon (user-installed)\n        │  HTTP on localhost:3030\n        ▼\nscripts\u002Ffetch_window.py    → normalized timeline events\nscripts\u002Fredact.py          → regex scrub (defense-in-depth)\nscripts\u002Fcluster.py         → sessions + clusters (local only)\nscripts\u002Fmatch_skills.py    → top-k vs existing 135 skills (local embeddings)\nscripts\u002Fsynthesize.py      → LLM judge: reuse \u002F compose \u002F novel\n        │\n        ▼\n~\u002F.autoskill\u002Fproposed\u002F\u003Ctimestamp>\u002F        (default; override with --out)\n  ├── report.md\n  ├── composition-recipes\u002F\u003Cname>\u002FSKILL.md\n  └── new-skills\u002F\u003Cname>\u002FSKILL.md\n\nscripts\u002Fpromote.py         → user-approved proposal → scientific-skills\u002F\u003Cname>\u002F\n```\n\n## Workflow\n\nThe skill ships a unified CLI at `scripts\u002Fautoskill.py` with three subcommands:\n\n```bash\npython scripts\u002Fautoskill.py doctor   --config config.yaml --skills-dir ..\u002F\npython scripts\u002Fautoskill.py run      --start ... --end ... --config config.yaml\npython scripts\u002Fautoskill.py promote  --proposed ~\u002F.autoskill\u002Fproposed\u002F\u003Cts> --skills-dir ..\u002F --name \u003Cskill>\n```\n\n### 0. Preflight with `doctor`\n\nBefore a full run, verify every dependency in one shot:\n\n```bash\npython scripts\u002Fautoskill.py doctor \\\n  --config scientific-skills\u002Fautoskill\u002Fconfig.yaml \\\n  --skills-dir scientific-skills\n```\n\nThe report covers `config` (backend choice valid), `skills_dir` (exists), `screenpipe` (reachable + authed), and `llm` (LM Studio serving or API key present). Non-zero exit on any failure, with the offending line marked `error`.\n\n### 1. Run the pipeline\n\n```bash\nexport SCREENPIPE_TOKEN=$(screenpipe auth token)\npython scripts\u002Fautoskill.py run \\\n  --start \"2026-04-17T00:00:00Z\" \\\n  --end   \"2026-04-17T23:59:59Z\" \\\n  --config scientific-skills\u002Fautoskill\u002Fconfig.yaml \\\n  --skills-dir scientific-skills\n```\n\nProposals land in `~\u002F.autoskill\u002Fproposed\u002F\u003Ctimestamp>\u002F` by default, keeping experimental output out of the skills repo. Pass `--out PATH` to override.\n\nInternally:\n1. **Fetch** — `fetch_window` paginates screenpipe's `\u002Fsearch` endpoint, normalizes events to `{ts, app, window_title, text, content_type}`.\n2. **Redact** — `redact` scrubs emails, API keys, bearer tokens, phones from OCR text and window titles as defense-in-depth over screenpipe's own PII removal.\n3. **Cluster** — `segment_sessions` splits on idle gaps (default 10 min) and drops short sessions; `cluster_sessions` groups sessions by app-signature and keeps clusters of size `min_cluster_size` (default 2).\n4. **Match** — `load_skill_descriptions` reads frontmatter from every `SKILL.md` in `scientific-skills\u002F`; `top_k_matches` ranks each cluster against all skills using local `sentence-transformers` embeddings (cosine similarity).\n5. **Synthesize** — `synthesize` prompts the configured LLM backend to classify each cluster as `reuse`, `compose`, or `novel` and emit a SKILL.md body where appropriate.\n6. **Report** — writes `\u003Cout_dir>\u002F\u003Cts>\u002Freport.md`, plus `new-skills\u002F\u003Cname>\u002FSKILL.md` or `composition-recipes\u002F\u003Cname>\u002FSKILL.md` for each proposal.\n\nAdd `--dry-run` to stop after clustering; this skips the LLM (and the sentence-transformers load), writing only `plan.md` for inspection.\n\n### 2. Review and promote\n\nOpen `~\u002F.autoskill\u002Fproposed\u002F\u003Cts>\u002Freport.md`, edit drafts in place, delete anything you don't want. Then:\n\n```bash\npython scripts\u002Fautoskill.py promote \\\n  --proposed ~\u002F.autoskill\u002Fproposed\u002F2026-04-17T14-30-00 \\\n  --skills-dir scientific-skills \\\n  --name zotero-pubmed-helper\n```\n\n`promote` moves the directory into `scientific-skills\u002F\u003Cname>\u002F`, refusing to overwrite an existing skill. Exits non-zero with a friendly error if the proposal isn't found or the target already exists.\n\n## Configuration\n\nSee `config.yaml` for the full shape. Default values (local-first):\n\n```yaml\nbackend: local\nlocal:\n  endpoint: http:\u002F\u002Flocalhost:1234\u002Fv1   # LM Studio's Developer server\n  model: Gemma-4-31B-it\n\nscreenpipe:\n  url: http:\u002F\u002Flocalhost:3030           # or https:\u002F\u002Fscreenpipe.local via Caddy\n\ncluster:\n  min_session_minutes: 5\n  idle_gap_minutes: 10\n  min_cluster_size: 2\n```\n\nTo opt into a cloud backend:\n\n```yaml\nbackend: claude                         # or foundry\nclaude:\n  model: claude-opus-4-7\n```\n\n## Composition recipes vs new skills\n\n- **compose**: the LLM judged that chaining existing skills covers the workflow. The emitted SKILL.md is intentionally thin — frontmatter + a \"Workflow\" section that invokes existing skills in order. The same agent runtime that discovered the skill can then invoke it end-to-end.\n- **novel**: no combination of existing skills covers it. A fuller SKILL.md is drafted, still following repo conventions (frontmatter, Overview, When to Use, Workflow). The user should always review new-skill drafts before promoting.\n\n## Testing\n\nThe skill is covered by a small pytest suite at `tests\u002F`. Each script is unit-tested in isolation with dependency injection (mock HTTP transport, stub backend, stub embedder):\n\n```bash\ncd scientific-skills\u002Fautoskill\npython -m pytest tests\u002F -v\n```\n\n## Composition with other skills in this repo\n\nThe autoskill's embedding index covers all 135 sibling skills. Workflows that look like scientific writing will match `scientific-writing` \u002F `literature-review` \u002F `citation-management`; figure work will match `scientific-schematics` \u002F `generate-image` \u002F `infographics`; slide prep matches `scientific-slides` \u002F `pptx`; etc. When a cluster scores high against two or three sibling skills the emitted composition recipe names them explicitly, so the user's future agent invocations use the optimized paths already documented in this repo.\n",{"name":5,"license":24,"metadata":25,"description":7,"allowed-tools":28},"MIT license",{"requires":26,"skill-author":27},"screenpipe","K-Dense Inc.","Read Write Edit Bash","master","c247302c836de6438d746b45670990eb71691166","skills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill",1,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool","https:\u002F\u002Fgithub.com\u002Fqhjqhj00","chien.io","2026-05-11 15:07:59",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add qhjqhj00\u002Fresearch-skills-pool --skill autoskill",{"tool":43,"command":44},"bunx","bunx skills add qhjqhj00\u002Fresearch-skills-pool --skill autoskill",{"tool":46,"command":47},"pnpm","pnpm dlx skills add qhjqhj00\u002Fresearch-skills-pool --skill autoskill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002FSKILL.md",true,[51,57,63,67,71,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},".gitignore","OTHER","其他",34,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002F.gitignore",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"config.yaml","REFERENCE","参考文档",2030,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fconfig.yaml",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fhttps-proxy.md",1518,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Freferences\u002Fhttps-proxy.md",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fscreenpipe-config.yaml",1567,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Freferences\u002Fscreenpipe-config.yaml",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Fautoskill.py","SCRIPT","脚本",1169,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fautoskill.py",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fbackends.py",2380,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fbackends.py",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fcluster.py",1723,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fcluster.py",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fdoctor.py",3512,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fdoctor.py",{"path":90,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Ffetch_window.py",1172,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Ffetch_window.py",{"path":94,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fmatch_skills.py",1316,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fmatch_skills.py",{"path":98,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fpromote.py",1581,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fpromote.py",{"path":102,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fredact.py",1634,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fredact.py",{"path":106,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Frun.py",7381,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Frun.py",{"path":110,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fsynthesize.py",2378,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Fscripts\u002Fsynthesize.py",{"path":114,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":115,"sourceHtmlUrl":116},"tests\u002Fconftest.py",113,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Fconftest.py",{"path":118,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":119,"sourceHtmlUrl":120},"tests\u002Fsmoke_lmstudio.py",2038,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Fsmoke_lmstudio.py",{"path":122,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":123,"sourceHtmlUrl":124},"tests\u002Ftest_backends.py",4252,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_backends.py",{"path":126,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":127,"sourceHtmlUrl":128},"tests\u002Ftest_cli.py",1566,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_cli.py",{"path":130,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":131,"sourceHtmlUrl":132},"tests\u002Ftest_cluster.py",2790,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_cluster.py",{"path":134,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":135,"sourceHtmlUrl":136},"tests\u002Ftest_doctor.py",3041,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_doctor.py",{"path":138,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":139,"sourceHtmlUrl":140},"tests\u002Ftest_e2e.py",12227,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_e2e.py",{"path":142,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":143,"sourceHtmlUrl":144},"tests\u002Ftest_fetch_window.py",3774,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_fetch_window.py",{"path":146,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":147,"sourceHtmlUrl":148},"tests\u002Ftest_match_skills.py",2583,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_match_skills.py",{"path":150,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":151,"sourceHtmlUrl":152},"tests\u002Ftest_promote.py",3629,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_promote.py",{"path":154,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":155,"sourceHtmlUrl":156},"tests\u002Ftest_redact.py",4576,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_redact.py",{"path":158,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":159,"sourceHtmlUrl":160},"tests\u002Ftest_run.py",8188,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_run.py",{"path":162,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":163,"sourceHtmlUrl":164},"tests\u002Ftest_synthesize.py",3143,"https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Fskills_collected\u002FK-Dense-AI--scientific-agent-skills--scientific-skills__autoskill\u002Ftests\u002Ftest_synthesize.py",[166,173,180,187,194,201],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M73JJB6EQPFPPVQK2Y9N67Q0","transformer-lens-interpretability","Provides guidance for mechanistic interpretability research using TransformerLens to inspect and manipulate transformer internals via HookPoints and activation caching. Use when reverse-engineering model algorithms, studying attention patterns, or performing activation patching experiments.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F130-transformer-lens\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M73JHTANRRWEE9HP98TPEHAY","wiki-vitepress","Packages generated wiki Markdown into a VitePress static site with dark theme, dark-mode Mermaid diagrams with click-to-zoom, and production build output. Use when the user wants to create a browsable website from generated wiki pages.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F126-wiki-vitepress\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M73JHJBMVFW46F1Y8K3SBF43","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F124-phoenix\u002FSKILL.md",[],[],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":19},"01M73JHFPA3A2806PMP42ZN86Q","frontend-ui-dark-ts","Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F123-frontend-ui-dark-ts\u002FSKILL.md",[],[],{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":19},"01M73JFVBVK57NRJS49TT2VDCT","tensorboard","Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F113-tensorboard\u002FSKILL.md",[],[],{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":205,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":208,"publishedAt":19},"01M73JFF6PK6ZCN41C89J7HS2B","markdown-mermaid-writing","Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fqhjqhj00\u002Fresearch-skills-pool\u002Fblob\u002Fmaster\u002Ftop100-runs\u002F110-markdown-mermaid-writing\u002FSKILL.md",[],[]]