task icon Task

Get Repository Info

Fetch repository metadata, README, and branch list

Requirements
Repository (owner/repo format)
1

Parse the repository from user input.
Accept formats: owner/repo, github.com/owner/repo, or full URL.

3

Present repository information:

  • Name, description, primary language
  • Stars, forks, open issues count
  • Default branch
  • Topics/tags if available

Summarize the README if present.
Offer to list issues, PRs, or branches for more detail.

                    To run this task you must have the following required information:

> Repository (owner/repo format)

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple CONSECUTIVE read steps in a row, read them all at once (in parallel). Otherwise, do not read a file until you reach that step.

Add all steps to your todo list now and begin executing.

## Steps

1. Parse the repository from user input.
Accept formats: owner/repo, github.com/owner/repo, or full URL.


2. [Gather Arguments: Get GitHub Repository Info] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `owner`: owner from requirements
- `repo`: repo from requirements

3. [Run Code: Get GitHub Repository Info]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/github.repos.info/preview,
    "args": [
      "owner",
      "repo"
    ]
  },
  "packages": null
}
```

4. Present repository information:
- Name, description, primary language
- Stars, forks, open issues count
- Default branch
- Topics/tags if available

Summarize the README if present.
Offer to list issues, PRs, or branches for more detail.