/ Diretório / Playground / openskills
● Comunidade Geeksfino ⚡ Instantâneo

openskills

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

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

openskills-skill.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/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
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

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

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: openskills

How to embed Agent Skills into your own agent runtime

👤 Engineers building custom LLM agents ⏱ ~120 min advanced

Quando usar: You're writing an agent from scratch and want a skill system that already understands SKILL.md.

Pré-requisitos
  • 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
Fluxo
  1. Install the binding
    Install the openskills Python or TS binding and point it at my skills directory.✓ Copiado
    → Runtime loaded; skills enumerated
  2. Expose to your agent
    Wire the runtime into my agent's planner so it considers skills at each step.✓ Copiado
    → Agent has a SkillRegistry abstraction
  3. Run sandboxed
    Enable Seatbelt sandboxing for skill scripts on macOS.✓ Copiado
    → Skill scripts run under sandbox profile

Resultado: Your custom agent can load and run SKILL.md bundles like Claude Code does.

Armadilhas
  • 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
Combine com: filesystem

Run a skill in isolation to test it outside Claude Code

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

Quando usar: You want to prove your skill works without the specific harness of Claude Code.

Fluxo
  1. Load the skill
    Load ~/.claude/skills/my-skill/ with openskills and print its metadata.✓ Copiado
    → Parsed frontmatter + body
  2. Invoke with a prompt
    Feed it a sample task and observe what would get loaded.✓ Copiado
    → Disclosure trace: what the agent would see

Resultado: Confidence your skill behaves portably.

Armadilhas
  • Skill depends on Claude Code internals — Refactor the skill to rely only on the public SKILL.md interface

Combinações

Combine com outros MCPs para 10× de alavancagem

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.✓ Copiado
openskills-skill + filesystem

Operate on the skills directory directly

List all SKILL.md in ~/.claude/skills/, summarize each.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
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

Custo e limites

O que custa rodar

Cota de API
none
Tokens por chamada
runtime is prompt-light; you control what's disclosed
Monetário
free, open source
Dica
Keep progressive disclosure on — loading every script upfront blows context

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: none at runtime level
Saída de dados: none beyond what scripts themselves do

Solução de problemas

Erros comuns e correções

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.

Alternativas

openskills vs. outros

AlternativaQuando usarTroca
Claude Code native skill loaderYou're only running inside Claude CodeNo cross-agent portability

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills