github
БесплатноБез исполняемых скриптовНе проверенGitHub integration via AtrisOS API. Manage PRs, issues, branches, CI status, code review, search. Use when user asks about repos, pull requests, issues…
от atrislabs★ 71 звезда на GitHubОб этом скилле
GitHub Agent
Drop this in
~/.claude/skills/github/SKILL.mdand Claude Code becomes your GitHub assistant.
Bootstrap (ALWAYS Run First)
#!/bin/bash
set -e
# 1. Check if atris CLI is installed
if ! command -v atris &> /dev/null; then
echo "Installing atris CLI..."
npm install -g atris
fi
# 2. Check if logged in to AtrisOS
if [ ! -f ~/.atris/credentials.json ]; then
echo "Not logged in. Run: atris login"
exit 1
fi
# 3. Extract token
if command -v node &> /dev/null; then
TOKEN=$(node -e "console.log(require('$HOME/.atris/credentials.json').token)")
elif command -v python3 &> /dev/null; then
TOKEN=$(python3 -c "import json,os; print(json.load(open(os.path.expanduser('~/.atris/credentials.json')))['token'])")
else
TOKEN=$(jq -r '.token' ~/.atris/credentials.json)
fi
# 4. Check GitHub connection
STATUS=$(curl -s "https://api.atris.ai/api/integrations/github/status" \
-H "Authorization: Bearer $TOKEN")
CONNECTED=$(echo "$STATUS" | python3 -c "import sys,json; print(json.load(sys.stdin).get('connected', False))" 2>/dev/null || echo "false")
if [ "$CONNECTED" != "true" ] && [ "$CONNECTED" != "True" ]; then
echo "GitHub not connected. Getting authorization URL..."
AUTH=$(curl -s -X POST "https://api.atris.ai/api/integrations/github/start" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"return_url":"https://atris.ai/settings/integrations"}')
URL=$(echo "$AUTH" | python3 -c "import sys,json; print(json.load(sys.stdin).get('auth_url', ''))")
echo ""
echo "Open this URL to connect GitHub:"
echo "$URL"
echo ""
echo "After authorizing, run your command again."
exit 0
fi
echo "Ready. GitHub is connected."
export ATRIS_TOKEN="$TOKEN"
Tool Actions
The GitHub tool is available to agents as github. All actions accept optional owner and repo params (defaults to configured repo).
Repos
| Action | Params | Description |
|---|---|---|
list_repos |
per_page |
List your accessible repos |
get_repo |
owner, repo |
Get repo details |
Pull Requests
| Action | Params | Description |
|---|---|---|
list_prs |
state (open/closed/all), per_page |
List PRs |
get_pr |
pr_number |
Get PR details + merge status |
create_pr |
title, head, base, body |
Open a PR |
list_pr_files |
pr_number |
Files changed in PR |
list_pr_reviews |
pr_number |
Reviews on PR |
create_pr_review |
pr_number, body, event |
Add review (APPROVE/REQUEST_CHANGES/COMMENT) |
create_pr_comment |
pr_number, body |
Comment on PR |
merge_pr |
pr_number, merge_method |
Merge PR (squash/merge/rebase) |
Issues
| Action | Params | Description |
|---|---|---|
list_issues |
state, labels, per_page |
List issues |
get_issue |
issue_number |
Get issue details |
create_issue |
title, body, labels |
Open issue |
update_issue |
issue_number, title/body/state/labels |
Update issue |
list_issue_comments |
issue_number |
Get issue comments |
create_issue_comment |
issue_number, body |
Comment on issue |
add_labels |
issue_number/pr_number, labels |
Add labels |
Branches
| Action | Params | Description |
|---|---|---|
list_branches |
per_page |
List branches |
create_branch |
branch, from_ref |
Create branch from ref |
delete_branch |
branch |
Delete branch |
Commits
| Action | Params | Description |
|---|---|---|
list_commits |
sha/branch, per_page |
Recent commits |
get_commit |
ref |
Commit details |
compare_commits |
base, head |
Diff between refs |
CI / Checks
| Action | Params | Description |
|---|---|---|
get_combined_status |
ref/branch |
CI status for ref |
list_check_runs |
ref/branch |
Check runs (Actions) |
Search
| Action | Params | Description |
|---|---|---|
search_issues |
query |
Search issues/PRs across repos |
search_code |
query |
Search code across repos |
Files
| Action | Params | Description |
|---|---|---|
list_contents |
path |
List directory |
get_file |
path, ref |
Read file (returns decoded_content) |
put_file |
path, message, content, sha, branch |
Create/update file |
Workflows
"Check open PRs"
- Bootstrap
list_prswithstate=open- For each PR:
get_combined_statuswith the PR's head ref - Display: title, author, CI status, review count, age
"Review a PR"
get_prwithpr_numberlist_pr_filesto see what changedget_fileon key changed files to read contentcreate_pr_reviewwith body and event (APPROVE/REQUEST_CHANGES/COMMENT)
"Triage new issues"
list_issueswithstate=open- For each: inspect title/body for keywords
add_labelsbased on
Установить github в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github?
GitHub integration via AtrisOS API. Manage PRs, issues, branches, CI status, code review, search. Use when user asks about repos, pull requests, issues, branches, or code changes.
Как установить скилл github?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic