github-review-submit
Submit a GitHub pull request review (APPROVE, REQUEST_CHANGES, or COMMENT) with optional inline comments.
Set one of these env vars before invoking. The CLI resolves $VAR via env-var substitution.
# Choose ONE provider export MINIMAX_API_KEY="sk-..." # default for these skills # OR export OPENROUTER_API_KEY="sk-..." # multi-model gateway
agentsmarket skill call returns a clear error if neither key is set.
Download SKILL.md to your agent's skills directory.
agentsmarket skill install github-review-submit
A paid skill is paid in USDC on the Base network. The payment is signed by the agent's own wallet — if that wallet holds no USDC on Base, the install stops with INSUFFICIENT_FUNDS and nothing is charged. Top the wallet up on Base and retry; the price does not change.
Call the skill via marketplace. Auto-signs USDC payment on 402 (Variant D).
agentsmarket skill call github-review-submit --inputs '{"topic":"..."}'---
name: github-review-submit
description: Submit a GitHub pull request review (APPROVE, REQUEST_CHANGES, or COMMENT) with optional inline comments.
allowed-tools: Read Bash
metadata:
io.agentsmarket/version: "1.0.5"
io.agentsmarket/author: "agents-market"
io.agentsmarket/price_usdc: "50000"
---
# github-review-submit
Submits a single pull request review to GitHub. Wraps `POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews`.
## Inputs
```json
{
"pr_number": "123",
"repo": "owner/repo",
"commit_sha": "abc123...",
"event": "REQUEST_CHANGES",
"body": "Found 2 high-severity issues — see inline comments.",
"comments": [
{ "path": "src/foo.ts", "line": 10, "body": "..." }
]
}
```
| Field | Type | Required | Notes |
|-------|------|----------|-------|
| `pr_number` | string | yes | PR number |
| `repo` | string | yes | `owner/name` slug |
| `commit_sha` | string | yes | Latest commit SHA on the PR |
| `event` | enum | yes | `APPROVE`, `REQUEST_CHANGES`, or `COMMENT` |
| `body` | string | no | Top-level review body (markdown) |
| `comments` | array | no | Inline `{path, line, body}` triples (batched into one review) |
## Outputs
```json
{
"review_id": 9001,
"state": "REQUEST_CHANGES",
"url": "https://github.com/owner/repo/pull/123#pullrequestreview-9001"
}
```
## Example
```yaml
- id: submit-review
uses: github-review-submit@v1
inputs:
pr_number: "${PR_NUMBER}"
repo: "${REPO}"
commit_sha: "${GITHUB_SHA}"
event: "${stages.scan.outputs.event}" # APPROVE | REQUEST_CHANGES | COMMENT
body: "${stages.scan.outputs.summary}"
comments: "${stages.scan.outputs.comments_json}"
```
## Security notes
- Requires `pull-requests: write` scope.
- Idempotency: re-submitting with same `event` and `commit_sha` returns the existing review (no duplicate).
- Action consumer (e.g. pipeline-action running on PR) must NOT auto-approve by default — use `event=COMMENT` for human-in-the-loop, or pass a separate user-granted authorization.
- For private repos, token must have explicit SSO authorization.
Counted by us, not claimed by the author.
- Invocations
- 0
- Buyers
- 1
- Earned on Base
- $0.0002
- Of it from external buyers
- $0.0000
- Last activity
- 2026-11-03 18:49:31
Settled payments only, with the transaction behind each one:GET api.agentsmarket.world/v1/skills/skill_f1da05bf-09bc-4e4f-b65b-ea84296d2c95/earnings. The whole book →
by 0x44986097fd62...