用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill copilot-cli命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | copilot-cli |
| description | Copilot CLI AI 代码分析 |
使用 GitHub Copilot CLI 分析代码、探索项目、生成代码和自动化开发任务。
安装 Copilot CLI
brew install copilot-cli
设置 GitHub Personal Access Token
~/.copilot/github_token.txt# 进入项目目录
cd /path/to/project
# 使用 Copilot CLI(使用保存的 token)
COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "你的问题"
项目概览:
"这个项目是做什么的?请简要说明。"
架构分析:
"分析这个项目的架构和主要模块。"
技术栈:
"这个项目使用了哪些主要技术栈和依赖?"
代码查找:
"找到处理用户认证的代码。"
文档生成:
"为这个模块生成文档。"
代码审查:
"审查这个文件,找出潜在问题。"
指定文件:
copilot -p "解释 @src/main.js 的功能"
交互式会话:
COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot
自动执行(需要权限):
copilot --yolo -p "为这个功能编写单元测试"
-p 参数~/.copilot/github_token.txt~/.copilot/~/.copilot/logs/如果遇到 "Access denied by policy settings":
创建新的 Personal Access Token 并更新:
echo "新 token" > ~/.copilot/github_token.txt
# 分析 base-auto 项目
cd /Users/agent/workspace/base-auto
# 快速提问
COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "这个项目有什么核心功能?"
# 深度分析
COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "分析项目的数据库设计,列出主要的表和关系。"
监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
基于 SOC 职业分类