dfrobot_stcc4_i2c
Skill34 starsChanged 6 months 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:
In this repository42 other files it gives its agents.
- air_mouseSkill
- balance_ballSkill
- bilibili_up_fansSkill
- camera_previewSkill
- china_a_share_quoteSkill
- clock_dial_demoSkill
- cloudmusicSkill
- codex_usage_dashboardSkill
- current_ip_infoSkill
- current_weatherSkill
- dfrobot_matrix_lidar_8x8_i2cSkill
- dinoSkill
- example_skillSkill
- flappybirdSkill
- flashbackSkill
- game_2048Skill
- game_of_lifeSkill
- gimbal_color_detectSkill
- gimbal_motion_detectSkill
- github_repo_starSkill
- jump_prince_gameSkill
- lcd_touch_paintSkill
- mazeSkill
- mosaico-musicalSkill
- movement_detectionSkill
- network_radioSkill
- number_puzzleSkill
- reaction_gameSkill
- servo_dogSkill
- snake_gameSkill
- snakeSkill
- stock_quotes_displaySkill
- tetris_clockSkill
- token_usageSkill
- unihiker_buttonSkill
- unihiker_expansion_batterySkill
- unihiker_expansion_irSkill
- unihiker_expansion_motor_controlSkill
- unihiker_expansion_servo_controlSkill
- unihiker_expansion_WS2812Skill
- weather_clockSkill
- whack_mole_gameSkill
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
- Distinctive: line 18
Use this skill when the user asks to detect or read Sensirion STCC4 CO2 concentration (ppm).
- Distinctive: line 29
Check STCC4 CO2 concentration
- Distinctive: line 30
Read STCC4 CO2 ppm
- Distinctive: line 32
Read STCC4 CO2, temperature, and humidity
- Very specific: line 34
Run exactly one bundled Lua script with lua_run_script.
- Very specific: line 64
Use explicit address 0x64 and CRC verification:
- Distinctive: line 70
Start continuous measurement only:
- Distinctive: line 76
Stop continuous measurement only:
- Very specific: line 85
If user does not provide address, use STCC4 default address 0x64.
- Very specific: line 86
Run {CUR_SKILL_DIR}/scripts/read_sensor_data.lua with action = "read" to get one sample.
- Very specific: line 87
Use start and stop actions only when user explicitly asks to control measurement state.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
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
- Confirm sensor wiring and I2C address.
- If user does not provide address, use STCC4 default address
0x64. - Run
{CUR_SKILL_DIR}/scripts/read_sensor_data.luawithaction = "read"to get one sample. - Use
startandstopactions only when user explicitly asks to control measurement state. - Report script output directly.
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
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.

