vercel-labs

Sandboxed Issue Triage Agent — Git skill for Claude Code

Git community

Investigate GitHub issues securely with sandboxed HarnessAgents.

How to install Sandboxed Issue Triage Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vercel-labs/sandboxed-issue-triage-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sandboxed Issue Triage Agent does

Investigate GitHub issues securely with sandboxed HarnessAgents.

Alternatives in Git

  • Claude Code GitHub Issues — by anthropics - 问题反馈和功能请求 81.1k ★
  • Triage Issues — Triage open GitHub issues — split into bugs vs features, rank by severity/opportunity, and flag under-specifie 12.6k ★
  • Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★

README

Sandboxed Issue Triage Agent

This demo app shows how to use AI SDK 7 `HarnessAgent` with Vercel Sandbox to investigate third-party reproduction repositories without running unknown code on a maintainer laptop.

The app accepts:

  • A public GitHub repository URL
  • An issue report
  • An optional failing command
  • A harness adapter choice

It creates a harness-backed session in Vercel Sandbox, streams the investigation, and returns a maintainer-ready reproduction report.

The default form values point at this public repro repository:

Why this demo exists

The point is not that an agent can read a repository. A developer can already do that locally. The point is that a product can safely investigate unknown code on behalf of a team, while keeping the harness swappable.

Run locally

pnpm install
pnpm dev

Open `http://localhost:3000`.

You will need AI SDK 7 canary harness packages, Vercel Sandbox credentials, and Vercel AI Gateway credentials available to your local environment. The demo intentionally routes harness model access through AI Gateway, not provider-specific API keys.

For local development:

vercel link
vercel env pull .env.local

Required environment:

VERCEL_OIDC_TOKEN=...

Optional overrides:

AI_GATEWAY_API_KEY=...
AI_GATEWAY_BASE_URL=https://ai-gateway.vercel.sh

`lib/harness-agent.ts` passes Gateway auth into every harness adapter. It uses `AI_GATEWAY_API_KEY` when present and falls back to `VERCEL_OIDC_TOKEN` for local Vercel-authenticated development.

The package names follow the current HarnessAgent canary proposal:

  • @ai-sdk/harness
  • @ai-sdk/harness-claude-code
  • @ai-sdk/harness-codex
  • `@ai-sdk/san