← 返回 Skills 市场
499
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install macclaw-copilot-cli
功能描述
GitHub Copilot CLI - AI 代码分析
使用说明 (SKILL.md)
MacClaw Copilot CLI
使用 GitHub Copilot CLI 分析代码。
安装
brew install copilot-cli
使用
COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "你的问题"
安全使用建议
This is an instruction-only Copilot CLI helper and is broadly consistent with its purpose, but it instructs the agent to read a local file (~/.copilot/github_token.txt) to obtain your COPILOT_GITHUB_TOKEN while not declaring that credential — treat this as a transparency issue. Before installing or using: (1) verify you trust the copilot-cli package from Homebrew and confirm its origin; (2) avoid storing tokens in plaintext files where possible — use the platform's secret store or an environment variable set by you at runtime; (3) if you must use a file-stored token, create a dedicated token with the minimal scopes needed and restrict file permissions; (4) prefer to supply the token via your agent platform's secret mechanism rather than letting an agent run cat on your home directory. If you want stronger assurance, ask the skill author to declare the required credential in metadata and to provide a safer authentication example (prompting the user or using a secret store) instead of reading a file path.
功能分析
Type: OpenClaw Skill
Name: macclaw-copilot-cli
Version: 1.0.2
The skill is classified as suspicious due to its direct access to a sensitive credential file (`~/.copilot/github_token.txt`) within `SKILL.md`. While this action is plausibly needed for the stated purpose of using the GitHub Copilot CLI, accessing credential files represents a risky capability. There is no evidence of malicious intent such as exfiltration or unauthorized use of the token, but the direct handling of sensitive data elevates it beyond benign.
能力评估
Purpose & Capability
Name/description (GitHub Copilot CLI — code analysis) aligns with the SKILL.md which instructs installing and running copilot. However, the runtime example requires a COPILOT_GITHUB_TOKEN read from ~/.copilot/github_token.txt but the skill metadata does not declare any required environment variables or credentials — an omission that reduces transparency.
Instruction Scope
The SKILL.md tells the agent to read a local credential file (cat ~/.copilot/github_token.txt) and set COPILOT_GITHUB_TOKEN before invoking copilot. That is practically necessary to authenticate the Copilot CLI, but it explicitly directs access to a user filesystem path containing sensitive credentials. The instructions do not provide safer alternatives (e.g., use a platform secret store or prompt the user).
Install Mechanism
No install spec is embedded in the skill (instruction-only). The README recommends using Homebrew (brew install copilot-cli), which is a standard package manager and an expected way to install the CLI — low risk compared to arbitrary downloads.
Credentials
Requiring a GitHub Copilot token is proportionate to the stated purpose. However, the skill fails to declare this credential in its metadata and instead hard-codes an example that reads a local token file. The lack of declared env vars reduces transparency and could lead to unintended credential exposure if an agent follows the example automatically.
Persistence & Privilege
The skill does not request persistent presence (always is false), does not include install actions in the bundle, and does not modify other skills' configurations. No elevated persistence privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install macclaw-copilot-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/macclaw-copilot-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
更新版本
v1.0.1
修复发布配置
v1.0.0
初始版本 - GitHub Copilot CLI 代码分析和探索工具
元数据
常见问题
MacClaw Copilot CLI 是什么?
GitHub Copilot CLI - AI 代码分析. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 499 次。
如何安装 MacClaw Copilot CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install macclaw-copilot-cli」即可一键安装,无需额外配置。
MacClaw Copilot CLI 是免费的吗?
是的,MacClaw Copilot CLI 完全免费(开源免费),可自由下载、安装和使用。
MacClaw Copilot CLI 支持哪些平台?
MacClaw Copilot CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MacClaw Copilot CLI?
由 Zip.Wu(@biuyx)开发并维护,当前版本 v1.0.2。
推荐 Skills