Sign inSign up

nigelpoulton/sbx-kit-demo-tools:1.0.0

Multi-platform
Manifest digest

sha256:bf999846ce59bc36b7664d038b0cddb31a0ab8ae9acea0ad03211d97130acb5f

Last pushed

15 days by nigelpoulton

Type

Sandbox Kit

Manifest digest

sha256:bf999846ce59bc36b7664d038b0cddb31a0ab8ae9acea0ad03211d97130acb5f

yaml
schemaVersion: "3"
displayName: Demo tools
description: Walk-through mixin showing content, policy, guidance, a skill and a hook in one kit
version: 1.0.0
licenses:
    - Apache-2.0
kind: mixin
provides:
    - [email protected]
requires:
    - claude
capabilities:
    - type: com.docker.sandbox/network-policy@2
      config:
        runtime:
            allow:
                - hosts:
                    - httpbin.org
                  methods:
                    - GET
                    - HEAD
                    - POST
            deny:
                - hosts:
                    - httpbin.org
                  methods:
                    - GET
                    - POST
                  paths:
                    - /anything/secret/**
    - type: com.docker.sandbox/agent-context@2
      config:
        content: |
            # Demo tools kit

            - `kit-hello` is on PATH and prints what this kit added.
            - Egress to httpbin.org is limited to GET/HEAD/POST, and
              /anything/secret/** is denied. Don't try to work around it.
    - type: com.docker.sandbox/agent-skill@1
      config:
        name: egress-check
        path: /usr/share/demo-tools/skill
    - type: com.docker.sandbox/lifecycle@1
      config:
        startup:
            - command:
                - sh
                - -c
                - date -u +%FT%TZ > /tmp/demo-tools-started && echo demo-tools startup hook ran
              description: Record when the demo-tools startup hook ran
              user: agent
dockerfile: demo-tools.dockerfile