Fetches https://example.com and verifies its main <h1> reads 'Example Domain'. Minimal end-to-end smoke test using the Browserbase Fetch API.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionverify-headingExecute the skills CLI command in your project's root directory to begin installation:
Fetches verify-heading from example.com/pr-47-ai-gateway-smoke-6wh3lw and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate verify-heading. Access via /verify-heading in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
| name | verify-heading |
| title | Verify example.com Main Heading |
| description | >- Fetches https://example.com and verifies its main <h1> reads 'Example Domain'. Minimal end-to-end smoke test using the Browserbase Fetch API. |
| website | example.com |
| category | testing |
| tags | - testing - smoke-test - fetch-api - static-html - example |
| source | 'community: agent-runtime 2026-05-19' |
| updated | '2026-05-19' |
| recommended_method | api |
| alternative_methods | - method: browser rationale: >- Live Browserbase session works but is overkill — example.com is pure server-rendered HTML with one <h1>. Use only when the Fetch API is unavailable on the host. |
Fetches https://example.com and verifies its main <h1> heading. Returns the heading text, the page title, and a boolean indicating whether the heading matches the canonical value Example Domain. Read-only; no auth, no forms, no JS execution required.
recommended_method: api honesty pattern (Fetch API beats live-browser for static HTML).Fetch the page via the Browserbase Fetch API (optimal — no browser session needed):
browse cloud fetch https://example.com --allow-redirects --output page.html
Expected response: {"ok": true, "statusCode": 200, "contentType": "text/html", "sizeBytes": ~528}.
Extract the first <h1> from the returned HTML. A regex is sufficient because example.com's markup is hand-written, single-line, with exactly one <h1>:
python3 -c "import re,sys; m=re.search(r'<h1[^>]*>(.*?)</h1>', open('page.html').read(), re.I|re.S); print(m.group(1).strip() if m else '')"
Compare against the canonical value Example Domain. If equal, return {"verified": true, ...}; otherwise return {"verified": false, "heading": "<observed>"} so the caller can investigate whether IANA changed the reference page.
(Optional) Also extract <title> for a secondary sanity check — it has the same value Example Domain and gives independent confirmation that the response wasn't a proxy error page.
If for any reason the Fetch API is unavailable, drive a Browserbase session:
sid=$(browse cloud sessions create --keep-alive | jq -r .id)
ws=$(browse cloud sessions debug "$sid" | jq -r .wsUrl)
browse open https://example.com --cdp "$ws" --wait load
browse get text "h1" --cdp "$ws"
browse screenshot --cdp "$ws" --out final.png
browse cloud sessions update "$sid" --status REQUEST_RELEASE
Stealth/proxies are not needed — example.com is IANA's reserved demo domain with no anti-bot infrastructure.
<h1>, hand-written single-line markup. A naïve regex <h1[^>]*>(.*?)</h1> works reliably; you do not need an HTML parser. Don't over-build.Example Domain (verified 2026-05-19 against the live IANA reference page). If you ever see something else, treat it as a signal that either (a) IANA changed the example template, or (b) you hit a captive-portal / proxy intercept page rather than the real origin.<title> and <h1> have the same value. Two independent fields you can cross-check for free.--allow-redirects to browse cloud fetch defensively — at the time of authoring, https://example.com returns 200 directly with no redirect, but some networks intercept and 30x.connect.browserbase.com, connect.usw2.browserbase.com) are sometimes blocked even when api.browserbase.com is allowlisted. On such hosts the Fetch API path is the only viable route — another reason it's the recommended method here.{
"url": "https://example.com",
"status_code": 200,
"content_type": "text/html",
"size_bytes": 528,
"title": "Example Domain",
"heading": "Example Domain",
"verified": true
}
On a mismatch (defensive shape):
{
"url": "https://example.com",
"status_code": 200,
"title": "Example Domain",
"heading": "<observed-text>",
"verified": false,
"reason": "heading text differs from canonical 'Example Domain'"
}
On an upstream failure (Fetch API non-2xx, redirect loop, network block):
{
"url": "https://example.com",
"status_code": 0,
"verified": false,
"reason": "fetch failed: <error>"
}
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
anthropic/chrome-devtools-mcp
samber/cc-skills-golang
aj-geddes/useful-ai-prompts
github/awesome-copilot
refoundai/lenny-skills
davila7/claude-code-templates
verify-heading has been reliable in day-to-day use. Documentation quality is above average for community skills.
Solid pick for teams standardizing on skills: verify-heading is focused, and the summary matches what you get after install.
Useful defaults in verify-heading — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
verify-heading has been reliable in day-to-day use. Documentation quality is above average for community skills.
verify-heading is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Registry listing for verify-heading matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: verify-heading is the kind of skill you can hand to a new teammate without a long onboarding doc.
verify-heading reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend verify-heading for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
verify-heading reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 45