[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MQ4PWG53ESTV4V36R3H9S8":3,"skill-same:01M6MQ4PWG53ESTV4V36R3H9S8":80},{"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":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6MQ4PWG53ESTV4V36R3H9S8","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).","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgithub-api\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"api-gateway","managed","for","apps","branches","maton","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":42,"description":44,"compatibility":45},{"author":23,"version":43},"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","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","APIs与集成\u002Fgithub-api",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill github",{"tool":60,"command":61},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill github",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill github","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgithub-api\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"_meta.json","REFERENCE","参考文档",448,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgithub-api\u002F_meta.json",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"LICENSE.txt","LICENSE","许可证",1072,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fgithub-api\u002FLICENSE.txt",[81,105,127,135,142,167],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":37},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[83,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":37},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[27,111,112,113,114,115,116,90,117,94,118,119,120,121,122,123,124,125,126],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":128,"name":129,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":37},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[27,133,134,111,112,113,114,115,116,90,117,94,119,120,121,122,123,124,125,126],"api skill","zerion api skill",{"skillNo":136,"name":137,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":37},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[113,27,141,111,112,114,115,90,117,94,118,119,120,121,122,123,124,125,126],"zerion api mcp",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":37},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[149,150,151,152,153,5,154,155,156,157,158,159,160,161,162,163,164,165,166,20],"finance","yahoo finance","forex","yahoo","yahoo finance forex","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":37},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[149,150,152,174,175,176,177,178,179,159,180,181,182,183,184,185,186,187,126,166],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]