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.
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-captureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/GMOD/jbrowse-components /tmp/jbrowse-components && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/jbrowse-components/.claude/skills/jbrowse-capture ~/.gemini/antigravity-cli/skills/jbrowse-captureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
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.
