local-gh-dev
БесплатноБез исполняемых скриптовНе проверенRun the Open SWE dashboard locally against real GitHub data, signed in with the `gh` CLI instead of a per-machine GitHub App. Use when asked to run the app…
от langchain-ai★ 11 279 звёзд на GitHubОб этом скилле
Local dashboard on real GitHub data
The dashboard's per-user reads — the PR list, one PR's details, a PR preview — run on the signed-in person's own OAuth token.
gh already holds one, so local development needs no GitHub App: /dashboard/api/auth/dev-login turns gh's credentials into a session.
It is refused unless langgraph dev is the runtime, and the ALLOWED_GITHUB_USERS gate still applies.
Start it
Confirm
ghis logged in.gh auth status— if not,gh auth login.Check the ports. The backend wants 2024 and Vite wants 3000:
lsof -nP -iTCP:3000,2024 -sTCP:LISTENOther worktrees run their own backends and E2E harnesses on 2024. Never kill one without asking. Use another port instead and point Vite at it — every command below takes
PORTfor exactly that reason.Make sure
.envhas these. The GitHub App keys are not needed; these are:Key Why DASHBOARD_JWT_SECRETsigns the session; any random string ALLOWED_GITHUB_USERSyour gh api user --jq .loginPOSTGRES_URIskips the container step when one is already up DASHBOARD_BASE_URLhttp://localhost:3000DASHBOARD_API_BASE_URLhttp://localhost:3000Startup aborts with
ALLOWED_GITHUB_ORGS or ALLOWED_GITHUB_USERS must be configuredwhen the allowlist is missing.Start the backend.
make devcovers this when 2024 is free and you want its postgres container; otherwise run it directly:uv run langgraph dev --no-browser --port 2026 --n-jobs-per-worker 10Start Vite against it:
DASHBOARD_API_URL=http://127.0.0.1:2026 pnpm run devOpen
http://localhost:3000and press Continue with GitHub. With no App configured it redirects to theghlogin and lands you signed in. To skip the page, go straight to/dashboard/api/auth/dev-login?redirect_to=/agents/reviews.
Postgres
make dev starts an open-swe-postgres container unless POSTGRES_URI is set, and fails with a name conflict when another worktree already started one.
Reuse it:
docker ps --filter name=open-swe-postgres --format '{{.Names}} {{.Status}} {{.Ports}}'
It binds 127.0.0.1:5433, so POSTGRES_URI=postgresql://postgres:[email protected]:5433/postgres.
The App token, and why gh covers it
Code paths that want an App installation token rather than the caller's — a published review and its diff, inline review comments, the reviewer trigger — fall back to the gh CLI's token under langgraph dev (openswe/github/app.py::_local_dev_token).
So they work locally, and 503 GitHub App token unavailable means gh is logged out, not that the feature needs an App.
The fallback is gated on the runtime being langgraph dev, so it never widens a deployed installation's reach.
That gate is why a standalone script cannot trigger agent work: uv run python -c "...trigger_re_review(...)" fails with No GitHub App token available, because dev_login_enabled() is false outside the server.
Drive those paths over HTTP instead (below).
Running a real agent
Agent and reviewer runs work locally against real models and real sandboxes. Nothing is stubbed; runs cost money and take minutes.
.envneedsLANGSMITH_GATEWAY_API_KEY(orLANGSMITH_API_KEY) withgateway:invoke. Configure provider keys in LangSmith workspace Provider Secrets; Robin never calls providers directly.Expose the dashboard on a real hostname (
make tunnel, see docs/DEVELOPMENT.md). Every run's sandbox is a LangSmith one Managed Deep Agents creates, and those cannot work from a laptop'slocalhost: the run PATCHes a proxy config whosematch_hostsis the hostname of yourDASHBOARD_API_BASE_URL, and the sandbox API rejectslocalhostwith a bare422 unknownwhose body never reaches the log. It fails inPrepareReviewerRunMiddleware.before_agent, so the agent never starts and the review settles with zero findings — which reads exactly like a model that chose to say nothing.Get a session cookie, then post the trigger. Mutations are CSRF-checked against
DASHBOARD_BASE_URL, so send a matchingOrigin— without it you get403 CSRF check failed:curl -sS -c /tmp/osw.txt -o /dev/null 'http://127.0.0.1:2026/dashboard/api/auth/dev-login?redirect_to=/review' curl -sS -b /tmp/osw.txt -X POST -H 'Origin: http://localhost:3000' \ http://127.0.0.1:2026/dashboard/api/reviews/OWNER/REPO/NUMBER/re-reviewA
{"success": true, "thread_id": "..."}means the run is queued, not finished.Watch it in the backend log. The run is minutes long and the failures worth catching are sandbox provisioning and model auth, so grep for both rather than only for the tool you care about:
tail -f logs/backend.log | grep -E --line-buffered "sandbox|Traceback|error_detail=[^N]|publish_review"Reviewer output lands wh
Установить local-gh-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл local-gh-dev?
Run the Open SWE dashboard locally against real GitHub data, signed in with the `gh` CLI instead of a per-machine GitHub App. Use when asked to run the app locally, test a dashboard change against real PRs, reproduce something a screenshot shows, or when local login fails with "GITHUB_APP_CLIENT_ID not configured".
Как установить скилл local-gh-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-gh-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic