Genomic Interval Operations logo

Genomic Interval Operations

Community
SteveTangent
genomic-interval-operations

Merge or intersect same-build BED3 intervals with explicit coordinate, strand, duplicate and adjacency policies. Guide broader interval tasks only with a declared compatible tool; exclude liftover, peak calling and biological consensus claims.

Overview

PublisherSteveTangent
Repositorygoose-bio-skills
Skill namegenomic-interval-operations
Stars
64
Forks
0
Bundled files
7
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SteveTangent on GitHub. Read the source before you install it.

Installation

Install the Genomic Interval Operations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/genomic-interval-operations
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SteveTangent/goose-bio-skills.git /tmp/goose-bio-skills
mkdir -p .claude/skills
cp -r /tmp/goose-bio-skills/skills/genomic-interval-operations .claude/skills/genomic-interval-operations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Genomic Interval Operations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Genomic Interval Operations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Genomic Interval Operations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Genomic Interval Operations

Preview + reviewed. Small original helper checks are separate from Agent benchmarks, whole-genome scaling and human expert review.

Input and dialogue

Inspect available files and producer records first. Require exact build labels for A, optional B and contig sizes, BED0 half-open coordinates, permission to ignore strand, duplicate handling and (for merge) adjacency handling. Preserve original input bytes. Complete authorized local requests proceed directly.

Ask one consequential missing question, explain its effect and recommend the minimum useful record; wait on dependent work. Follow the existing dialogue guide. Never infer assembly from contig names, treat chr1/1 as aliases, or equate hg38 and GRCh38 without matching producer records. Explain that [10,20) covers 10 bases; touching [20,30) shares zero bases. BED3 has no strand field, so strand-sensitive questions need a different adapter.

Bounded local execution

Use operate_intervals.py with the local contract. Standard-library execution supports exact BED3 merge/intersection, at most 2,000 rows per input and 20,000 overlap pairs. Contig sizes define bounds and output chromosome order. No headers, comments, extra BED columns or coordinate conversion are silently accepted.

  • Merge one table using an explicit overlap-only or bookended policy. Preserve original-row membership in trace.tsv even when coordinates collapse.
  • Intersect A/B using positive base overlap. Output one clipped BED3 row per overlapping pair, preserving multiplicity and A/B row identities in trace.tsv.
  • Reject or preserve duplicate input rows as explicitly requested. Distinguish summed row widths from union coverage, which counts each base only once.
  • Empty input/output is valid interval algebra. Do not fabricate one output row or interpret no overlap as proof of biological absence.

Return intervals.json, result.bed and trace.tsv in a new output directory, including declarations, input/output hashes, row counts, union coverage and limitations. Missing or conflicting facts return needs-decision; malformed data return invalid-input; excessive rows/pairs return needs-tool without partial output. Never overwrite, mutate inputs, install dependencies or use the network.

Delivery and downstream use

Use the shared visualization (--kind intervals, --outcome CONTIG) for a diagram of one explicitly selected contig and up to 60 rows. Preserve every displayed row; this is an interval diagram, not genome-wide coverage or an inference plot.

A nonempty result.bed can enter existing chromatin-peak-set-qc as exact BED3 with the same build and contig-size file. Empty results remain completed algebra; the current peak QC requires nonempty sets, so report the empty result directly. The shared report accepts both interval results and existing peak QC evidence. The optional companion supports interval -> figure -> report; peak QC can be included as fingerprinted report evidence without changing its legacy producer.

Boundaries

Subtraction, nearest features and strand-aware operations require a separately declared adapter; see runtime boundaries. No liftover, name aliasing, peak calling, automatic gene annotation, consensus peaks, differential accessibility or biological-quality interpretation. Overlap is geometric evidence only. Preserve host permissions for any new side effect.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Genomic Interval Operations AI skill do?

Merge or intersect same-build BED3 intervals with explicit coordinate, strand, duplicate and adjacency policies. Guide broader interval tasks only with a declared compatible tool; exclude liftover, peak calling and biological consensus claims.

Why use Genomic Interval Operations on TypingMind?

Because you install it once and use it with any model. Genomic Interval Operations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Genomic Interval Operations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/genomic-interval-operations. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Genomic Interval Operations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Genomic Interval Operations?

As many as you like. As long as a model supports skills, you can use Genomic Interval Operations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Genomic Interval Operations AI skill free?

Yes. It is published on GitHub by SteveTangent under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇