[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DKZWP67VSPWFVHF0MMTYJ":3,"skill-same:01M75DKZWP67VSPWFVHF0MMTYJ":164},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M75DKZWP67VSPWFVHF0MMTYJ","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.","Lord1Egypt\u002Fai-skillforge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M7597M9CBBVAPX1CYE1KFTSM",2,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002FSKILL.md",[],[],"2026-11-12 13:55:43",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: Lord1Egypt\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":27},"MIT license",{"requires":26,"skill-author":9},"screenpipe","Read Write Edit Bash","main","3f88e1b76af67701a6405069a542e21a997d2868","python\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-05 10:16:24",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Lord1Egypt\u002Fai-skillforge --skill autoskill",{"tool":42,"command":43},"bunx","bunx skills add Lord1Egypt\u002Fai-skillforge --skill autoskill",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fai-skillforge --skill autoskill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002FSKILL.md",true,[50,56,62,66,70,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},".gitignore","OTHER","其他",34,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002F.gitignore",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"config.yaml","REFERENCE","参考文档",2030,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fconfig.yaml",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fhttps-proxy.md",1518,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Freferences\u002Fhttps-proxy.md",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fscreenpipe-config.yaml",1567,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Freferences\u002Fscreenpipe-config.yaml",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fautoskill.py","SCRIPT","脚本",1169,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fautoskill.py",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fbackends.py",2380,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fbackends.py",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fcluster.py",1723,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fcluster.py",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fdoctor.py",3512,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fdoctor.py",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Ffetch_window.py",1172,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Ffetch_window.py",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fmatch_skills.py",1316,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fmatch_skills.py",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fpromote.py",1581,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fpromote.py",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fredact.py",1634,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fredact.py",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Frun.py",7381,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Frun.py",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fsynthesize.py",2378,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Fscripts\u002Fsynthesize.py",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"tests\u002Fconftest.py",113,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Fconftest.py",{"path":117,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":118,"sourceHtmlUrl":119},"tests\u002Fsmoke_lmstudio.py",2038,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Fsmoke_lmstudio.py",{"path":121,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":122,"sourceHtmlUrl":123},"tests\u002Ftest_backends.py",4252,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_backends.py",{"path":125,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":126,"sourceHtmlUrl":127},"tests\u002Ftest_cli.py",1566,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_cli.py",{"path":129,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":130,"sourceHtmlUrl":131},"tests\u002Ftest_cluster.py",2790,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_cluster.py",{"path":133,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":134,"sourceHtmlUrl":135},"tests\u002Ftest_doctor.py",3041,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_doctor.py",{"path":137,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":138,"sourceHtmlUrl":139},"tests\u002Ftest_e2e.py",12227,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_e2e.py",{"path":141,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":142,"sourceHtmlUrl":143},"tests\u002Ftest_fetch_window.py",3774,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_fetch_window.py",{"path":145,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":146,"sourceHtmlUrl":147},"tests\u002Ftest_match_skills.py",2583,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_match_skills.py",{"path":149,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":150,"sourceHtmlUrl":151},"tests\u002Ftest_promote.py",3629,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_promote.py",{"path":153,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":154,"sourceHtmlUrl":155},"tests\u002Ftest_redact.py",4576,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_redact.py",{"path":157,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":158,"sourceHtmlUrl":159},"tests\u002Ftest_run.py",8188,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_run.py",{"path":161,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":162,"sourceHtmlUrl":163},"tests\u002Ftest_synthesize.py",3143,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fpython\u002Fskillforge_agent\u002Fskills\u002Fscientific\u002Fautoskill\u002Ftests\u002Ftest_synthesize.py",[165,172,179,186,193,200],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":19},"01M75GWTHWA52GYQKS347FF6CD","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":19},"01M75GW9FBP9NAFBSNVJ23RHSX","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Fwhat-if-oracle\u002FSKILL.md",[],[],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":19},"01M75GW351MZZQ1V7207PDCX5D","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Fvenue-templates\u002FSKILL.md",[],[],{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":19},"01M75GVYGMAZDV2NHWSV6PP6TK","vaex","Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV\u002FHDF5\u002FArrow\u002FParquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Fvaex\u002FSKILL.md",[],[],{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":19},"01M75GVS0ADH3DZ3QB564EVYC9","usfiscaldata","Query the U.S. Treasury Fiscal Data API for federal financial data including national debt, government spending, revenue, interest rates, exchange rates, and savings bonds. Access 54 datasets and 182 data tables with no API key required. Use when working with U.S. federal fiscal data, national debt tracking (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates on Treasury securities, foreign exchange rates, savings bonds, or any U.S. government financial statistics.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Fusfiscaldata\u002FSKILL.md",[],[],{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":19},"01M75GVDTBSXRQ4Q11RVJQC56M","treatment-plans","Generate concise (3-4 page), focused medical treatment plans in LaTeX\u002FPDF format for all clinical specialties. Supports general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management. Includes SMART goal frameworks, evidence-based interventions with minimal text citations, regulatory compliance (HIPAA), and professional formatting. Prioritizes brevity and clinical actionability.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fai-skillforge\u002Fblob\u002Fmain\u002Fskills\u002Fscientific\u002Ftreatment-plans\u002FSKILL.md",[],[]]