check_repo
Check a GitHub repo's AI contribution policy and self-running code risks before cloning or sending a PR. Returns read-only JSON verdicts and quoted policy links.
Instructions
Before opening, cloning or sending a PR to a GitHub repo, check two things: whether its maintainers welcome AI assisted contributions (banned, disclose, allowed, unknown, with the exact sentence and link) and whether anything in it runs by itself when opened by an agent or IDE (danger, caution, clear). Read only: nothing is cloned or executed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "check_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | optional branch, tag or commit | |
| repo | Yes | owner/repo or a github.com URL |