claw-stack-manager

Manage the OpenClaw claw Docker stack via Portainer API and one-shot redeployer containers. All operations safe from inside the container. Trigger on: stack update, image upgrade, container restart, redeploy.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "claw-stack-manager" with this command: npx skills add zaixi/claw-stack-manager

Claw Stack Manager

Manage the claw Docker stack via Portainer API.

How it works

ModeWhat it doesResource impact
updatePull image → create one-shot redeployer container → redeployer stops/starts stack0 (container exits after)
restartRestart Gateway via Portainer container API0 (process restart)
pull-onlyPull latest image0 (API call)

The key insight: a one-shot container (created via Portainer API from inside the claw container) runs independently to stop/start the stack. The API call creating it completes before the stack is affected.

Usage

# Pull new image + redeploy
python3 {{SKILL_DIR}}/scripts/manage.py --mode update

# Restart Gateway (no image change)
python3 {{SKILL_DIR}}/scripts/manage.py --mode restart

# Just pull image
python3 {{SKILL_DIR}}/scripts/manage.py --mode pull-only

Environment variables

  • PORTAINER_API_KEY — required
  • PORTAINER_URL (default: http://docker.nas.liyj.cn:2082)
  • PORTAINER_ENDPOINT (default: 2)
  • CLAW_IMAGE (default: liyujiang/openclaw:latest)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Growth Engineer

OpenClaw-first growth autopilot for mobile apps. Correlate analytics, crashes, billing, feedback, store signals, and repo context into proposal drafts that c...

Registry SourceRecently Updated
General

Fa.Pro - 初创企业融资顾问专业版

焕智AI-FA-skill 融资诊断、资本情商指导、进度指引的AI融资顾问。用于评估融资准备度、提升Capital EQ、跟踪进度。当用户说'我要融资''看看准备好了吗'时调用。触发:融资、诊断、资本情商、Capital EQ、进度、TS、条款。

Registry SourceRecently Updated
General

Pill Counter Skill

使用 OpenCV 图像识别精确计数药片。自动检测、分类(小圆/中圆/大圆/椭圆)、 标注结果图片。支持 JSON 和文本两种输出格式。 适用场景:药品盘点、处方核对、药物研究计数。

Registry SourceRecently Updated
General

飞书知识库管家

智能管理飞书知识库,支持空间浏览、节点创建移动重命名、内容搜索及批量结构整理操作。

Registry SourceRecently Updated