agentleFS
wedsamuel1230wedsamuel1230/embedded-engineering-skills/skills/sensor-calibration-workbench/SKILL.md

sensor-calibration-workbench

Skill28 starsChanged 29 days agoMITView on GitHub

Use when makers need calibration workflows for sensors such as CO2 sensors, load cells, magnetometers, color sensors, or analog sensors, including warm-up behavior, reference measurements, coefficient storage, and drift checks.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the sensor technically works, but the readings are not yet trustworthy enough for the project.

    line 9
  2. Distinctive:

    Use this skill when the request involves:

    line 20
  3. Distinctive:

    Do not use this skill when the sensor is not detected at all.

    line 29
  4. Distinctive:

    Do not mix hardware-fault symptoms with coefficient-tuning symptoms.

    line 55
  5. Distinctive:

    If the project has operating thresholds, verify those thresholds against the calibrated output rather than the raw sensor value.

    line 64
  6. Distinctive:

    Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, …

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sensor Calibration Workbench

Use this skill when the sensor technically works, but the readings are not yet trustworthy enough for the project.

Resources

  • references/calibration-flow.md - end-to-end calibration workflow and evidence checklist
  • references/common-failure-patterns.md - warm-up, scaling, drift, saturation, and environment mistakes
  • references/persistence-and-revalidation.md - storing coefficients and deciding when recalibration is needed

When to Use

Use this skill when the request involves:

  • volatile or implausible sensor readings
  • "how do I calibrate this sensor?"
  • load-cell factor tuning
  • CO2, magnetometer, or color-sensor calibration
  • storing calibration coefficients in EEPROM or flash
  • deciding whether the problem is calibration, hardware, or environment

Do not use this skill when the sensor is not detected at all. That should route through hardware or bus bring-up first.

Workflow

  1. Confirm the measurement problem:
    • unstable -> open references/common-failure-patterns.md
    • offset or scaling error -> open references/calibration-flow.md
    • values good once but bad later -> open references/persistence-and-revalidation.md
  2. Identify the calibration class:
    • one-point or zero-offset
    • two-point scale calibration
    • multi-orientation or environmental calibration
  3. Collect reference evidence before changing coefficients:
    • known reference values
    • warm-up state
    • ambient conditions
    • sample stability
  4. Decide how calibration values will persist and how revalidation will be triggered after reboot, firmware update, or field drift.

Core Rules

  • Calibration without a known reference is guesswork.
  • Warm-up and stabilization time are part of calibration, not a side note.
  • Do not mix hardware-fault symptoms with coefficient-tuning symptoms.
  • Store both the calibration values and enough metadata to know when they became stale.

Verification

  • Confirm readings converge toward a known reference after calibration.
  • Confirm the calibrated values stay stable across repeated samples.
  • Confirm stored coefficients reload correctly after restart.
  • If the project has operating thresholds, verify those thresholds against the calibrated output rather than the raw sensor value.

Integration

  • Pair with i2c-bringup-diagnostician or circuit-debugger when the sensor is not yet electrically trustworthy.
  • Pair with arduino-code-generator when the user needs persistence or filtering code added to the sketch.
  • Pair with field-power-and-connectivity-triager when sensor behavior changes only off USB or under field power conditions.

Shared Output Contract

Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.