Skip to main content

update-plugin

Handles the '更新插件' or 'update plugin' command to upgrade the system

소스 정보

저장소
alextiannus/git-plugin-amc
최근 소스 활동
2026년 5월 11일 06:40
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
update-plugin
description
Handles the '更新插件' or 'update plugin' command to upgrade the system
plugin
git-plugin-amc
# Skill · Update Plugin # F&B Content Engine · operations/update-plugin.md # ────────────────────────────────────────────────── ## Purpose When the team replies "更新插件" or "update plugin" via Lark, this skill instructs the AI to execute the local update script, bypassing the limitations of the native OpenClaw CLI for local path plugins. ## Trigger The team explicitly sends "更新插件", "update plugin", or "升级插件" in the Lark group. ## Execution Steps 1. Acknowledge the command via Lark: > "正在通过终端执行更新脚本,请稍候... / Running update script via terminal, please wait..." 2. Use your terminal execution tool (e.g., `mcp.bash` or equivalent shell tool) to run the following command. The plugin directory is typically located at `~/.openclaw/extensions/git-plugin-amc`: ```bash cd ~/.openclaw/extensions/git-plugin-amc && sh update.sh ``` 3. If the command succeeds, the `post_update` hook in the plugin will automatically trigger, OpenClaw will reload, and a success confirmation will be sent to the Lark group. 4. If the command fails, read the error output from the terminal and report it back to the team via Lark so they can troubleshoot. ## Architectural Note Why do we do this? Because OpenClaw natively skips `openclaw plugins update` for plugins installed via a local directory path (treating them as local dev plugins). Calling `update.sh` forces an `npm update` and `openclaw gateway restart`, ensuring the F&B Content Engine stays perfectly up to date without the user needing to open an SSH terminal.
GitHub에서 보기