← 返回 Skills 市场
346
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install github-deploy-skill
功能描述
Commit and push local project changes to GitHub, with optional repo creation and deployment hints.
使用说明 (SKILL.md)
\r \r
GitHub Deploy Skill\r
\r This skill provides a reusable PowerShell script for Windows to automate:\r \r
- Git checks\r
- Commit creation\r
- Push to remote branch\r
- Optional GitHub repository creation (via GitHub CLI)\r
- Optional deployment hints (for Streamlit flow)\r \r
Included file\r
\r
github-deploy-skill.ps1\r \r
Parameters\r
\r
-CommitMessage(required): commit message text\r-Repo(optional): GitHub repository inowner/repoformat\r-Branch(optional): target branch, defaultmain\r-CreateRepo(optional switch): create repo withghif missing\r-SkipDeployHint(optional switch): do not print deployment hint\r \r
Usage\r
\r From any Git project folder:\r \r
powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "feat: update" -Repo "owner/repo" -Branch "main"\r
```\r
\r
Create repository automatically:\r
\r
```powershell\r
powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "init" -Repo "owner/new-repo" -CreateRepo\r
```\r
\r
## Expected output\r
\r
- Success: commit and push completed\r
- Failure: explicit error with reason (missing command, auth, push/network, remote config)\r
\r
## Requirements\r
\r
- Git installed and available in PATH\r
- Network access to remote Git host\r
- If `-CreateRepo` is used: GitHub CLI (`gh`) installed and authenticated\r
\r
## Notes\r
\r
- Works with repositories that do not yet have a first commit.\r
- If `origin` does not exist, pass `-Repo` and the script will add it automatically.\r
安全使用建议
Do not run unsigned or missing scripts with ExecutionPolicy Bypass. Before installing or using this skill: (1) Ask the publisher for the missing 'github-deploy-skill.ps1' and review its full source locally — do not execute it blind. (2) Prefer not to use '-ExecutionPolicy Bypass' unless you understand and trust the script contents. (3) Ensure git and gh are installed and that your GitHub auth is configured through gh (so tokens remain under your control). (4) Ask for a homepage or source repo / verify the author; the package currently lacks provenance. If the author cannot supply the script content or a trustworthy source, treat the skill as unsafe to run.
功能分析
Type: OpenClaw Skill
Name: github-deploy-skill
Version: 1.0.0
The provided files (_meta.json, SKILL.md, and PUBLISH.md) describe a standard utility for automating Git commits and GitHub repository management using the GitHub CLI (gh). While the primary PowerShell script (github-deploy-skill.ps1) mentioned in the documentation was not included in the provided text for analysis, the documentation itself contains no evidence of malicious intent, prompt injection, or suspicious exfiltration patterns.
能力评估
Purpose & Capability
The skill claims to be a PowerShell-based GitHub deploy helper and refers to an included file 'github-deploy-skill.ps1', but that file is not present in the package. Requiring a local script to perform commits and pushes is reasonable, but referencing a non-existent script is incoherent and unexplained.
Instruction Scope
Instructions are narrowly scoped to git/gh operations (commit, push, optional repo creation) which is appropriate. However they explicitly recommend running a script with 'powershell -ExecutionPolicy Bypass -File ...', which bypasses PowerShell execution policy and makes it easier to run unsigned/remote code. Because the actual script content is missing, the instructions implicitly push the operator to obtain or run external code — a potentially risky/ambiguous action.
Install Mechanism
There is no install spec and no files are written to disk by the skill itself (instruction-only). This is low-risk behavior in isolation. The skill does require the external binaries 'git' and optionally 'gh', but does not attempt to install them.
Credentials
No environment variables or credentials are requested by the skill metadata. The runtime behavior (use of the GitHub CLI 'gh') will rely on whatever GitHub authentication the user already has configured; this is proportionate. However, because the script is missing, it's unclear whether it would access any other credentials or config files.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system presence or modify other skills' configs. Autonomous invocation is allowed by default (normal) and not by itself a concern here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install github-deploy-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/github-deploy-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of GitHub Deploy Skill
- Provides a reusable PowerShell script to automate git checks, commits, and pushes to any remote branch
- Supports optional creation of a new GitHub repository using GitHub CLI
- Offers deployment hints, useful for Streamlit flow (optionally suppressible)
- Handles first-commit scenarios and automatic remote configuration if needed
- Requires Git and, for repo creation, GitHub CLI (`gh`)
元数据
常见问题
auto-git 是什么?
Commit and push local project changes to GitHub, with optional repo creation and deployment hints. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 346 次。
如何安装 auto-git?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-deploy-skill」即可一键安装,无需额外配置。
auto-git 是免费的吗?
是的,auto-git 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
auto-git 支持哪些平台?
auto-git 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 auto-git?
由 范士轶(@cruciata)开发并维护,当前版本 v1.0.0。
推荐 Skills