Overview
- Skill Key
- biuyx/copilot-cli
- Author
- biuyx
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/biuyx/copilot-cli
- Latest Commit SHA
- b020480666e4a2d8cba880f9d3d4c747e0e72825
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Copilot Cli 技能。 若已安装,则直接安装 Copilot Cli 技能。
# Copilot CLI - AI 代码分析助手 ## 功能 使用 GitHub Copilot CLI 分析代码、探索项目、生成代码和自动化开发任务。 ## 前置条件 1. **安装 Copilot CLI** ```bash brew install copilot-cli ``` 2. **设置 GitHub Personal Access Token** - 访问 https://github.com/settings/personal-access-tokens/new - 创建 fine-grained token,权限:Copilot Requests - Token 保存到 `~/.copilot/github_token.txt` ## 使用方法 ### 基本命令 ```bash # 进入项目目录 cd /path/to/project # 使用 Copilot CLI(使用保存的 token) COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "你的问题" ``` ### 常用探索问题 **项目概览:** ``` "这个项目是做什么的?请简要说明。" ``` **架构分析:** ``` "分析这个项目的架构和主要模块。" ``` **技术栈:** ``` "这个项目使用了哪些主要技术栈和依赖?" ``` **代码查找:** ``` "找到处理用户认证的代码。" ``` **文档生成:** ``` "为这个模块生成文档。" ``` **代码审查:** ``` "审查这个文件,找出潜在问题。" ``` ### 高级用法 **指定文件:** ```bash copilot -p "解释 @src/main.js 的功能" ``` **交互式会话:** ```bash COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot ``` **自动执行(需要权限):** ```bash copilot --yolo -p "为这个功能编写单元测试" ``` ## 注意事项 - Copilot CLI 使用 GitHub Copilot API 分析代码 - 代码存储位置不影响分析(可以是 GitLab、GitHub 等) - 一次性查询使用 `-p` 参数 - 复杂任务使用交互式会话 ## 配置文件 - **Token 存储**:`~/.copilot/github_token.txt` - **配置目录**:`~/.copilot/` - **日志目录**:`~/.copilot/logs/` ## 故障排查 ### 策略限制错误 如果遇到 "Access denied by policy settings": 1. 检查 https://github.com/settings/copilot 2. 确认 Copilot CLI 功能已启用 3. 确认组织策略允许第三方 MCP 服务器 ### Token 过期 创建新的 Personal Access Token 并更新: ```bash echo "新 token" > ~/.copilot/github_token.txt ``` ## 示例使用 ```bash # 分析 base-auto 项目 cd /Users/agent/workspace/base-auto # 快速提问 COPILOT_GITHUB_TOKEN=$(cat ~/.copilot/github_token.txt) copilot -p "这个项目有什么核心功能?" # 深度分析 C...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
carlulsoe
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.
carlzhao007
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。
cartoonitunes
BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.
camopel
Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.