zomars/ralph/setup-verifier
Claude Code and agent skill by zomars/ralph
- community
Checking that the SKILL.md file is still in the repository.
Scaffolds the per-project verifier-context.sh script that ralph's verifier agent reads when running staging-only Playwright checks. Run from inside the target project's repo root. Detects staging URL, test users, server log access, and writes ~/.ralph/projects/<project>/scripts/verifier-context.sh. Run before first use of the ralph verifier agent.
Install
npx vskill@latest install zomars/ralph/setup-verifierSKILL.md
Setup Verifier (per-project)
Scaffold the per-project context script that the ralph verifier agent reads at the start of every iteration. Without it, verifier has no idea what staging URL to test, what users to log in as, or how to fetch server logs.
This is a prompt-driven skill, not a deterministic script. Explore, present what you found, confirm with the user, then write.
What this produces
A single executable shell script at:
Whose stdout becomes the verifier agent's project context every iteration. The file is project-private — it lives outside the ralph repo (so it's not committed to ralph) and outside the target project repo (so it's not committed there either).
Process
1. Explore
Read what exists in the current directory. Don't assume — observe.
git remote -v— derive project name from the remote's repo segment (e.g.,myappfrom asomeorg/myapp.gitremote). If no remote, usebasename "$PWD".~/.ralph/projects/<project>/scripts/verifier-context.sh— already exists? Read it; offer diff/update path instead of overwrite.- Staging URL hints:
vercel.json,next.config.*,astro.config.*— production URLs, deploy aliases.env*files (especially.env.production,.env.staging) —NEXT_PUBLIC_*_URL,*_BASE_URL,STAGING_URLpackage.jsonscripts(e.g.,"deploy:staging": "vercel --prod") andhomepagefieldREADME.md,README*.md— most projects mention staging URL in a setup section- If
ghis configured and project has GitHub Actions, look at deploy workflow files for environment URLs - Test user credentials:
.env*for credential-shaped vars (e.g.,TEST_EMAIL,TEST_PASSWORD,*_USER,*_PASSWORD).e2e/,tests/e2e/,playwright/— fixture files that hardcode test users- Seed scripts (
scripts/seed*.{ts,js,sql}) that create test accounts - Server log sources (detect by signal):
package.jsondeps:@vercel/*,vercelCLI presence (command -v vercel) → Vercel runtime logsposthog-*,posthog-jsdeps ORmcp__plugin_posthog_*available → PostHog errors MCP@sentry/*→ Sentry CLI / dashboard@datadog/*,dd-trace→ Datadog- The project's
.mcp.json— what MCP servers are already wired ~/.claude/plugins/cache/listings — what Claude plugins are available globally- Pre-flight smoke endpoint:
- Default:
GET /of the staging URL - If the project exposes an obvious health endpoint (
/api/health,/healthz,/_health), prefer it — surveysrc/app/api/,src/pages/api/,app/api/forhealthroute. - Framework: Next.js, Remix, Astro, Vite, etc. — use only to inform the smoke-endpoint default; doesn't drive other decisions.
2. Present findings, three sections, one at a time
Do not dump all three at once. Walk the user through each, get an answer, move on.
Each section starts with a one-line explainer (what this is, why verifier needs it). Then show what you detected and the proposed default. Ask the user to confirm or override.
Section A — Staging URL + smoke endpoint
Explainer: The verifier agent runs Playwright against this URL to test deployed features. The smoke endpoint is a fast pre-flight check to detect staging outages — if it 5xxs, verifier aborts cleanly without marking tickets as broken.
Show:
- Detected staging URL: from <which file>. Confirm or override.
- Detected smoke endpoint:
GET <url>/(default) orGET <url>/api/healthif found. Confirm or override.
Section B — Test users
Explainer: Most verifier checks need to log in. Embed the test credentials here so verifier doesn't have to grep them out of the repo every run. If credentials are sensitive, you can reference an env var instead of inlining (e.g.,<role>: $STAGING_<ROLE>_EMAIL / $STAGING_<ROLE>_PASSWORD— verifier will resolve from its environment).
Show:
- Detected emails/passwords grouped by the role/persona names found in the project (whatever the codebase calls them: admin, customer, vendor, etc.).
- Per row: confirm to inline, swap for env var reference, or omit.
If nothing was detected, ask the user to type them. Don't fabricate.
Section C — Server log access
Explainer: When a feature fails, verifier diagnoses by reading server-side logs. Each project ships logs differently — Vercel CLI, PostHog MCP, Sentry, etc. List the available sources here so the agent's prompt knows what to call.
Show detected sources with the command/MCP that fetches them. User picks which to declare (multi-select). Examples:
mcp__plugin_posthog_posthog__errors— PostHog errors via MCP pluginvercel logs <prod-url> --prod— Vercel runtime logs via CLI (requiresvercellinked to project)- Sentry — provide instructions for
sentry-cli - "Other" — user describes in one paragraph
Also ask: any other MCP servers verifier should declare in RALPH_VERIFIER_MCP_SERVERS=? (This line is parsed by the loop. Default: playwright.)
3. Confirm with a draft
Show the full draft verifier-context.sh to the user. Format:
Let the user edit before committing. They might want to add convention notes, swap inlined creds for env vars, etc.
4. Write
Once approved:
If the file already exists with different content: show a diff and explicitly ask before overwriting. Never silently overwrite.
5. Print next steps
Print a short block:
Notes
- This skill writes outside the target project repo (under
~/.ralph/projects/<project>/). It does not modify any files in the project itself, including.mcp.json— those are the user's call. - If the user is in a directory that doesn't look like a project root (no
git remote, nopackage.json, etc.), confirm before proceeding. They might havecd'd to the wrong place. - The script is shell — it can do anything. If the user has dynamic context (e.g., the latest deploy URL from Vercel API), suggest they make the script call
vercel ls --prod | head -1or similar at runtime. Static text is fine for v1.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/setup-verifier/SKILL.md
Popularity
- Repository stars
- 77
- Repository forks
- 3
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zomars/ralph/setup-verifier)