composio-github
SKILL.md
GitHub via Composio
DO NOT use
ghCLI - it will fail with "gh auth login" error. Use the Composio HTTP API (curl commands) below instead.
Environment
COMPOSIO_API_KEY # API key
COMPOSIO_USER_ID # Entity ID (required for all requests)
COMPOSIO_CONNECTIONS # JSON with .github connection ID
Core Pattern
CONNECTION_ID=$(echo $COMPOSIO_CONNECTIONS | jq -r '.github')
curl -s "https://backend.composio.dev/api/v3/tools/execute/ACTION_NAME" \
-H "x-api-key: $COMPOSIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {}
}' | jq '.data'
Quick Start
# List your repositories (public + private)
curl -s "https://backend.composio.dev/api/v3/tools/execute/GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {"visibility": "all", "affiliation": "owner,collaborator,organization_member"}
}' | jq '.data.repositories'
# List repository issues
curl -s "https://backend.composio.dev/api/v3/tools/execute/GITHUB_LIST_REPOSITORY_ISSUES" \
-H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
-d '{
"connected_account_id": "'$CONNECTION_ID'",
"entity_id": "'$COMPOSIO_USER_ID'",
"arguments": {"owner": "OWNER", "repo": "REPO", "state": "open"}
}' | jq
All Actions
See references/actions.md for complete API reference including:
- Repository contents: get files, README, download ZIP
- Issues: list, create, update, comment
- Pull requests: list, create, merge
- Repositories: list, get info
- Branches: list
Discover Actions
curl -s "https://backend.composio.dev/api/v2/actions?apps=github" \
-H "x-api-key: $COMPOSIO_API_KEY" | jq '.items[] | {name, description}'
Weekly Installs
12
Repository
prashaantr/teac…hing-newGitHub Stars
1
First Seen
Feb 25, 2026
Security Audits
Installed on
openclaw12
mcpjam4
claude-code4
junie4
windsurf4
zencoder4