Agent skill

Pioreactor Automations

by Pioreactor in Pioreactor/pioreactor

Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published…

MITAuto-check passedBackend & APIs

Install Pioreactor Automations

skills CLI
$ npx skills add Pioreactor/pioreactor --skill pioreactor-automations -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Pioreactor/pioreactor pioreactor-automations --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Pioreactor/pioreactor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pioreactor-automations .claude/skills/pioreactor-automations && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pioreactor-automations
GitHub stars
149
Token cost
~1.3k tokens
SKILL.md length
572 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published…

  • Backend & APIs work in your project
  • SKILL.md covers Goal, Families, Config.ini sections and UI yaml, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pioreactor Automations is an agent skill from Pioreactor/pioreactor. Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published settings, lifecycle cleanup, and dosing shutdown safety.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs. The repository describes itself as: Hardware and software for accessible, extensible, and scalable bioreactors. Built on Raspberry Pi. The licence is MIT.

When your agent uses it

  • Backend & APIs work in your project

Example prompts

  • “/pioreactor-automations”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 0ae14c0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pioreactor Automations loads about 1.3k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 572 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Pioreactor/pioreactor at commit 0ae14c0, republished under its MIT licence (© Pioreactor). 572 words, ~1,319 tokens.

Download SKILL.mdSave it as .claude/skills/pioreactor-automations/SKILL.md (or your agent's skills folder).
name
pioreactor-automations
description
Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published settings, lifecycle cleanup, and dosing shutdown safety.

Pioreactor Automations

Goal

Help Codex implement Pioreactor automations that match the existing dosing, temperature, and LED job architecture, choose the correct trigger model, and preserve runtime safety.

Families

  • Automations are split into 3 families: dosing, temperature, led under core/pioreactor/automations/.
  • Each family is powered by a background job base class:
    • core/pioreactor/background_jobs/dosing_automation.py
    • core/pioreactor/background_jobs/temperature_automation.py
    • core/pioreactor/background_jobs/led_automation.py
  • Shared automation execution helpers live in core/pioreactor/automations/base.py.

Config.ini sections

Use section name [<type>_automation.<automation_name>]. Example:

[dosing_automation.turbidostat]
[dosing_automation.pid_morbidostat]
[temperature_automation.thermostat]

UI yaml

Automation chooser descriptors

Path: .pioreactor/ui/automations/<type>/*.yaml Served by: /api/automations/descriptors/<automation_type> in core/pioreactor/web/api.py Schema: AutomationDescriptor in core/pioreactor/structs.py Fields: - display_name - automation_name - description - fields[] where each field has key/default/label/type/unit/disabled/options

  • automation_name in Python class must match YAML automation_name.
  • UI fields[].key should correspond to constructor args and/or published settings.
  • Runtime mutability is governed by published_settings[...]["settable"], not by YAML alone.
  • Do not add skip_first_run as a global UI field. If an automation needs it, expose it as an explicit field for that automation.

Execution strategies

Pick the strategy that matches the automation's real trigger. Do not force event-like automations into a duration loop.

Periodic automations

Use self.run_every(duration, skip_first_run=...) in __init__ when the automation should run at a fixed cadence.

  • execute() contains one automation decision/action.
  • run_every() starts a RepeatedTimer after the job reaches its post-init phase.
  • set_duration() reschedules the next periodic run based on _latest_run_at.
  • Example shape: chemostat-style dosing, where each cycle exchanges a fixed volume.
Event-triggered automations

Use passive MQTT listeners plus self.trigger_run_once_from_event() when the automation should react to fresh data.

  • Let the base listener update cached values first, then trigger.
  • Ignore retained MQTT messages for control decisions.
  • Gate startup with a simple readiness flag if callbacks can arrive before constructor-specific fields are initialized.
  • trigger_run_once_from_event() is non-overlapping. If an event arrives while execute() is running, it records one pending follow-up run.
  • Example shape: turbidostat dosing reacts to selected biomass signal updates.
Boundary-scheduled automations

Use a one-shot timer when the next useful run is a calculable boundary, not a fixed polling interval.

  • Keep execute() as the current-state application.
  • After applying state, schedule the next boundary.
  • On setting changes, apply current state and reschedule.
  • On sleeping/disconnected, cancel the active boundary timer.
  • If assigning _automation_strategy_start_callback, the callback must be Callable[[], None]. Wrap methods that return AutomationEvent | None in a no-return callback.
  • Example shape: light/dark LED cycle schedules the next light/dark phase transition.
Show full SKILL.md (203 more words)Show less

Shared execution rules

  • Prefer run_once() over calling execute() directly. It handles READY gating, non-overlap, event logging, latest_event, and common exception handling.
  • execute() should return an AutomationEvent or None.
  • Use wait_for_ready=False only when the caller already knows the job is ready or is running from a controlled state transition.
  • Avoid defensive compatibility shims for old automation APIs unless there is a current caller in this repo.
  • Keep automation callbacks and timers explicitly cancellable in on_sleeping() / on_disconnected().
Subclassing existing automations
  • Try to run super().__init__(...) immediately in the new __init__.
  • Initialize any fields used by MQTT callbacks before they can be observed, or use a small readiness flag.
  • Constructor args should accept float | str / int | str for UI and CLI inputs, then coerce once in __init__ or setters.
  • Published setting setters should apply live state changes when possible. Example: changing LED intensity while lights are active should update LEDs immediately.

Dosing shutdown safety

  • DosingAutomationJob.on_disconnected() must stop active pump jobs before waiting for automation timers to finish.
  • _continue_pumping_event is cooperative: it prevents the next subdose, but does not interrupt a currently running pump action by itself.
  • Shutdown order should be: set the cooperative stop event, publish stop messages to active pump jobs, then call shared timer cleanup.

© Pioreactor, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/pioreactor-automations of Pioreactor/pioreactor.

Open the folder on GitHubat commit 0ae14c0

Compare with similar skills

Pioreactor Automations next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pioreactor Automations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pioreactor Automations this skillPioreactor/pioreactor149—~1.3kAutomated safety check: PassMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
Sub2API AdminWei-Shaw/sub2api43k1 repos~717Automated safety check: PassLGPL-3.0
Firecrawl Build Onboardingfirecrawl/firecrawl190k1 repos~1.4kAutomated safety check: NotesISC
Obsidian BasesAtmosphere/atmosphere3.8k22 repos~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Sub2API Admin

    Wei-Shaw/sub2api

    Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.

    43k GitHub starsUsed in 1 repo~717 tokens
    Backend & APIsAuto-check passed
  • Firecrawl Build Onboarding

    firecrawl/firecrawl

    Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.

    190k GitHub starsUsed in 1 repo~1.4k tokens
    Backend & APIsAuto-check: notes
  • Obsidian Bases

    Atmosphere/atmosphere

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.

    3.8k GitHub starsUsed in 22 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed

More from Pioreactor/pioreactor

  • Pioreactor Calibration Dev

    Pioreactor/pioreactor

    Create, update, debug, or review Pioreactor calibration routines and session flows in core/pioreactor/calibrations, including calibration data types, CLI and UI behavior, step registries, protocol…

    149 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Pioreactor CLI

    Pioreactor/pioreactor

    A skill your agent uses when running, debugging, documenting, or changing Pioreactor command-line workflows with pio or pios, including local job control, logs, MQTT, config, plugins, calibrations…

    149 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Pioreactor Plugin Jobs

    Pioreactor/pioreactor

    Create, update, debug, or review Pioreactor plugin background jobs, including file-based plugin modules, BackgroundJobContrib or LongRunningBackgroundJobContrib classes, pio run command…

    149 GitHub stars~799 tokensUpdated yesterday
    Auto-check passed
  • Pioreactor Experiment Profiles

    Pioreactor/pioreactor

    Write, edit, review, or debug Pioreactor experiment profile YAML, including profile structure, inputs, common jobs, per-Pioreactor jobs, action timing, expressions, MQTT lookups, and repeat or…

    149 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Pioreactor Automations

What does Pioreactor Automations do?

Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published…. Pioreactor Automations is an agent skill from Pioreactor/pioreactor. Create, update, debug, or review Pioreactor dosing, temperature, and LED automations, including automation families, config sections, UI descriptors, runtime execution strategies, published settings, lifecycle cleanup, and dosing shutdown safety.

When should I use Pioreactor Automations?

Pioreactor Automations fits situations like: backend & APIs work in your project.

How do I install Pioreactor Automations in Claude Code?

Run `npx skills add Pioreactor/pioreactor --skill pioreactor-automations -a claude-code`. Or copy the skill folder (.agents/skills/pioreactor-automations in Pioreactor/pioreactor) into .claude/skills/pioreactor-automations in your project. Claude Code loads it when a task matches its description.

How do I install Pioreactor Automations in Codex?

Run `npx skills add Pioreactor/pioreactor --skill pioreactor-automations -a codex`. Or copy the skill folder (.agents/skills/pioreactor-automations in Pioreactor/pioreactor) into .agents/skills/pioreactor-automations in your project. Codex loads it when a task matches its description.

Can I use Pioreactor Automations in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Pioreactor/pioreactor --skill pioreactor-automations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pioreactor-automations, .gemini/skills/pioreactor-automations, .github/skills/pioreactor-automations and .opencode/skills/pioreactor-automations in your project.

What does Pioreactor Automations need to run?

SKILL.md names no scripts, command-line tools or credentials: Pioreactor Automations is instructions for the agent only. Our summary lists: Python 3.

Does Pioreactor Automations access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pioreactor Automations safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pioreactor Automations use?

Pioreactor Automations is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pioreactor Automations use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pioreactor Automations?

Skills that share tags, products or a category with Pioreactor Automations: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 43k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 190k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pioreactor Automations?

Pioreactor (a GitHub organization) maintains it in Pioreactor/pioreactor, which has 149 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: Pioreactor/pioreactor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.