Install
openclaw skills install istore-build-openclashClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
创建 OpenClash GitHub Actions 构建 workflow 并直接推送到用户 GitHub 仓库。触发词:构建 OpenClash、istore-build-openclash、创建 OpenClash workflow
openclaw skills install istore-build-openclash将 OpenClash 构建 workflow 直接推送到用户的 GitHub 仓库。
.github/workflows/build-openclash.ymlistoreos/istoreosrepo 权限)Generate new token (classic)repo 权限当用户触发此 skill 时,要求提供:
https://github.com/YOUR_USER/istoreos.git# 从 references/build-openclash.yml 读取内容,然后通过 API 创建文件
curl -s -X PUT \
-H "Authorization: token <TOKEN>" \
-H "Accept: application/vnd.github+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/<USER>/<REPO>/contents/.github/workflows/build-openclash.yml \
-d '{
"message": "Add OpenClash build workflow",
"content": "<BASE64_encoded_content>"
}'
curl -s -X PUT \
-H "Authorization: token <TOKEN>" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/<USER>/<REPO>/actions/permissions/workflow \
-d '{"default_workflow_permissions":"write","can_approve_pull_request_reviews":true}'
.run 文件到路由器执行即可