Token导航 LogoToken导航

Agent Skill · 开发

container-deployment(容器部署)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

container-deployment 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 20,391。

总安装 222周安装 9GitHub Stars 32下载 70核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:container-deployment(容器部署)
来源仓库:https://github.com/richertunes/brainarr
仓库路径:skills/container-deployment
安装命令:
npx skills add https://github.com/richertunes/brainarr --skill container-deployment
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/richertunes/brainarr --skill container-deployment

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

Container & Deployment Engineer 辅助云资源、容器编排与自动化部署任务。支持 Dockerfile 优化、镜像发布、多阶段构建与跨环境分发策略。可协助分析资源配置、生成部署清单或排障基础设施问题。操作前需明确目标环境与权限,区分测试与生产操作风险边界。

container-deployment 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/container-deployment

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/richertunes/brainarr --skill container-deploym…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

container-deployment 怎么安装?

在终端执行 npx skills add https://github.com/richertunes/brainarr --skill container-deployment。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

container-deployment 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

container-deployment 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

container-deployment 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

container-deployment 用的人多吗?

公开数据是累计安装 222 次,近一周安装 9 次,下载 70 次,GitHub 32 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

container-deployment 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
container-deployment

容器部署 · 本页

22232需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Container & Deployment Engineer

Mission

Design and implement containerization and deployment automation for Brainarr, enabling easy distribution, deployment, and scaling across diverse environments.

Expertise Areas

1. Docker Containerization

  • Create optimized Dockerfiles for plugins
  • Build multi-stage Docker images
  • Implement layer caching strategies
  • Manage container image sizes
  • Handle.NET runtime containers

2. Container Registry Management

  • Publish to GitHub Container Registry (GHCR)
  • Manage Docker Hub repositories
  • Implement image tagging strategies
  • Handle multi-architecture images
  • Manage registry authentication

3. Deployment Automation

  • Create deployment pipelines
  • Implement blue-green deployments
  • Handle zero-downtime deployments
  • Implement rollback strategies
  • Manage environment-specific configs

4. Kubernetes Orchestration

  • Create Kubernetes manifests
  • Design Helm charts
  • Implement service deployments
  • Handle ConfigMaps and Secrets
  • Manage persistent volumes

5. Infrastructure as Code

  • Write Terraform configurations
  • Create CloudFormation templates
  • Implement Ansible playbooks
  • Design docker-compose files
  • Manage environment provisioning

Current Project Context

Brainarr Infrastructure Status

  • Containerization: ❌ No Docker images published
  • Existing Docker Usage: ✅ Uses Docker to extract Lidarr assemblies
  • Deployment: ⚠️ Manual installation only
  • Orchestration: ❌ No Kubernetes/Helm charts
  • IaC: ⚠️ Examples exist in documentation but not CI-integrated

Existing Docker References

  • .github/workflows/ci.yml - Extracts from ghcr.io/hotio/lidarr:pr-plugins-3.1.2.4913
  • docs/deployment/ - Docker Compose examples (not automated)
  • docs/deployment/ - Dockerfile examples (not automated)

Enhancement Opportunities

  1. Publish Pre-packaged Images: Lidarr + Brainarr combined image
  2. Plugin-only Image: Lightweight plugin distribution
  3. Multi-arch Support: amd64, arm64, arm/v7
  4. Registry Publishing: GHCR automated in release workflow
  5. Helm Chart: Kubernetes deployment automation

Best Practices

Docker Image Design

Option 1: Pre-packaged Lidarr + Brainarr
FROM ghcr.io/hotio/lidarr:pr-plugins-3.1.2.4913

LABEL org.opencontainers.image.source="https://github.com/RicherTunes/brainarr"
LABEL org.opencontainers.image.description="Lidarr with Brainarr AI plugin pre-installed"
LABEL org.opencontainers.image.licenses="MIT"

# Copy plugin files
COPY --chown=hotio:hotio artifacts/plugin/ /config/plugins/RicherTunes/Brainarr/

# Add health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
  CMD curl -f http://localhost:8686/ping || exit 1

EXPOSE 8686

ENTRYPOINT ["/init"]

Benefits:

  • One-command deployment
  • No manual plugin installation
  • Consistent versions
  • Easy upgrades
Option 2: Plugin-only Sidecar
FROM alpine:latest

LABEL org.opencontainers.image.source="https://github.com/RicherTunes/brainarr"
LABEL org.opencontainers.image.description="Brainarr plugin files for mounting into Lidarr"

# Create plugin directory structure
RUN mkdir -p /plugin/RicherTunes/Brainarr

# Copy plugin artifacts
COPY artifacts/plugin/ /plugin/RicherTunes/Brainarr/

# Create volume for mounting
VOLUME ["/plugin"]

# Use scratch base for minimal size
FROM scratch
COPY --from=0 /plugin /plugin
VOLUME ["/plugin"]

Benefits:

  • Minimal image size
  • Volume mount approach
  • Independent updates
  • Flexible deployment

Multi-Architecture Builds

# In .github/workflows/release.yml
- name: Build and push multi-arch image
  uses: docker/build-push-action@v5
  with:
    context: .
    platforms: linux/amd64,linux/arm64,linux/arm/v7
    push: true
    tags: |
      ghcr.io/richertunes/brainarr:${{ env.VERSION }}
      ghcr.io/richertunes/brainarr:latest

Image Tagging Strategy

  • latest - Latest stable release
  • v1.3.1 - Specific version
  • v1.3 - Minor version track
  • v1 - Major version track
  • develop - Development branch
  • pr-123 - Pull request builds
  • sha-abc123 - Commit SHA builds

Docker Compose for Development

version: '3.9'

services:
  lidarr:
    image: ghcr.io/richertunes/lidarr-brainarr:latest
    container_name: lidarr-brainarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - BRAINARR_API_KEY=${BRAINARR_API_KEY}
    volumes:
      - ./config:/config
      - ./music:/music
      - ./downloads:/downloads
    ports:
      - "8686:8686"
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8686/ping"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s

Kubernetes Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
  name: lidarr-brainarr
  labels:
    app: lidarr
    plugin: brainarr
spec:
  replicas: 1
  selector:
    matchLabels:
      app: lidarr
  template:
    metadata:
      labels:
        app: lidarr
    spec:
      containers:
      - name: lidarr
        image: ghcr.io/richertunes/lidarr-brainarr:v1.3.1
        ports:
        - containerPort: 8686
        env:
        - name: PUID
          value: "1000"
        - name: PGID
          value: "1000"
        volumeMounts:
        - name: config
          mountPath: /config
        - name: music
          mountPath: /music
        livenessProbe:
          httpGet:
            path: /ping
            port: 8686
          initialDelaySeconds: 60
          periodSeconds: 30
      volumes:
      - name: config
        persistentVolumeClaim:
          claimName: lidarr-config
      - name: music
        persistentVolumeClaim:
          claimName: music-library

Helm Chart Structure

helm/brainarr/
├── Chart.yaml
├── values.yaml
├── templates/
│   ├── deployment.yaml
│   ├── service.yaml
│   ├── ingress.yaml
│   ├── configmap.yaml
│   └── secret.yaml
└── README.md

Deployment Strategies

Blue-Green Deployment

  1. Deploy new version (green) alongside current (blue)
  2. Run health checks on green
  3. Switch traffic from blue to green
  4. Keep blue running for quick rollback
  5. Decommission blue after validation period

Canary Deployment

  1. Deploy new version to subset of instances (10%)
  2. Monitor metrics and error rates
  3. Gradually increase traffic (25%, 50%, 100%)
  4. Rollback if issues detected
  5. Full rollout when stable

Rolling Deployment

  1. Update instances one at a time
  2. Health check before proceeding to next
  3. Maintain service availability throughout
  4. Automatic rollback on failures

CI/CD Integration

GitHub Actions Container Workflow

name: Container Build and Publish

on:
  push:
    tags:
      - 'v*.*.*'
  workflow_dispatch:

jobs:
  build-and-push:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write

    steps:
      - uses: actions/checkout@v4

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3

      - name: Log in to GHCR
        uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

      - name: Extract version
        id: version
        run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

      - name: Build and push
        uses: docker/build-push-action@v5
        with:
          context: .
          platforms: linux/amd64,linux/arm64
          push: true
          tags: |
            ghcr.io/richertunes/brainarr:${{ steps.version.outputs.VERSION }}
            ghcr.io/richertunes/brainarr:latest
          cache-from: type=gha
          cache-to: type=gha,mode=max

Troubleshooting

Image Size Too Large

Problem: Docker image is 500MB+ Solutions:

  • Use multi-stage builds
  • Clean up package caches
  • Avoid installing dev dependencies
  • Use.dockerignore

Slow Container Builds

Problem: Build takes 10+ minutes Solutions:

  • Enable Docker layer caching
  • Use GitHub Actions cache
  • Parallelize builds
  • Optimize layer order

Permission Issues

Problem: Plugin files not readable in container Solutions:

  • Set correct PUID/PGID
  • Use COPY --chown in Dockerfile
  • Check volume mount permissions

Health Check Failures

Problem: Container marked unhealthy Solutions:

  • Increase start-period
  • Verify health check endpoint
  • Check Lidarr startup time
  • Review container logs

Implementation Roadmap

Phase 1: Basic Containerization

  1. Create Dockerfile for Lidarr + Brainarr image
  2. Add.dockerignore file
  3. Test local builds
  4. Document manual build process

Phase 2: CI/CD Integration

  1. Add container-build.yml workflow
  2. Configure GHCR authentication
  3. Implement image tagging strategy
  4. Test automated builds on tags

Phase 3: Multi-Architecture

  1. Set up Docker Buildx
  2. Add ARM support (arm64, arm/v7)
  3. Test on different platforms
  4. Document supported architectures

Phase 4: Orchestration

  1. Create Helm chart
  2. Add Kubernetes manifests
  3. Document deployment options
  4. Provide example configurations

Related Skills

  • release-automation - Integrate container builds in releases
  • artifact-manager - Manage container images as artifacts
  • observability - Add monitoring to deployed containers

Examples

Example 1: Create Docker Image

User: "Create a Docker image that includes Lidarr and Brainarr" Action:

  1. Create Dockerfile with multi-stage build
  2. Base on ghcr.io/hotio/lidarr:pr-plugins
  3. Copy Brainarr plugin files
  4. Add health check
  5. Test local build
  6. Document usage

Example 2: Publish to GHCR

User: "Automatically publish Docker images on release" Action:

  1. Create.github/workflows/container-build.yml
  2. Configure GHCR authentication
  3. Add multi-arch build support
  4. Implement version tagging from git tags
  5. Test on release tag
  6. Document image usage in README

Example 3: Create Helm Chart

User: "Create a Helm chart for Kubernetes deployment" Action:

  1. Create helm/brainarr/ directory structure
  2. Write Chart.yaml with metadata
  3. Create deployment, service, ingress templates
  4. Add values.yaml with sensible defaults
  5. Document installation: helm install brainarr./helm/brainarr

平台分布

Codex

34.19%
按下载量换算24

Claude

30.25%
按下载量换算21

Cursor

20.23%
按下载量换算14

Gemini CLI

9.31%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills