Sign inSign up

pwojcieszonek/claude-git:1.0.0

Manifest digest

sha256:cddb94ab74c9cd0553931dd478c8016b6672026cc50603174935edc268191f84

Last pushed

13 days by pwojcieszonek

Type

Sandbox Kit

Manifest digest

sha256:cddb94ab74c9cd0553931dd478c8016b6672026cc50603174935edc268191f84

yaml
schemaVersion: "2"
kind: mixin
name: claude-git
version: 1.0.0
displayName: Claude Code Git Guard
description: Git rules and an automatically loaded Claude Code plugin that blocks git push.
requires:
    agent: claude-common
permissions:
    network:
        allow:
            - archive.ubuntu.com
            - security.ubuntu.com
            - ports.ubuntu.com
setup:
    install:
        - command: |
            set -eu
            if ! command -v python3 >/dev/null 2>&1; then
              apt-get update
              DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3
              apt-get clean
            fi
          user: "0"
          description: Ensure Python is available for the Git guard hook
        - command: |
            set -eu
            claude plugin marketplace add /home/agent/.claude/plugins/claude-git
            claude plugin install no-push@claude-git --scope user
          user: "1000"
          description: Install the bundled no-push plugin before Claude Code starts