Sign inSign up

kartikrustagi85244/sbx-kit-claude-kr:latest

Multi-platform
Manifest digest

sha256:1bc3c206d56f4f77c6c72b107194a96b8ca9b61749f8127cfe60588bc0359c2c

Last pushed

1 day by kartikrustagi85244

Type

Sandbox Kit

Manifest digest

sha256:1bc3c206d56f4f77c6c72b107194a96b8ca9b61749f8127cfe60588bc0359c2c

yaml
schemaVersion: "3"
displayName: claude-kr
description: Keeps Claude Code on the latest release and installs a Claude Code plugin (kr-skills by default) from a GitHub marketplace on every sandbox start.
version: 0.1.1
kind: mixin
requires:
    - claude
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - downloads.claude.ai:443
                - github.com:443
    - type: com.docker.sandbox/lifecycle@1
      config:
        startup:
            - background: true
              command:
                - /opt/claude-kr/bin/update-claude.sh
              description: Update Claude Code to the latest release
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
                - NO_PROXY
                - http_proxy
                - https_proxy
                - no_proxy
              user: "0"
            - command:
                - /opt/claude-kr/bin/install-plugin.sh
                - ${{ kit.args.marketplace }}
                - ${{ kit.args.plugin }}
              description: Add the plugin marketplace, install and refresh the plugin
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
                - NO_PROXY
                - http_proxy
                - https_proxy
                - no_proxy
args:
    marketplace:
        default: kartikrustagi/kr-skills
        description: GitHub owner/repo of the Claude Code plugin marketplace
        pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
    plugin:
        default: kr-skills@kartikrustagi
        description: Plugin to install, as plugin@marketplace-name; empty skips the install
        pattern: ^([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+)?$