← 返回 Skills 市场
54
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install istore-build-passwall
功能描述
克隆 istoreos 仓库,创建 PassWall GitHub Actions 构建 workflow 并推送到指定 GitHub 仓库。触发词:构建 PassWall、istore-build-passwall、创建 PassWall workflow
使用说明 (SKILL.md)
istore-build-passwall
将 PassWall 构建 workflow 添加到用户的 istoreos fork 仓库。
工作流程
- 收集配置 — 请求用户的 GitHub 仓库地址和 Personal Access Token
- 克隆 istoreos 官方仓库 — 从 https://github.com/istoreos/istoreos.git 克隆完整内容
- 添加 remote — 将用户的 fork 添加为 origin
- 写入 workflow — 创建
.github/workflows/build-passwall.yml - 推送 — 提交并强制推送到用户的仓库(覆盖原有内容)
- 设置 Workflow permissions — 通过 GitHub API 开启 Read and write permissions 和 Allow GitHub Actions to create and approve pull requests
使用前提
- 已在 GitHub 上 fork
istoreos/istoreos - 生成了 Personal Access Token(需开启
repo权限)
获取 GitHub Token
- 访问 https://github.com/settings/tokens/new
- 选择
Generate new token (classic) - 勾选
repo权限 - 生成后复制 Token
提示用户输入
当用户触发此 skill 时,要求提供:
- GitHub 仓库地址:格式
https://github.com/YOUR_USER/istoreos.git - Personal Access Token:用于推送代码和设置仓库权限
执行步骤
1. 克隆官方仓库(完整历史)
git clone https://github.com/istoreos/istoreos.git \x3C临时目录>
cd \x3C临时目录>
2. 添加用户 fork 为 origin
git remote add origin https://github.com/\x3CUSER>/istoreos.git
# 或如果 origin 已存在则修改 URL
git remote set-url origin https://\x3CTOKEN>@github.com/\x3CUSER>/istoreos.git
3. 写入 workflow 文件
从 references/build-passwall.yml 复制到 .github/workflows/build-passwall.yml
4. 提交并推送
git add .
git commit -m "Add PassWall build workflow"
git push -u origin main --force
5. 设置 Workflow permissions(通过 GitHub API)
# 设置 default_workflow_permissions 为 write
curl -s -X PUT \
-H "Authorization: token \x3CTOKEN>" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/\x3CUSER>/istoreos/actions/permissions/workflow \
-d '{"default_workflow_permissions":"write","can_approve_pull_request_reviews":true}'
推送后告诉用户
- istoreos 官方仓库内容 + PassWall workflow 已推送
- 可在 GitHub Actions 页面手动触发构建
- 选择架构后等待构建完成
- 下载
.run文件到路由器执行即可
安全使用建议
Use this only with a disposable or backed-up fork. Provide the narrowest possible GitHub token, avoid storing it in git remote URLs, confirm before any force-push, review the workflow before enabling it, and revoke the token after the setup is complete.
功能分析
Type: OpenClaw Skill
Name: istore-build-passwall
Version: 1.0.2
The skill requires a high-privilege GitHub Personal Access Token (PAT) with 'repo' scope to perform destructive Git operations (git push --force) and modify repository security settings via the GitHub API (api.github.com). While these actions in SKILL.md and references/build-passwall.yml are consistent with the stated goal of automating a build pipeline for iStoreOS, the request for sensitive credentials and the ability to overwrite repository history represent significant security risks.
能力标签
能力评估
Purpose & Capability
The stated purpose is coherent, but accomplishing it through a forced push and repository-level GitHub Actions permission changes is high-impact for a workflow-creation task.
Instruction Scope
The default steps include `git push --force` and enabling write-level workflow permissions without explicit backup, rollback, branch scoping, or per-step confirmation guidance.
Install Mechanism
There is no local install spec or code package; it is instruction-only. Runtime use still depends on shell commands and a referenced GitHub Actions workflow that installs tools and downloads release assets.
Credentials
The skill requests a classic GitHub PAT with `repo` scope and uses it for pushing and changing repository Actions settings, which is broad authority relative to adding one workflow.
Persistence & Privilege
The workflow file and Actions permission changes persist in the user’s GitHub repository, and the token-in-remote-URL pattern may leave credentials in local git configuration unless cleaned up.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install istore-build-passwall - 安装完成后,直接呼叫该 Skill 的名称或使用
/istore-build-passwall触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Fix: direct -f file check, API exact filename, correct repo mixing (deps from passwall2, main app from passwall)
v1.0.1
Fix duplicate unzip, use API for exact filename, fix repo source mixing
v1.0.0
Initial release
元数据
常见问题
Istore Build Passwall 是什么?
克隆 istoreos 仓库,创建 PassWall GitHub Actions 构建 workflow 并推送到指定 GitHub 仓库。触发词:构建 PassWall、istore-build-passwall、创建 PassWall workflow. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。
如何安装 Istore Build Passwall?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install istore-build-passwall」即可一键安装,无需额外配置。
Istore Build Passwall 是免费的吗?
是的,Istore Build Passwall 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Istore Build Passwall 支持哪些平台?
Istore Build Passwall 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Istore Build Passwall?
由 VEE(@veelove)开发并维护,当前版本 v1.0.2。
推荐 Skills