Sign inSign up

docker/sbx-kit-ecc:1.0.0

Multi-platform
Manifest digest

sha256:4e0c502d6b24e2544f6439ad7cc4dc49e7c9aa8307d108a1dca4b452be77b212

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:4e0c502d6b24e2544f6439ad7cc4dc49e7c9aa8307d108a1dca4b452be77b212

yaml
schemaVersion: "3"
displayName: ECC (Everything Claude Code)
description: 'The agent-harness optimization content pack for Claude Code: rules, agents, commands, and — when the sandbox skills store is writable — skills, installed from upstream''s minimal profile (no hooks runtime). Pinned to v2.0.0.'
version: 1.0.0
kind: mixin
requires:
    - claude
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        install:
            allow:
                - github.com
                - objects.githubusercontent.com
                - release-assets.githubusercontent.com
                - api.github.com
                - raw.githubusercontent.com
                - registry.npmjs.org
                - '*.npmjs.org'
        runtime:
            allow:
                - archive.ubuntu.com
                - security.ubuntu.com
                - ports.ubuntu.com
                - download.docker.com
    - type: com.docker.sandbox/agent-skills@1
      optional: true
      config:
        mode: readwrite
        path: /home/agent/.claude/skills
      description: ECC installs its skills module into the shared store when it is writable
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: npm config set proxy $HTTP_PROXY && npm config set https-proxy $HTTPS_PROXY || true
              description: Point npm at the sandbox egress proxy
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
              user: "1000"
            - command: |
                set -e
                git clone --depth 1 --branch v2.0.0 https://github.com/affaan-m/ECC /tmp/ecc
                cd /tmp/ecc
                npm install --no-audit --no-fund --loglevel=error
                if [ -d /home/agent/.claude/skills ] && ! { touch /home/agent/.claude/skills/.ecc-write-probe.$$ && rm -f /home/agent/.claude/skills/.ecc-write-probe.$$; } 2>/dev/null; then
                  ./install.sh --modules rules-core,agents-core,commands-core,platform-configs --target claude
                else
                  ./install.sh --profile minimal --target claude
                fi
                rm -rf /tmp/ecc
              description: Install ECC v2.0.0 into ~/.claude, omitting the skills module when the skills store is read-only
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
              user: "1000"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/ecc/ecc-context.md