/ Каталог / Песочница / openskills
● Сообщество Geeksfino ⚡ Сразу

openskills

автор Geeksfino · Geeksfino/openskills

Rust runtime with TS/Python bindings for Agent Skills — progressive disclosure, sandboxing, and portability beyond Claude.

openskills is infrastructure, not a single skill: a Rust runtime that loads SKILL.md bundles (metadata first, then body, then scripts/resources) and exposes them to any agent via TS or Python bindings. It adds sandboxing (Seatbelt on macOS, experimental WASM) so skill scripts can't quietly escape. Use it if you're building your own agent or want cross-agent portability for skills.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

openskills-skill.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "openskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Geeksfino/openskills",
        "~/.claude/skills/openskills"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "openskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Geeksfino/openskills",
        "~/.claude/skills/openskills"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "openskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Geeksfino/openskills",
        "~/.claude/skills/openskills"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "openskills-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Geeksfino/openskills",
        "~/.claude/skills/openskills"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "openskills-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Geeksfino/openskills",
        "~/.claude/skills/openskills"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "openskills-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/Geeksfino/openskills",
          "~/.claude/skills/openskills"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add openskills-skill -- git clone https://github.com/Geeksfino/openskills ~/.claude/skills/openskills

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: openskills

How to embed Agent Skills into your own agent runtime

👤 Engineers building custom LLM agents ⏱ ~120 min advanced

Когда использовать: You're writing an agent from scratch and want a skill system that already understands SKILL.md.

Предварительные требования
  • Rust toolchain (for building) or prebuilt binding — rustup install stable; or use the TS/Python binding
  • Repo cloned — git clone https://github.com/Geeksfino/openskills ~/.claude/skills/openskills
Поток
  1. Install the binding
    Install the openskills Python or TS binding and point it at my skills directory.✓ Скопировано
    → Runtime loaded; skills enumerated
  2. Expose to your agent
    Wire the runtime into my agent's planner so it considers skills at each step.✓ Скопировано
    → Agent has a SkillRegistry abstraction
  3. Run sandboxed
    Enable Seatbelt sandboxing for skill scripts on macOS.✓ Скопировано
    → Skill scripts run under sandbox profile

Итог: Your custom agent can load and run SKILL.md bundles like Claude Code does.

Подводные камни
  • Loading all scripts at startup kills memory — Rely on progressive disclosure — metadata first
  • Sandbox denies legitimate operations — Audit the sandbox profile; narrow-then-widen rather than default-deny everything
Сочетать с: filesystem

Run a skill in isolation to test it outside Claude Code

👤 Skill authors who want cross-agent validation ⏱ ~45 min intermediate

Когда использовать: You want to prove your skill works without the specific harness of Claude Code.

Поток
  1. Load the skill
    Load ~/.claude/skills/my-skill/ with openskills and print its metadata.✓ Скопировано
    → Parsed frontmatter + body
  2. Invoke with a prompt
    Feed it a sample task and observe what would get loaded.✓ Скопировано
    → Disclosure trace: what the agent would see

Итог: Confidence your skill behaves portably.

Подводные камни
  • Skill depends on Claude Code internals — Refactor the skill to rely only on the public SKILL.md interface

Комбинации

Сочетайте с другими MCP — эффект x10

openskills-skill + skill-optimizer-skill

Validate skills portably before optimizing them

Load the skill with openskills, then hand off to skill-optimizer for patch suggestions.✓ Скопировано
openskills-skill + filesystem

Operate on the skills directory directly

List all SKILL.md in ~/.claude/skills/, summarize each.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
skill-loader skills dir Agent startup minimal
progressive-disclosure skill id + stage During agent reasoning minimal
sandbox-runner script + policy Any time a skill spawns a subprocess script runtime

Стоимость и лимиты

Во что обходится

Квота API
none
Токенов на вызов
runtime is prompt-light; you control what's disclosed
Деньги
free, open source
Совет
Keep progressive disclosure on — loading every script upfront blows context

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: none at runtime level
Исходящий трафик: none beyond what scripts themselves do

Устранение неполадок

Частые ошибки и исправления

Binding import fails

Ensure the native binary matches your platform; rebuild from source if needed.

Sandbox blocks expected syscalls

Iterate on the Seatbelt profile; log denials to find the right allow list.

Альтернативы

openskills в сравнении

АльтернативаКогда использоватьКомпромисс
Claude Code native skill loaderYou're only running inside Claude CodeNo cross-agent portability

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills