AgenticCode — GitHub Integration
Get Repository Info
CLI Tool Name: get_repo_info
Fetches metadata and structure of a GitHub repository — including its description, language, stars, forks, branches, topics, and top contributors. Gives your AI agent a broad overview of a codebase before deciding to edit or clone.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| repo | string | yes | GitHub repo in 'owner/repo' format. Location of codebase to query. |
Example output
json
{
"name": "agentic-store-mcp",
"full_name": "agenticstore/agentic-store-mcp",
"description": "Core MCP tools package.",
"language": "Python",
"stars": 125,
"forks": 12,
"branches": ["main", "dev"]
}How to use it
Your assistant can run this tool securely directly in its context window to summarize external repos:
example prompt
Give me an overview of the 'agenticstore/agentic-store-mcp' repository using the GitHub tools.
[tip]
GitHub tokens are optional for public repositories, saving you from exhausting your rate limits. Tokens are required for private repos.