Copilot Cli
Skill by biuyx
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/biuyx/copilot-cliWhat This Skill Does
The Copilot CLI skill by biuyx empowers OpenClaw agents to leverage GitHub Copilot directly within a local development environment. By bridging the powerful GitHub Copilot API with the command-line interface, this skill allows users to perform deep code analysis, architectural mapping, and automated development tasks without leaving their terminal. Whether you need to generate documentation for a legacy module, audit a file for potential security vulnerabilities, or understand complex dependencies in an unfamiliar codebase, the Copilot CLI acts as an expert pair programmer that understands the context of your files.
Installation
To integrate this skill into your environment, ensure you have the Copilot CLI installed via Homebrew: brew install copilot-cli. Once installed, you must configure your authentication by creating a fine-grained GitHub Personal Access Token with 'Copilot Requests' permissions. Save this token securely at ~/.copilot/github_token.txt. Finally, install the OpenClaw skill using the command: clawhub install openclaw/skills/skills/biuyx/copilot-cli.
Use Cases
- Project Onboarding: Quickly understand the purpose, architecture, and technology stack of a new repository.
- Documentation Generation: Automatically generate technical documentation, README files, or JSDoc comments for existing codebases.
- Code Review: Audit specific files for coding standards, potential bugs, or security loopholes before deployment.
- Automated Refactoring: Use the CLI to suggest improvements or write unit tests for specific modules, accelerating your development workflow.
- Contextual Search: Easily locate specific functional code (e.g., authentication handlers or API interceptors) within large, complex projects.
Example Prompts
- "Analyze the current project directory and create a high-level summary of the architectural design and main dependencies."
- "Review the code in @src/services/auth.js and identify any potential security vulnerabilities or performance bottlenecks."
- "Generate unit tests for the functions defined in the current file to improve our overall test coverage."
Tips & Limitations
To get the most out of this skill, utilize the --yolo flag for automated task execution, but ensure your repository has sufficient test coverage first. For complex architectural queries, prefer the interactive session mode (copilot) over one-off commands to maintain conversation context. Note that the skill relies on the GitHub Copilot API; therefore, ensure your network allows communication with GitHub services. If you encounter 'Access denied' errors, check your organization's GitHub Copilot settings to ensure third-party MCP server integration is permitted.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-biuyx-copilot-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution