Sign inSign up

chainloop/sbx-kit-claude

By chainloop

Updated 1 day ago

Sandbox Kit
0

158

chainloop/sbx-kit-claude repository overview

Digest

sha256:02df0d74f063…

Size

2 Bytes

Schema

v2

Pushed

1 day ago

Specificationspec.yaml

SANDBOX KIT

Claude Code traced with Chainloop. Repos already initialized for `chainloop trace` use their committed config (attested on `git push`); all other repos are wrapped in `chainloop trace run` (attested on clean agent exit). Fork of the built-in `claude` agent.


Arguments
NameRequiredDefaultDescription
chainloopConfigOptional

Absolute path INSIDE the sandbox to a chainloop config.toml to adopt - i.e. where you mounted the host's, which sbx mounts at the SAME absolute path it has on the host. The wrapper copies it to ~/.config/chainloop/config.toml so every later `chainloop` invocation finds it, including the git hooks that persistent mode runs as their own processes (a --config flag would not reach those). Brings the org and the control-plane/CAS/platform endpoints with it, which is what makes this worthwhile for self-hosted. NOTE its [auth] token is your personal login session: short-lived (~days) and your full identity. Prefer chainloopToken for anything unattended.

chainloopOrgOptional

Chainloop organization. `trace run` mode ONLY - ignored in persistent mode, where the org comes from the repo's .chainloop.yml.

chainloopProjectOptional

Chainloop project. `trace run` mode ONLY - ignored in persistent mode.

chainloopTokenOptional

Chainloop org-scoped API token (chainloop organization api-token create). Authenticates the attestation push in BOTH modes; in persistent mode it must have access to the org pinned in the repo's .chainloop.yml. OPTIONAL only because chainloopConfig is the other way to authenticate - supply one or the other, or the wrapper refuses to start. When both are present this one WINS: the CLI prefers an exported CHAINLOOP_TOKEN over a config-file login session and logs "Both user credentials and $CHAINLOOP_TOKEN set. Ignoring user credentials." (app/cli/cmd/root.go).

chainloopWorkflowOptionalai-coding-session

Chainloop workflow name. `trace run` mode ONLY. Matches the default `chainloop trace init` writes, so both modes land on the same workflow unless you say otherwise.

traceModeOptionalauto

auto = persistent when the repo is already trace-initialized, else trace run. run = always single-shot (DESTRUCTIVE on a trace-initialized repo: teardown wipes .git/chainloop-trace/ and strips the committed agent hooks). persistent = force persistent.

Options: auto, run, persistent

Network Egress

api.cp.chainloop.dev:443

api.cas.chainloop.dev:443

api.app.chainloop.dev:443

t.chainloop.dev:443

crb.chainloop.dev:443

timestamp.digicert.com:80

buf.build:443

dl.chainloop.dev:443

chainloop-baafegchfnekdcde.z02.azurefd.net:443

github.com:443

Run in a Sandbox

sbx run docker.io/chainloop/sbx-kit-claude:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx
No overview available
This repository doesn't have an overview