agentleFS
espressifespressif/esp-claw-skills-lab/skills/dfrobot_stcc4_i2c/SKILL.md

dfrobot_stcc4_i2c

Skill37 starsChanged 33 days agoMITView on GitHub

Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm). This sensor readout also includes temperature and humidity. Typical Chinese requests: Typical English requests: Run exactly one bundled Lua script with lua_run_script. Use explicit address 0x64 and CRC verification: Start continuous measurement only: Stop continuous measurement only:

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 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.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm).

    line 17
  2. Distinctive:

    Check STCC4 CO2 concentration

    line 28
  3. Distinctive:

    Read STCC4 CO2 ppm

    line 29
  4. Distinctive:

    Read STCC4 CO2, temperature, and humidity

    line 31
  5. Very specific:

    Run exactly one bundled Lua script with lua_run_script.

    line 33
  6. Very specific:

    Use explicit address 0x64 and CRC verification:

    line 63
  7. Distinctive:

    Start continuous measurement only:

    line 69
  8. Distinctive:

    Stop continuous measurement only:

    line 75
  9. Very specific:

    If user does not provide address, use STCC4 default address 0x64.

    line 84
  10. Very specific:

    Run {CUR_SKILL_DIR}/scripts/read_sensor_data.lua with action = "read" to get one sample.

    line 85
  11. Very specific:

    Use start and stop actions only when user explicitly asks to control measurement state.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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

dfrobot_stcc4_i2c

Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm). This sensor readout also includes temperature and humidity.

Typical Chinese requests:

  • 帮我检测一下 STCC4 的 CO2 浓度
  • 读取 STCC4 的二氧化碳浓度
  • 看一下 STCC4 的空气质量
  • 读取 STCC4 的温湿度和 CO2

Typical English requests:

  • Check STCC4 CO2 concentration
  • Read STCC4 CO2 ppm
  • Measure air quality with STCC4
  • Read STCC4 CO2, temperature, and humidity

Run exactly one bundled Lua script with lua_run_script.

Script Args Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": ["read", "start", "stop"]
    },
    "i2c_port": { "type": "integer", "minimum": 0, "maximum": 1 },
    "sda": { "type": "integer", "minimum": 0, "maximum": 63 },
    "scl": { "type": "integer", "minimum": 0, "maximum": 63 },
    "i2c_freq_hz": { "type": "integer", "minimum": 10000, "maximum": 1000000 },
    "addr": { "type": "integer", "minimum": 8, "maximum": 119 },
    "start_if_needed": { "type": "boolean" },
    "wait_after_start_ms": { "type": "integer", "minimum": 0, "maximum": 5000 },
    "verify_crc": { "type": "boolean" }
  }
}

Tool Call Inputs

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"read"}}

Use explicit address 0x64 and CRC verification:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"read","addr":100,"verify_crc":true}}

Start continuous measurement only:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"start"}}

Stop continuous measurement only:

{"path":"{CUR_SKILL_DIR}/scripts/read_sensor_data.lua","args":{"action":"stop"}}

Recommended Flow

  1. Confirm sensor wiring and I2C address.
  2. If user does not provide address, use STCC4 default address 0x64.
  3. Run {CUR_SKILL_DIR}/scripts/read_sensor_data.lua with action = "read" to get one sample.
  4. Use start and stop actions only when user explicitly asks to control measurement state.
  5. Report script output directly.

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.