[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77W4KTVS4DB5P1JN8X9WACV":3,"skill-same:01M77W4KTVS4DB5P1JN8X9WACV":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M77W4KTVS4DB5P1JN8X9WACV","github",null,"GitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users.\nUse this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).","Jinhong270\u002FAI-Agent","Jinhong270","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193703602?v=4","01M77SB4J7ATDYATSD7AW4B8XP","01M77SB4JWRQWNGTTR291BHMQP",3,"MIT","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fgithub-api\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fgithub-api\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: github\ndescription: |\n  GitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users.\n  Use this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows.\n  For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\ncompatibility: Requires network access and valid Maton API key\nmetadata:\n  author: maton\n  version: \"1.0\"\n  clawdbot:\n    emoji: 🧠\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# GitHub\n\nAccess the GitHub REST API with managed OAuth authentication. Manage repositories, issues, pull requests, commits, branches, users, and more.\n\n## Quick Start\n\n```bash\n# Get authenticated user\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual GitHub API endpoint path. The gateway proxies requests to `api.github.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your GitHub OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=github&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'github'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"83e7c665-60f6-4a64-816c-5e287ea8982f\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-06T03:00:43.860014Z\",\n    \"last_updated_time\": \"2026-02-06T03:01:06.027323Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"github\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple GitHub connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '83e7c665-60f6-4a64-816c-5e287ea8982f')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Users\n\n#### Get Authenticated User\n\n```bash\nGET \u002Fgithub\u002Fuser\n```\n\n#### Get User by Username\n\n```bash\nGET \u002Fgithub\u002Fusers\u002F{username}\n```\n\n#### List Users\n\n```bash\nGET \u002Fgithub\u002Fusers?since={user_id}&per_page=30\n```\n\n### Repositories\n\n#### List User Repositories\n\n```bash\nGET \u002Fgithub\u002Fuser\u002Frepos?per_page=30&sort=updated\n```\n\nQuery parameters: `type` (all, owner, public, private, member), `sort` (created, updated, pushed, full_name), `direction` (asc, desc), `per_page`, `page`\n\n#### List Organization Repositories\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\u002Frepos?per_page=30\n```\n\n#### Get Repository\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\n```\n\n#### Create Repository (User)\n\n```bash\nPOST \u002Fgithub\u002Fuser\u002Frepos\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"my-new-repo\",\n  \"description\": \"A new repository\",\n  \"private\": true,\n  \"auto_init\": true\n}\n```\n\n#### Create Repository (Organization)\n\n```bash\nPOST \u002Fgithub\u002Forgs\u002F{org}\u002Frepos\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"my-new-repo\",\n  \"description\": \"A new repository\",\n  \"private\": true\n}\n```\n\n#### Update Repository\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\nContent-Type: application\u002Fjson\n\n{\n  \"description\": \"Updated description\",\n  \"has_issues\": true,\n  \"has_wiki\": false\n}\n```\n\n#### Delete Repository\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\n```\n\n### Repository Contents\n\n#### List Contents\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\n```\n\n#### Get File Contents\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}?ref={branch}\n```\n\n#### Create or Update File\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\nContent-Type: application\u002Fjson\n\n{\n  \"message\": \"Create new file\",\n  \"content\": \"SGVsbG8gV29ybGQh\",\n  \"branch\": \"main\"\n}\n```\n\nNote: `content` must be Base64 encoded.\n\n#### Delete File\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\nContent-Type: application\u002Fjson\n\n{\n  \"message\": \"Delete file\",\n  \"sha\": \"{file_sha}\",\n  \"branch\": \"main\"\n}\n```\n\n### Branches\n\n#### List Branches\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches?per_page=30\n```\n\n#### Get Branch\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches\u002F{branch}\n```\n\n#### Rename Branch\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches\u002F{branch}\u002Frename\nContent-Type: application\u002Fjson\n\n{\n  \"new_name\": \"new-branch-name\"\n}\n```\n\n#### Merge Branches\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmerges\nContent-Type: application\u002Fjson\n\n{\n  \"base\": \"main\",\n  \"head\": \"feature-branch\",\n  \"commit_message\": \"Merge feature branch\"\n}\n```\n\n### Commits\n\n#### List Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcommits?per_page=30\n```\n\nQuery parameters: `sha` (branch name or commit SHA), `path` (file path), `author`, `committer`, `since`, `until`, `per_page`, `page`\n\n#### Get Commit\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcommits\u002F{ref}\n```\n\n#### Compare Two Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcompare\u002F{base}...{head}\n```\n\n### Issues\n\n#### List Repository Issues\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues?state=open&per_page=30\n```\n\nQuery parameters: `state` (open, closed, all), `labels`, `assignee`, `creator`, `mentioned`, `sort`, `direction`, `since`, `per_page`, `page`\n\n#### Get Issue\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\n```\n\n#### Create Issue\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"Found a bug\",\n  \"body\": \"Bug description here\",\n  \"labels\": [\"bug\"],\n  \"assignees\": [\"username\"]\n}\n```\n\n#### Update Issue\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\nContent-Type: application\u002Fjson\n\n{\n  \"state\": \"closed\",\n  \"state_reason\": \"completed\"\n}\n```\n\n#### Lock Issue\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Flock\nContent-Type: application\u002Fjson\n\n{\n  \"lock_reason\": \"resolved\"\n}\n```\n\n#### Unlock Issue\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Flock\n```\n\n### Issue Comments\n\n#### List Issue Comments\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Fcomments?per_page=30\n```\n\n#### Create Issue Comment\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Fcomments\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"This is a comment\"\n}\n```\n\n#### Update Issue Comment\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002Fcomments\u002F{comment_id}\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"Updated comment\"\n}\n```\n\n#### Delete Issue Comment\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002Fcomments\u002F{comment_id}\n```\n\n### Labels\n\n#### List Labels\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Flabels?per_page=30\n```\n\n#### Create Label\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Flabels\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"priority:high\",\n  \"color\": \"ff0000\",\n  \"description\": \"High priority issues\"\n}\n```\n\n### Milestones\n\n#### List Milestones\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmilestones?state=open&per_page=30\n```\n\n#### Create Milestone\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmilestones\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"v1.0\",\n  \"state\": \"open\",\n  \"description\": \"First release\",\n  \"due_on\": \"2026-03-01T00:00:00Z\"\n}\n```\n\n### Pull Requests\n\n#### List Pull Requests\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls?state=open&per_page=30\n```\n\nQuery parameters: `state` (open, closed, all), `head`, `base`, `sort`, `direction`, `per_page`, `page`\n\n#### Get Pull Request\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\n```\n\n#### Create Pull Request\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"New feature\",\n  \"body\": \"Description of changes\",\n  \"head\": \"feature-branch\",\n  \"base\": \"main\",\n  \"draft\": false\n}\n```\n\n#### Update Pull Request\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"Updated title\",\n  \"state\": \"closed\"\n}\n```\n\n#### List Pull Request Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fcommits?per_page=30\n```\n\n#### List Pull Request Files\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Ffiles?per_page=30\n```\n\n#### Check If Merged\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fmerge\n```\n\n#### Merge Pull Request\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fmerge\nContent-Type: application\u002Fjson\n\n{\n  \"commit_title\": \"Merge pull request\",\n  \"merge_method\": \"squash\"\n}\n```\n\nMerge methods: `merge`, `squash`, `rebase`\n\n### Pull Request Reviews\n\n#### List Reviews\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Freviews?per_page=30\n```\n\n#### Create Review\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Freviews\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"Looks good!\",\n  \"event\": \"APPROVE\"\n}\n```\n\nEvents: `APPROVE`, `REQUEST_CHANGES`, `COMMENT`\n\n### Search\n\n#### Search Repositories\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Frepositories?q={query}&per_page=30\n```\n\nExample queries:\n- `tetris+language:python` - Repositories with \"tetris\" in Python\n- `react+stars:>10000` - Repositories with \"react\" and 10k+ stars\n\n#### Search Issues\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fissues?q={query}&per_page=30\n```\n\nExample queries:\n- `bug+is:open+is:issue` - Open issues containing \"bug\"\n- `author:username+is:pr` - Pull requests by author\n\n#### Search Code\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fcode?q={query}&per_page=30\n```\n\nExample queries:\n- `addClass+repo:facebook\u002Freact` - Search for \"addClass\" in a specific repo\n- `function+extension:js` - JavaScript functions\n\nNote: Code search may timeout on broad queries.\n\n#### Search Users\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fusers?q={query}&per_page=30\n```\n\n### Organizations\n\n#### List User Organizations\n\n```bash\nGET \u002Fgithub\u002Fuser\u002Forgs?per_page=30\n```\n\nNote: Requires `read:org` scope.\n\n#### Get Organization\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\n```\n\n#### List Organization Members\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\u002Fmembers?per_page=30\n```\n\n### Rate Limit\n\n#### Get Rate Limit\n\n```bash\nGET \u002Fgithub\u002Frate_limit\n```\n\nResponse:\n```json\n{\n  \"rate\": {\n    \"limit\": 5000,\n    \"remaining\": 4979,\n    \"reset\": 1707200000\n  },\n  \"resources\": {\n    \"core\": { \"limit\": 5000, \"remaining\": 4979 },\n    \"search\": { \"limit\": 30, \"remaining\": 28 }\n  }\n}\n```\n\n## Pagination\n\nGitHub uses page-based and link-based pagination:\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues?per_page=30&page=2\n```\n\nResponse headers include pagination links:\n- `Link: \u003Curl>; rel=\"next\", \u003Curl>; rel=\"last\"`\n\nCommon pagination parameters:\n- `per_page`: Results per page (max 100, default 30)\n- `page`: Page number (default 1)\n\nSome endpoints use cursor-based pagination with `since` parameter (e.g., listing users).\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Frepos\u002Fowner\u002Frepo\u002Fissues?state=open&per_page=10',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst issues = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Frepos\u002Fowner\u002Frepo\u002Fissues',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'state': 'open', 'per_page': 10}\n)\nissues = response.json()\n```\n\n## Notes\n\n- Repository names are case-insensitive but the API preserves case\n- Issue numbers and PR numbers share the same sequence per repository\n- Content must be Base64 encoded when creating\u002Fupdating files\n- Rate limits: 5000 requests\u002Fhour for authenticated users, 30 searches\u002Fminute\n- Search queries may timeout on very broad patterns\n- Some endpoints require specific OAuth scopes (e.g., `read:org` for organization operations). If you receive a scope error, contact Maton support at support@maton.ai with the specific operations\u002FAPIs you need and your use-case\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing GitHub connection |\n| 401 | Invalid or missing Maton API key |\n| 403 | Forbidden - insufficient permissions or scope |\n| 404 | Resource not found |\n| 408 | Request timeout (common for complex searches) |\n| 422 | Validation failed |\n| 429 | Rate limited |\n| 4xx\u002F5xx | Passthrough error from GitHub API |\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `github`. For example:\n\n- Correct: `https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser`\n- Incorrect: `https:\u002F\u002Fgateway.maton.ai\u002Fapi.github.com\u002Fuser`\n\n## Resources\n\n- [GitHub REST API Documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest)\n- [Repositories API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Frepos\u002Frepos)\n- [Issues API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fissues\u002Fissues)\n- [Pull Requests API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fpulls\u002Fpulls)\n- [Search API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fsearch\u002Fsearch)\n- [Rate Limits](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Foverview\u002Fresources-in-the-rest-api#rate-limiting)\n- [Maton Community](https:\u002F\u002Fdiscord.com\u002Finvite\u002FdBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n","# GitHub\n\nAccess the GitHub REST API with managed OAuth authentication. Manage repositories, issues, pull requests, commits, branches, users, and more.\n\n## Quick Start\n\n```bash\n# Get authenticated user\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual GitHub API endpoint path. The gateway proxies requests to `api.github.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your GitHub OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=github&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'github'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"83e7c665-60f6-4a64-816c-5e287ea8982f\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-06T03:00:43.860014Z\",\n    \"last_updated_time\": \"2026-02-06T03:01:06.027323Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"github\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple GitHub connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '83e7c665-60f6-4a64-816c-5e287ea8982f')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Users\n\n#### Get Authenticated User\n\n```bash\nGET \u002Fgithub\u002Fuser\n```\n\n#### Get User by Username\n\n```bash\nGET \u002Fgithub\u002Fusers\u002F{username}\n```\n\n#### List Users\n\n```bash\nGET \u002Fgithub\u002Fusers?since={user_id}&per_page=30\n```\n\n### Repositories\n\n#### List User Repositories\n\n```bash\nGET \u002Fgithub\u002Fuser\u002Frepos?per_page=30&sort=updated\n```\n\nQuery parameters: `type` (all, owner, public, private, member), `sort` (created, updated, pushed, full_name), `direction` (asc, desc), `per_page`, `page`\n\n#### List Organization Repositories\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\u002Frepos?per_page=30\n```\n\n#### Get Repository\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\n```\n\n#### Create Repository (User)\n\n```bash\nPOST \u002Fgithub\u002Fuser\u002Frepos\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"my-new-repo\",\n  \"description\": \"A new repository\",\n  \"private\": true,\n  \"auto_init\": true\n}\n```\n\n#### Create Repository (Organization)\n\n```bash\nPOST \u002Fgithub\u002Forgs\u002F{org}\u002Frepos\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"my-new-repo\",\n  \"description\": \"A new repository\",\n  \"private\": true\n}\n```\n\n#### Update Repository\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\nContent-Type: application\u002Fjson\n\n{\n  \"description\": \"Updated description\",\n  \"has_issues\": true,\n  \"has_wiki\": false\n}\n```\n\n#### Delete Repository\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\n```\n\n### Repository Contents\n\n#### List Contents\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\n```\n\n#### Get File Contents\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}?ref={branch}\n```\n\n#### Create or Update File\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\nContent-Type: application\u002Fjson\n\n{\n  \"message\": \"Create new file\",\n  \"content\": \"SGVsbG8gV29ybGQh\",\n  \"branch\": \"main\"\n}\n```\n\nNote: `content` must be Base64 encoded.\n\n#### Delete File\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcontents\u002F{path}\nContent-Type: application\u002Fjson\n\n{\n  \"message\": \"Delete file\",\n  \"sha\": \"{file_sha}\",\n  \"branch\": \"main\"\n}\n```\n\n### Branches\n\n#### List Branches\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches?per_page=30\n```\n\n#### Get Branch\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches\u002F{branch}\n```\n\n#### Rename Branch\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fbranches\u002F{branch}\u002Frename\nContent-Type: application\u002Fjson\n\n{\n  \"new_name\": \"new-branch-name\"\n}\n```\n\n#### Merge Branches\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmerges\nContent-Type: application\u002Fjson\n\n{\n  \"base\": \"main\",\n  \"head\": \"feature-branch\",\n  \"commit_message\": \"Merge feature branch\"\n}\n```\n\n### Commits\n\n#### List Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcommits?per_page=30\n```\n\nQuery parameters: `sha` (branch name or commit SHA), `path` (file path), `author`, `committer`, `since`, `until`, `per_page`, `page`\n\n#### Get Commit\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcommits\u002F{ref}\n```\n\n#### Compare Two Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fcompare\u002F{base}...{head}\n```\n\n### Issues\n\n#### List Repository Issues\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues?state=open&per_page=30\n```\n\nQuery parameters: `state` (open, closed, all), `labels`, `assignee`, `creator`, `mentioned`, `sort`, `direction`, `since`, `per_page`, `page`\n\n#### Get Issue\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\n```\n\n#### Create Issue\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"Found a bug\",\n  \"body\": \"Bug description here\",\n  \"labels\": [\"bug\"],\n  \"assignees\": [\"username\"]\n}\n```\n\n#### Update Issue\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\nContent-Type: application\u002Fjson\n\n{\n  \"state\": \"closed\",\n  \"state_reason\": \"completed\"\n}\n```\n\n#### Lock Issue\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Flock\nContent-Type: application\u002Fjson\n\n{\n  \"lock_reason\": \"resolved\"\n}\n```\n\n#### Unlock Issue\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Flock\n```\n\n### Issue Comments\n\n#### List Issue Comments\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Fcomments?per_page=30\n```\n\n#### Create Issue Comment\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002F{issue_number}\u002Fcomments\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"This is a comment\"\n}\n```\n\n#### Update Issue Comment\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002Fcomments\u002F{comment_id}\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"Updated comment\"\n}\n```\n\n#### Delete Issue Comment\n\n```bash\nDELETE \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues\u002Fcomments\u002F{comment_id}\n```\n\n### Labels\n\n#### List Labels\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Flabels?per_page=30\n```\n\n#### Create Label\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Flabels\nContent-Type: application\u002Fjson\n\n{\n  \"name\": \"priority:high\",\n  \"color\": \"ff0000\",\n  \"description\": \"High priority issues\"\n}\n```\n\n### Milestones\n\n#### List Milestones\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmilestones?state=open&per_page=30\n```\n\n#### Create Milestone\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fmilestones\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"v1.0\",\n  \"state\": \"open\",\n  \"description\": \"First release\",\n  \"due_on\": \"2026-03-01T00:00:00Z\"\n}\n```\n\n### Pull Requests\n\n#### List Pull Requests\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls?state=open&per_page=30\n```\n\nQuery parameters: `state` (open, closed, all), `head`, `base`, `sort`, `direction`, `per_page`, `page`\n\n#### Get Pull Request\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\n```\n\n#### Create Pull Request\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"New feature\",\n  \"body\": \"Description of changes\",\n  \"head\": \"feature-branch\",\n  \"base\": \"main\",\n  \"draft\": false\n}\n```\n\n#### Update Pull Request\n\n```bash\nPATCH \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\nContent-Type: application\u002Fjson\n\n{\n  \"title\": \"Updated title\",\n  \"state\": \"closed\"\n}\n```\n\n#### List Pull Request Commits\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fcommits?per_page=30\n```\n\n#### List Pull Request Files\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Ffiles?per_page=30\n```\n\n#### Check If Merged\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fmerge\n```\n\n#### Merge Pull Request\n\n```bash\nPUT \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Fmerge\nContent-Type: application\u002Fjson\n\n{\n  \"commit_title\": \"Merge pull request\",\n  \"merge_method\": \"squash\"\n}\n```\n\nMerge methods: `merge`, `squash`, `rebase`\n\n### Pull Request Reviews\n\n#### List Reviews\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Freviews?per_page=30\n```\n\n#### Create Review\n\n```bash\nPOST \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fpulls\u002F{pull_number}\u002Freviews\nContent-Type: application\u002Fjson\n\n{\n  \"body\": \"Looks good!\",\n  \"event\": \"APPROVE\"\n}\n```\n\nEvents: `APPROVE`, `REQUEST_CHANGES`, `COMMENT`\n\n### Search\n\n#### Search Repositories\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Frepositories?q={query}&per_page=30\n```\n\nExample queries:\n- `tetris+language:python` - Repositories with \"tetris\" in Python\n- `react+stars:>10000` - Repositories with \"react\" and 10k+ stars\n\n#### Search Issues\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fissues?q={query}&per_page=30\n```\n\nExample queries:\n- `bug+is:open+is:issue` - Open issues containing \"bug\"\n- `author:username+is:pr` - Pull requests by author\n\n#### Search Code\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fcode?q={query}&per_page=30\n```\n\nExample queries:\n- `addClass+repo:facebook\u002Freact` - Search for \"addClass\" in a specific repo\n- `function+extension:js` - JavaScript functions\n\nNote: Code search may timeout on broad queries.\n\n#### Search Users\n\n```bash\nGET \u002Fgithub\u002Fsearch\u002Fusers?q={query}&per_page=30\n```\n\n### Organizations\n\n#### List User Organizations\n\n```bash\nGET \u002Fgithub\u002Fuser\u002Forgs?per_page=30\n```\n\nNote: Requires `read:org` scope.\n\n#### Get Organization\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\n```\n\n#### List Organization Members\n\n```bash\nGET \u002Fgithub\u002Forgs\u002F{org}\u002Fmembers?per_page=30\n```\n\n### Rate Limit\n\n#### Get Rate Limit\n\n```bash\nGET \u002Fgithub\u002Frate_limit\n```\n\nResponse:\n```json\n{\n  \"rate\": {\n    \"limit\": 5000,\n    \"remaining\": 4979,\n    \"reset\": 1707200000\n  },\n  \"resources\": {\n    \"core\": { \"limit\": 5000, \"remaining\": 4979 },\n    \"search\": { \"limit\": 30, \"remaining\": 28 }\n  }\n}\n```\n\n## Pagination\n\nGitHub uses page-based and link-based pagination:\n\n```bash\nGET \u002Fgithub\u002Frepos\u002F{owner}\u002F{repo}\u002Fissues?per_page=30&page=2\n```\n\nResponse headers include pagination links:\n- `Link: \u003Curl>; rel=\"next\", \u003Curl>; rel=\"last\"`\n\nCommon pagination parameters:\n- `per_page`: Results per page (max 100, default 30)\n- `page`: Page number (default 1)\n\nSome endpoints use cursor-based pagination with `since` parameter (e.g., listing users).\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Frepos\u002Fowner\u002Frepo\u002Fissues?state=open&per_page=10',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst issues = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Frepos\u002Fowner\u002Frepo\u002Fissues',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'state': 'open', 'per_page': 10}\n)\nissues = response.json()\n```\n\n## Notes\n\n- Repository names are case-insensitive but the API preserves case\n- Issue numbers and PR numbers share the same sequence per repository\n- Content must be Base64 encoded when creating\u002Fupdating files\n- Rate limits: 5000 requests\u002Fhour for authenticated users, 30 searches\u002Fminute\n- Search queries may timeout on very broad patterns\n- Some endpoints require specific OAuth scopes (e.g., `read:org` for organization operations). If you receive a scope error, contact Maton support at support@maton.ai with the specific operations\u002FAPIs you need and your use-case\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing GitHub connection |\n| 401 | Invalid or missing Maton API key |\n| 403 | Forbidden - insufficient permissions or scope |\n| 404 | Resource not found |\n| 408 | Request timeout (common for complex searches) |\n| 422 | Validation failed |\n| 429 | Rate limited |\n| 4xx\u002F5xx | Passthrough error from GitHub API |\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `github`. For example:\n\n- Correct: `https:\u002F\u002Fgateway.maton.ai\u002Fgithub\u002Fuser`\n- Incorrect: `https:\u002F\u002Fgateway.maton.ai\u002Fapi.github.com\u002Fuser`\n\n## Resources\n\n- [GitHub REST API Documentation](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest)\n- [Repositories API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Frepos\u002Frepos)\n- [Issues API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fissues\u002Fissues)\n- [Pull Requests API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fpulls\u002Fpulls)\n- [Search API](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Fsearch\u002Fsearch)\n- [Rate Limits](https:\u002F\u002Fdocs.github.com\u002Fen\u002Frest\u002Foverview\u002Fresources-in-the-rest-api#rate-limiting)\n- [Maton Community](https:\u002F\u002Fdiscord.com\u002Finvite\u002FdBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n",{"name":5,"metadata":24,"description":32,"compatibility":33},{"author":25,"version":26,"clawdbot":27},"maton","1.0",{"emoji":28,"requires":29},"🧠",{"env":30},[31],"MATON_API_KEY","GitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users.\nUse this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\n","Requires network access and valid Maton API key","main","cb3f39689b7b3a95edb2753c8f3e97a313b885fc","Xiao-Q\u002Fskills\u002Fgithub-api",0,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent","https:\u002F\u002Fgithub.com\u002FJinhong270","2026-09-30 23:42:56",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Jinhong270\u002FAI-Agent --skill github",{"tool":47,"command":48},"bunx","bunx skills add Jinhong270\u002FAI-Agent --skill github",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Jinhong270\u002FAI-Agent --skill github","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fgithub-api\u002FSKILL.md",true,[55,61],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"_meta.json","REFERENCE","参考文档",129,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fgithub-api\u002F_meta.json",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",1072,[67,74,82,89,96,103],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77Z0W1XHJVFS4M183VZTF3Z","xlsx","Open, create, read, analyze, edit, repair, or validate spreadsheet files (.xlsx, .xlsm, .xltx, .csv, .tsv) with zero format loss, with first-class support for Chinese \u002F CJK content. Use whenever the user asks to create, build, modify, fill, analyze, read, repair, validate, or format any spreadsheet, workbook, report, dashboard, budget, financial model, pivot table, or tabular data file. Handles Chinese text, encodings (UTF-8 \u002F GB18030 \u002F GBK), full-width characters, CJK fonts in rendering, and Chinese number\u002Fdate conventions (¥, 万\u002F亿, 年\u002F月\u002F日). Covers: creating new workbooks from scratch, reading and analyzing existing files, editing existing workbooks while preserving pivot tables \u002F VBA macros \u002F charts \u002F sparklines \u002F conditional formatting \u002F named ranges, formula recalculation and validation, visual review of results, and applying professional formatting. Triggers on 'spreadsheet', 'Excel', 'workbook', '表格', '工作簿', '.xlsx', '.xlsm', '.csv', 'pivot table', '透视表', 'macro', '宏', 'chart', '图表', 'financial model', '财务模型', 'formula', '公式', or any request to produce tabular data.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx007-skill\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M77Z0EVYYQEYGJME2K56STBZ","xlsx-formula-master","你描述需求(人话)，它给你 Excel \u002F WPS 公式 + 解释 + 不踩坑的边界条件。\n专攻 VLOOKUP \u002F XLOOKUP \u002F INDEX-MATCH \u002F SUMIFS \u002F 数组公式 \u002F 动态数组 \u002F Power Query 等高频但易错场景。\n自动适配你的 Excel 版本（2019 \u002F 365 \u002F WPS）——版本不同公式可能不能用。\n触发：用户说 \"Excel 公式\"、\"VLOOKUP\"、\"怎么算\"、\"WPS 公式\"、\"求和怎么写\"、\"匹配数据\"、\"数据透视\"。","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx-formula-master\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx-formula-master\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M77Z05X53XF8VVQFFFZE2Z4Z","self-improving-agent","Self-improving agent system that analyzes conversation quality, identifies improvement opportunities, and continuously optimizes response strategies.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxiucheng-self-improving-agent\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M77YZ7KXV2B7GDCBKE07QRWE","xiaohongshu-content-tools","小红书运营数据工具｜当提到小红书关键词搜索,小红书笔记详情及评论,小红书博主作品时使用，可实现爆款挖掘\u002F竞品分析\u002FKOL筛选\u002F趋势洞察，用数据驱动小红书流量增长，告别盲目创作","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxiaohongshu-content-tools\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M77YYQVPA4EWZPQ8J88BYVYA","xfg-ddd-skills","DDD 六边形架构设计与部署技能包。提供 Domain\u002FCase\u002FInfrastructure 层设计模式与代码模板，以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxfg-ddd-skills\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M77YXP7QKKD0HX26W2V63Q9M","wordpress","WordPress.com API integration with managed OAuth. Manage posts, pages, sites, and content.\nUse this skill when users want to create, read, update, or delete WordPress.com posts, pages, or manage site content.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fwordpress-api\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fwordpress-api\u002FSKILL.md",[],[]]