MCP HubMCP Hub
스킬 목록으로 돌아가기

autoskill

K-Dense-AI
업데이트됨 2 days ago
5 조회
25,857
2,693
25,857
GitHub에서 보기
메타aiautomationdesigndata

정보

자동화 스킬은 로컬 스크린파이프 데몬을 통해 화면 활동을 분석하여 반복적인 연구 워크플로우를 식별하고 새로운 자동화 스킬을 제안합니다. 기존 스킬에 대한 패턴 매칭을 수행하며, 새로운 워크플로우에 대해서는 새 스킬이나 조합을 기초 설계합니다. 탐지는 로컬에서 실행되며, LLM으로는 편집된 요약본만 전송됩니다. 실제 작업 패턴을 분석하고 사용자의 행동을 기반으로 관련 자동화 스킬을 제안받고 싶을 때 이 기능을 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add K-Dense-AI/claude-scientific-skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/K-Dense-AI/claude-scientific-skills
Git 클론대체
git clone https://github.com/K-Dense-AI/claude-scientific-skills.git ~/.claude/skills/autoskill

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

autoskill

Requires a running screenpipe daemon. This skill has no alternate data source — it reads exclusively from the local screenpipe HTTP API (default http://localhost:3030). If the daemon isn't running, run() raises ScreenpipeUnreachable with 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 of http://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.yaml into 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.py pulls data over localhost HTTP. scripts/cluster.py reduces the timeline to app/duration/title summaries. scripts/redact.py strips 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 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.
  • 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.md for 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://github.com/mediar-ai/screenpipe.git
cd screenpipe
cargo build -p screenpipe-engine --release
# System deps (macOS): cmake + full Xcode.app (not just Command Line Tools).
#   brew install cmake
#   # if xcodebuild plug-ins error: sudo xcodebuild -runFirstLaunch
./target/release/screenpipe doctor   # confirm permissions + ffmpeg
./target/release/screenpipe record --disable-audio --use-pii-removal

First run will prompt for macOS Screen Recording permission. Grant it and relaunch.

2. Screenpipe API token

The local API now requires bearer auth. Retrieve your token and export it:

export SCREENPIPE_TOKEN=$(screenpipe auth token)

(Or set screenpipe.token directly in config.yaml — env var is preferred since it keeps secrets out of version control.)

3. Python environment

Via pipenv from the repo root:

pipenv install httpx pyyaml sentence-transformers

The embedding model (sentence-transformers/all-MiniLM-L6-v2, ~80 MB) downloads on first run.

4. Local LLM (default path) — LM Studio

  • Install LM Studio.
  • Download Gemma-4-31B-it (or another strong reasoning model; adjust local.model in config.yaml).
  • Load it via the CLI for headless use (no GUI required):
lms load gemma-4-31b-it --context-length 131072 --gpu max -y
lms status   # confirm server running on :1234

5. Cloud LLM backends (optional, opt-in)

Only if you explicitly opt out of local:

  • claude: set ANTHROPIC_API_KEY, flip backend: claude in config.yaml.
  • foundry: set FOUNDRY_API_KEY, flip backend: foundry, set foundry.endpoint to your corporate gateway URL.

Architecture

screenpipe daemon (user-installed)
        │  HTTP on localhost:3030
        ▼
scripts/fetch_window.py    → normalized timeline events
scripts/redact.py          → regex scrub (defense-in-depth)
scripts/cluster.py         → sessions + clusters (local only)
scripts/match_skills.py    → top-k vs existing 135 skills (local embeddings)
scripts/synthesize.py      → LLM judge: reuse / compose / novel
        │
        ▼
~/.autoskill/proposed/<timestamp>/        (default; override with --out)
  ├── report.md
  ├── composition-recipes/<name>/SKILL.md
  └── new-skills/<name>/SKILL.md

scripts/promote.py         → user-approved proposal → scientific-skills/<name>/

Workflow

The skill ships a unified CLI at scripts/autoskill.py with three subcommands:

python scripts/autoskill.py doctor   --config config.yaml --skills-dir ../
python scripts/autoskill.py run      --start ... --end ... --config config.yaml
python scripts/autoskill.py promote  --proposed ~/.autoskill/proposed/<ts> --skills-dir ../ --name <skill>

0. Preflight with doctor

Before a full run, verify every dependency in one shot:

python scripts/autoskill.py doctor \
  --config scientific-skills/autoskill/config.yaml \
  --skills-dir scientific-skills

The 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.

1. Run the pipeline

export SCREENPIPE_TOKEN=$(screenpipe auth token)
python scripts/autoskill.py run \
  --start "2026-04-17T00:00:00Z" \
  --end   "2026-04-17T23:59:59Z" \
  --config scientific-skills/autoskill/config.yaml \
  --skills-dir scientific-skills

Proposals land in ~/.autoskill/proposed/<timestamp>/ by default, keeping experimental output out of the skills repo. Pass --out PATH to override.

Internally:

  1. Fetchfetch_window paginates screenpipe's /search endpoint, normalizes events to {ts, app, window_title, text, content_type}.
  2. Redactredact scrubs emails, API keys, bearer tokens, phones from OCR text and window titles as defense-in-depth over screenpipe's own PII removal.
  3. Clustersegment_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).
  4. Matchload_skill_descriptions reads frontmatter from every SKILL.md in scientific-skills/; top_k_matches ranks each cluster against all skills using local sentence-transformers embeddings (cosine similarity).
  5. Synthesizesynthesize prompts the configured LLM backend to classify each cluster as reuse, compose, or novel and emit a SKILL.md body where appropriate.
  6. Report — writes <out_dir>/<ts>/report.md, plus new-skills/<name>/SKILL.md or composition-recipes/<name>/SKILL.md for each proposal.

Add --dry-run to stop after clustering; this skips the LLM (and the sentence-transformers load), writing only plan.md for inspection.

2. Review and promote

Open ~/.autoskill/proposed/<ts>/report.md, edit drafts in place, delete anything you don't want. Then:

python scripts/autoskill.py promote \
  --proposed ~/.autoskill/proposed/2026-04-17T14-30-00 \
  --skills-dir scientific-skills \
  --name zotero-pubmed-helper

promote moves the directory into scientific-skills/<name>/, refusing to overwrite an existing skill. Exits non-zero with a friendly error if the proposal isn't found or the target already exists.

Configuration

See config.yaml for the full shape. Default values (local-first):

backend: local
local:
  endpoint: http://localhost:1234/v1   # LM Studio's Developer server
  model: Gemma-4-31B-it

screenpipe:
  url: http://localhost:3030           # or https://screenpipe.local via Caddy

cluster:
  min_session_minutes: 5
  idle_gap_minutes: 10
  min_cluster_size: 2

To opt into a cloud backend:

backend: claude                         # or foundry
claude:
  model: claude-opus-4-7

Composition recipes vs new skills

  • 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.
  • 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.

Testing

The skill is covered by a small pytest suite at tests/. Each script is unit-tested in isolation with dependency injection (mock HTTP transport, stub backend, stub embedder):

cd scientific-skills/autoskill
python -m pytest tests/ -v

Composition with other skills in this repo

The autoskill's embedding index covers all 135 sibling skills. Workflows that look like scientific writing will match scientific-writing / literature-review / citation-management; figure work will match scientific-schematics / generate-image / infographics; slide prep matches scientific-slides / 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.

GitHub 저장소

K-Dense-AI/claude-scientific-skills
경로: scientific-skills/autoskill
0
agent-skillsai-scientistbioinformaticschemoinformaticsclaudeclaude-skills

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기