GitHub Copilot
Shanone’s GitHub Copilot integration gives your agent 37 tools for admin/enterprise-facing Copilot management: seats, billing, usage metrics, custom agents, content exclusion, and Copilot Cloud Agent policies.Getting Started
1
Generate a fine-grained Personal Access Token
In GitHub, go to Settings → Developer settings → Fine-grained tokens and create a token with Copilot-related organization permissions.
2
Add it to Shanone
Open Integrations in the Shanone dashboard, select GitHub Copilot, and paste in the token.
3
Retry your request
Once saved,
shanone_execute_tool calls for copilot_* tools will succeed.Available Tools
Shanone provides 37 tools for GitHub Copilot, organized into these categories:Seats & Billing
Seats & Billing
copilot_get_org_billing, copilot_list_org_seats, copilot_add_teams, copilot_remove_teams, copilot_add_users, copilot_remove_users, copilot_get_user_seatUsage Metrics — Organization
Usage Metrics — Organization
copilot_get_org_metrics_daily, copilot_get_org_metrics_28day, copilot_get_org_users_metrics_daily, copilot_get_org_users_metrics_28day, copilot_get_org_user_teams_dailyUsage Metrics — Enterprise
Usage Metrics — Enterprise
copilot_get_enterprise_metrics_daily, copilot_get_enterprise_metrics_28day, copilot_get_enterprise_users_metrics_daily, copilot_get_enterprise_users_metrics_28day, copilot_get_enterprise_user_teams_dailyCloud Agent — Organization
Cloud Agent — Organization
copilot_get_org_agent_permissions, copilot_set_org_agent_permissions, copilot_list_org_agent_repositories, copilot_set_org_agent_repositories, copilot_enable_org_agent_repository, copilot_disable_org_agent_repositoryCloud Agent — Enterprise
Cloud Agent — Enterprise
copilot_set_enterprise_agent_policy, copilot_add_enterprise_agent_orgs, copilot_remove_enterprise_agent_orgsCustom Agents & Content Exclusion
Custom Agents & Content Exclusion
copilot_list_custom_agents, copilot_get_custom_agents_source, copilot_set_custom_agents_source, copilot_delete_custom_agents_source, copilot_get_content_exclusion, copilot_set_content_exclusionTasks
Tasks
copilot_list_repo_tasks, copilot_start_task, copilot_get_repo_task, copilot_list_user_tasks, copilot_get_taskCommon Use Cases
Seat management
Add or remove teams/users from Copilot Business seats and track billing impact
Adoption reporting
Pull daily/28-day usage metrics to report on Copilot adoption across teams
Agent policy rollout
Enable Copilot Cloud Agent on specific repositories with controlled permissions
Autonomous task triggering
Start a Copilot coding task on a repo and track it through to completion
Troubleshooting
Enterprise-scoped tools return a 404
Enterprise-scoped tools return a 404
copilot_get_enterprise_* and copilot_*_enterprise_agent_* tools only work for organizations that are part of a GitHub Enterprise account — for a plain organization, use the _org_ equivalents instead.copilot_add_users or copilot_add_teams fails with a permissions error
copilot_add_users or copilot_add_teams fails with a permissions error
Managing Copilot seats requires organization owner or Copilot admin permissions on the token’s account; a token from a regular member can read usage but not modify seat assignments.
Metrics tools return an empty array for a recent date
Metrics tools return an empty array for a recent date
GitHub Copilot usage metrics are aggregated with roughly a one-to-two day delay; very recent activity may not show up in
copilot_get_org_metrics_daily yet.