[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FGSVNN4DNXYNT5APBJK54X":3,"skill-same:01M6FGSVNN4DNXYNT5APBJK54X":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":6,"ownerHtmlUrl":61,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":62,"install":63,"resources":76},"01M6FGSVNN4DNXYNT5APBJK54X","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).","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fbyungkyu\u002Fgithub-api\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[5,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"api-gateway","apps","branches","maton","api integration","manage","automate","access","commits","api","network","gateway","search","pull","issues","code","pull requests","workflows","valid","2026-11-10 10:12:30",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---\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: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\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## 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","# 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: Invalid API Key\n\n**When you receive a \"Invalid API key\" error, ALWAYS follow these steps before concluding there is an issue:**\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## 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",{"name":5,"metadata":52,"description":54,"compatibility":55},{"author":31,"version":53},"1.0","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","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fbyungkyu\u002Fgithub-api",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add kbarbel640-del\u002Fskills --skill github",{"tool":69,"command":70},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill github",{"tool":72,"command":73},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill github","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fbyungkyu\u002Fgithub-api\u002FSKILL.md",true,[77,83],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"_meta.json","REFERENCE","参考文档",448,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fbyungkyu\u002Fgithub-api\u002F_meta.json",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"LICENSE.txt","LICENSE","许可证",1072,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fbyungkyu\u002Fgithub-api\u002FLICENSE.txt",[90,118,145,166,172,190],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":99,"publishedAt":47},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[96],{"categoryNo":97,"categoryName":98,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000036","内容创作者",[100,101,37,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117],"crowd prompting","prompting","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":127,"publishedAt":47},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[124],{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[128,37,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,106,144],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":154,"publishedAt":47},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[151],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",[155,156,157,158,159,160,161,102,162,142,144,163,37,164,165],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":167,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":47},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[170],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},[158,157,156,155,165,160,161,102,159,142,144,162,163,37,164],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":47},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[179,180,181,36,182,183,184,185,186,187,188,189,30],"git","summary","git summary","repository","win32","status","linux","contributors","true","quick","get",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":200,"publishedAt":47},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[196,197],{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":198,"categoryName":199,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000037","律师与法务",[201,202,203,204,102,205,206,56,207,163,208,209,210,211,212,115,213,214,5],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance"]