Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

jbrowse-capture

Skill by GMOD

Teaches an AI assistant to capture and check JBrowse genome browser views. It covers screenshots, figure rendering and Puppeteer automation, with a focus on waiting until the browser has finished rendering.

  • Score 76
  • 300 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install jbrowse-capture

Built from the published package, never by AI.

git clone --depth 1 https://github.com/GMOD/jbrowse-components /tmp/jbrowse-components && mkdir -p ~/.claude/skills && cp -r /tmp/jbrowse-components/.claude/skills/jbrowse-capture ~/.claude/skills/jbrowse-capture

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install jbrowse-capture in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant look at a JBrowse view, not just build one. It covers two capture tools. @jbrowse/img renders server-side with React and needs no browser, outputting SVG, PNG or PDF. @jbrowse/capture drives Puppeteer against a real JBrowse instance and outputs PNG, JPEG or WebP, covering menus, dialogs and canvas rendering.

The main focus is knowing when the browser has finished drawing. The skill explains that JBrowse's published readiness signals are negative only, so a script can save a picture of an empty browser. It gives a positive wait gate based on a census element, plus a library API with checks on the returned fields. It is aimed at people making genome browser figures or checking that a config shows data.

Written from the project's SKILL.md and checked against it.

What it can do

  • Tool selectionExplains when to use @jbrowse/img versus @jbrowse/capture for a given view.
  • @jbrowse/img renderingRenders a JBrowse view server-side to SVG, PNG or PDF without launching a browser.
  • @jbrowse/capture screenshotsCaptures a real JBrowse app in Chromium as PNG, JPEG or WebP, including the full app chrome.
  • Positive readiness gateWaits on the data-app-tracks census so a capture does not run before the app has started.
  • Negative signal waitsLists the loading attributes to wait on in order, from view phase to display drawn state.
  • Capture library APIProvides captureJBrowse, openJBrowse, waitForJBrowseReady and launchBrowser for scripts.
  • Result checksExplains the unsettled, pending and tooLarge fields to read before trusting an image.
  • Local data servingDescribes serving a JBrowse app and local data from one directory with Range support.

What you need

  • Node.js with npx
  • Chromium for @jbrowse/capture
  • A web server that honors Range requests, for local data
  • The jbrowse CLI, for serving local data

Try asking

  • Screenshot the BRCA1 region in hg38 with JBrowse and save it as a PNG
  • Check that my JBrowse config actually shows data before I make a figure
  • Open a JBrowse view, click the track menu, and take a screenshot

Good to know

  • Headless Chromium rasterizes in software, so slow views there may differ on real hardware.
  • Capture drives the public JBrowse build, so config and data must be URLs that page can fetch.
  • Older JBrowse deployments publish only the loading overlay, so display waits can only be a bounded settle.
  • A stage that times out throws unless allowUnsettled is passed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/jbrowse-capture/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to jbrowse-capture

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

jbrowse-capture: common questions

Why does my JBrowse screenshot show an empty browser?

The skill says JBrowse readiness signals are negative only, so they can pass before the app has started. Waiting on the positive data-app-tracks census gate avoids this.

Should I use @jbrowse/img or @jbrowse/capture?

The skill recommends @jbrowse/img by default because it is faster and needs no browser. Use @jbrowse/capture when a canvas display, menu or dialog needs the real application.

Can I capture local JBrowse data?

@jbrowse/img can render local files using localPath locations. @jbrowse/capture needs the app and data served from one directory with Range support.

How do I install jbrowse-capture?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is jbrowse-capture free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is jbrowse-capture safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to jbrowse-capture?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

jbrowse-capture Install

Add to stack

Loading.