Install
openclaw skills install integrationmy integration enables searching GitHub repositories, reading files, fetching pull requests and commits, and generating summaries for code analysis.
openclaw skills install integrationA short description of what this skill does.
Example:
This skill allows the agent to search GitHub repositories, fetch code snippets, and summarize project structures.
name: github-integration
version: 1.0.0
category: developer-tools
description: GitHub integration skill for repositories and code analysis
author: Your Name
license: MIT
Explain:
Example:
List the major capabilities of the skill.
Describe what input the skill expects.
| Input Name | Type | Required | Description |
|---|---|---|---|
| repository | string | Yes | GitHub repository name |
| branch | string | No | Branch name |
| query | string | No | Search query |
Describe the response structure.
| Field | Type | Description |
|---|---|---|
| summary | string | Generated summary |
| files | array | Matching files |
| commits | array | Commit information |
GITHUB_TOKEN=your_token_here
API_BASE_URL=https://api.github.com
git clone https://github.com/example/skill.git
cd skill
npm install
{
"repository": "openai/openai-python",
"query": "embedding implementation"
}
{
"summary": "Found embedding-related files and utilities.",
"files": [
"embeddings.py",
"vector_store.py"
]
}
Explain how the skill works internally.
Example Flow:
User Request
↓
Skill Router
↓
Authentication Layer
↓
GitHub API Client
↓
Processing Layer
↓
Formatted Response
Common errors and solutions.
| Error | Cause | Solution |
|---|---|---|
| Unauthorized | Invalid token | Update API token |
| Rate Limited | Too many requests | Retry later |
| Repository Not Found | Wrong repo name | Verify repository |
Describe security considerations.
{
"axios": "^1.0.0",
"dotenv": "^16.0.0"
}
| Name | Role |
|---|---|
| Your Name | Developer |
MIT License