Skip to main content
skill CX Codex

flowio — Claude Code skill: read and write FCS files

Reads and writes flow cytometry FCS 2.0, 3.0 and 3.1 files: metadata, channels, events as NumPy. Useful when you need to look inside an FCS file or feed it to pandas.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill flowio -a claude-code
Open on GitHub

What flowio does

The skill gives your agent a working knowledge of FlowIO 1.4.0, a library for Flow Cytometry Standard files. It covers HEADER, TEXT, ANALYSIS and channel metadata, event extraction into a two-dimensional NumPy array, legacy files holding several datasets, and writing a new FCS 3.1.

Metadata-only work comes first: only_text=True keeps large or unfamiliar files cheap to open. When you do pull events, pick the semantics on purpose. as_array(preprocess=True) applies gain, logarithmic and time scaling taken from the FCS metadata; preprocess=False returns decoded values without those steps. Keys in flow.text are lowercase with the leading $ stripped, so look up date, not $DATE. One catch: FlowIO 1.4.0 strips every $ character from the decoded TEXT segment, including ones inside values, so keep the original file when exact metadata fidelity matters.

Compensation, logicle/biexponential transforms, gating and FlowJo workspaces are out of scope — FlowKit handles those. You need Python 3.9–3.13, uv and FlowIO 1.4.0; NumPy comes with the library, pandas is optional. Parsing runs locally with no credentials or network. Writing through create_fcs() takes an already-open binary handle and flattened one-dimensional event data in row-major order, and the required interpretation keywords are generated by FlowIO — metadata cannot override them.

What it helps with

  • check the version, event count and channels of an FCS file
  • pull TEXT metadata without loading events
  • get events as a two-dimensional NumPy array
  • open a legacy file with multiple datasets
  • write a new list-mode FCS 3.1 file

Example prompts for the agent

  • Inspect sample.fcs with only_text=True and show the version, event count and channel labels
  • Extract events from sample.fcs with preprocess=True and verify the array shape against $TOT and $PAR
  • Open legacy-multi-dataset.fcs with read_multiple_data_sets and print the event count for each dataset

How to install flowio

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill flowio -a claude-code

2Manually: put the files in place

~/.claude/skills/flowio/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/flowio/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about flowio

How do I install flowio in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill flowio -a claude-code. The skill lands at ~/.claude/skills/flowio/SKILL.md.

What does flowio do?

It lets the agent use FlowIO 1.4.0: reading FCS 2.0, 3.0 and 3.1, inspecting metadata and channels, extracting events into NumPy, handling multi-dataset files, and writing FCS 3.1.

How is flowio different from FlowKit?

FlowIO stays low-level: metadata, channels, events, file writing. Compensation, logicle/biexponential transforms, gating and FlowJo workspaces are not part of it — that is FlowKit's job.

Similar skills

Everything for Science and research →

From the same set159

usfiscaldata Queries U.S. Treasury fiscal data for debt, statements, rates and auctions through a REST API. Use it when federal financial figures are needed without an API key. CX Codex +1 1,900installs protocolsio-integration This skill reads and validates protocols.io data against the official REST contracts, and turns any change into a plan first. Useful when you need a protocol or one exact version. CX Codex +1 1,900installs scvelo Runs RNA velocity analysis from spliced and unspliced count matrices using scVelo. Useful for directional trajectory hypotheses alongside Scanpy workflows. CX Codex +1 1,900installs phylogenetics Skill for aligning DNA and protein sequences, inferring phylogenetic trees with branch support calculation, and visualizing results. For researchers in bioinformatics, microbiology, and molecular evolution. CX Codex +1 1,900installs pytdc Integrates Therapeutics Data Commons workflows into coding agents to discover ML datasets, plan task splits, and run molecular oracles safely. CX Codex +1 1,900installs geniml Checks BED and genomic-universe contracts, then plans Region2Vec and scEmbed runs. Use it before local genomic-interval analysis. CX Codex +1 1,900installs etetoolkit Analyzes phylogenetic trees with the ETE 4 library: compares topologies, annotates nodes, detects gene duplications, queries NCBI and GTDB taxonomy, and renders publication figures. CX Codex +1 1,900installs pennylane Guides an agent in setting up PennyLane 0.45.1 quantum circuits, variational VQE algorithms, and hybrid neural models. CX Codex +1 1,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor