[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W9VM07CK807S3WYSCSZ4C":3,"skill-same:01M72W9VM07CK807S3WYSCSZ4C":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M72W9VM07CK807S3WYSCSZ4C","htsmlm",null,"Operate htSMLM and EMU configurations through their semantic hardware mappings.","Micro-Claw\u002Fmicroclaw","Micro-Claw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F320137264?v=4","01M72W9AP162N8788QFVMKTN9H","MicroClaw","01M72W9APY8G657Y1VN8K9S04G",10,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Fmicroclaw\u002Fskills\u002Fhtsmlm\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: htsmlm\ndescription: Operate htSMLM and EMU configurations through their semantic hardware mappings.\n---\n\n# htSMLM \u002F EMU reference\n\nReturned by `load_skill(name=\"htsmlm\")`.\n\n## What EMU and htSMLM are\n\nEMU (Easier Micro-Manager User interfaces) is a Micro-Manager 2 plugin that\nprovides configurable graphical user interfaces. The configuration wizard maps\nnamed \"UI properties\" (abstract controls in the GUI) to real Micro-Manager\ndevice properties on the running hardware. This mapping is saved as a JSON file\nat \u003CMM_app_dir>\u002FEMU\u002Fconfig.uicfg.\n\nhtSMLM is an EMU plugin designed specifically for SMLM microscopes. It provides:\n- Per-laser on\u002Foff and power controls (up to 4 lasers)\n- Filter wheel position controls\n- Focus panel with Z-stage positioning and focus-lock toggle\n- Quadrant photodiode (QPD) signal monitor\n- Laser trigger mode \u002F pulse duration \u002F sequence control (MicroFPGA)\n- Additional two-state device toggles (e.g., TIRF\u002FHILO\u002F3D\u002FBFP modes)\n- Optional iBeamSmart laser panels\n- An Acquisition Wizard for unsupervised multi-position experiments\n\nhtSMLM\u002FEMU is NOT always present. Only ask about or use it if the user\nmentions htSMLM, EMU, or a SMLM control GUI running inside Micro-Manager.\n\n---\n\n## How to control htSMLM hardware via microclaw\n\nBecause EMU has no scripting API, control goes through the underlying\nMicro-Manager device properties that EMU is configured to use.\n\nWorkflow:\n  1. Call get_emu_configuration() to read the UIProperty→MM device\u002Fproperty\n     mapping from the EMU config file.\n  2. Look up the UIProperty of interest in the returned \"properties\" dict.\n     Each entry has:\n       \"device\"   — the MM device label (use with set_device_property)\n       \"property\" — the MM property name (use with set_device_property)\n       \"on\"       — value for ON state (TwoState properties only)\n       \"off\"      — value for OFF state (TwoState properties only)\n       \"slope\"    — linear scale factor (Rescaled properties only)\n       \"offset\"   — linear offset (Rescaled properties only)\n  3. Call set_device_property(device, property, value) with the device and\n     property from step 2.\n\nConfigured human-facing identities ride on the semantic map records as `name`.\nCall resolve_emu_device with either an exact UIProperty key or a configured\nname such as \"640\" or \"BFP\". A laser name returns the whole slot record so its\nenable, power, and trigger lines remain paired.\n\nUse `get_emu_laser_map` and `resolve_emu_device` instead of trial-and-error property\nprobing. The semantic map already states which property is writable, the\nfilter-wheel state table, and the focus-lock property.\n\nNever calculate an EMU percentage conversion in prose. Call\n`verify_emu_laser_power_calibration`, then use\n`set_emu_laser_power_percentage` and `get_emu_laser_power_percentage`. If the\nrequested, effective, measured, or GUI state disagree, or the requested value\nis not representable, keep illumination disabled and report the disagreement.\n\nExample — enable Laser 0:\n  config = get_emu_configuration()\n  entry  = config[\"properties\"][\"Laser 0 enable\"]\n  set_device_property(entry[\"device\"], entry[\"property\"], entry[\"on\"])\n\nExample — set Laser 0 to 50% power:\n  verify_emu_laser_power_calibration(laser_slot=0, ...)\n  set_emu_laser_power_percentage(laser_slot=0, percent=50)\n  get_emu_laser_power_percentage(laser_slot=0)\n\n---\n\n## UIProperty name inventory\n\nThese are the exact UIProperty names used in htSMLM. They appear as keys in\nthe \"properties\" dict returned by get_emu_configuration().\n\n### Lasers  (one panel per laser, labeled \"Laser 0\" through \"Laser 3\")\n  \"Laser 0 enable\"              TwoState  — laser on\u002Foff\n  \"Laser 0 power percentage\"    Rescaled  — 0–100 power % (MM value scaled by slope\u002Foffset)\n  (same pattern for Laser 1, 2, 3)\n\n### Filters  (panel label \"Filters\")\n  \"Filter wheel position\"    MultiState — filter wheel slot (0-based index)\n  \"Filter wheel 2 position\"  MultiState — second filter wheel (DualFW mode only)\n\n### Focus  (panel label \"Focus\")\n  \"Z stage position\"       SingleState — numeric Z position in µm\n  \"Z stage focus locking\"  TwoState    — engage\u002Fdisengage hardware focus lock\n\n### Additional two-state controls  (panel label \"Controls\")\n  \"Two-state device 1\" through \"Two-state device 6\"\n  These are mapped by the user to any two-state MM device property. Common uses:\n    - TIRF vs. HILO vs. epi illumination mode\n    - 3D astigmatic lens in\u002Fout\n    - BFP (back focal plane \u002F Bertrand lens) in\u002Fout\n    - Focus lock laser on\u002Foff\n  Their configured names are returned in each record's `name` field.\n\n### Laser triggers  (panel label \"Laser trigger 0\" through \"Laser trigger 3\")\n  \"Laser trigger 0 mode\"           MultiState — Off | On | Rising | Falling | Camera\n  \"Laser trigger 0 pulse duration\" Rescaled   — pulse length in µs (max 65535)\n  \"Laser trigger 0 sequence\"       MultiState — 16-bit binary pattern string\n  (same pattern for triggers 1, 2, 3)\n\n### iBeamSmart panels  (panel label is user-configurable, e.g. \"405\" or \"iBeamSmart #1\")\n  \"\u003Cname> laser power\"   Rescaled  — laser power\n  \"\u003Cname> operation\"     TwoState  — on\u002Foff\n  \"\u003Cname> enable fine\"   TwoState  — fine power mode on\u002Foff (optional)\n  \"\u003Cname> fine a (%)\"    Rescaled  — fine A power (optional)\n  \"\u003Cname> fine b (%)\"    Rescaled  — fine B power (optional)\n\n### QPD  (panel label \"QPD\")\n  \"QPD X\", \"QPD Y\", \"QPD Z\"  — read-only signal monitors; do not set these.\n\n### Powermeter  (panel label \"Powermeter\")\n  \"Laser powermeter\"  — read-only power readout; do not set this.\n\n---\n\n## Plugin-level settings (from plugin_settings in get_emu_configuration)\n\nThese control which panels are visible. Useful for knowing what's available:\n  \"Powermeter tab\"        bool — powermeter tab enabled\n  \"Trigger tab\"           bool — laser trigger tab enabled (MicroFPGA)\n  \"Additional FW tab\"     bool — additional filter wheel tab enabled\n  \"Single FW panel\"       bool — true = single FW, false = dual FW\n  \"QPD tab\"               bool — QPD tab enabled\n  \"iBeamSmart #1\"         bool — first iBeamSmart panel enabled\n  \"iBeamSmart #1 name\"    str  — display name of first iBeamSmart panel\n  \"iBeamSmart #2\"         bool — second iBeamSmart panel enabled\n  \"iBeamSmart #2 name\"    str  — display name of second iBeamSmart panel\n  \"Additional FW tab title\" str — title of the additional filters tab\n\n---\n\n## Acquisition compatibility (examined 2026-09-08)\n\nAt htSMLM commit `30b6bfd` (`30b6bfd923a13076c08011ee001cc3a0e83c5434`),\nLocalizationAcquisition starts ActivationTask and MMStudio MDA. ActivationTask\nanalyses queued image pairs concurrently and publishes to an EMU property;\nthere is no before-every-frame verification barrier. Its stop path polls at\none-second intervals and waits a delay in seconds after its criterion. This\nimplements neither a three-frame blink window nor exactly 1,000 frames after\nthe terminal value. Do not delegate those requirements to this implementation.\nA later version can supersede these facts only after inspecting its analysis\nwindow and stop implementation; record the installed version and evidence.\n\nFor matching algorithms, check reachable instance, supported start\u002Fstatus\u002Fstop\nAPI, enforceable property\u002Fdose bounds, restoration, storage and standalone export\nbefore delegation. The shipped plugin\nhooks expose scalar analysis and autofocus, not a general activation controller;\nlist_mm_plugins does not establish that the Acquisition Wizard is controllable.\nUse the acquisition tools for contracts those integrations cannot express.\n\n---\n\n## Key questions to ask if the user has htSMLM\n\n1. What is the µManager installation directory?\n   (Needed to read the EMU config; try get_emu_configuration() first —\n   it will prompt for the directory if auto-detection fails.)\n\n2. Are the iBeamSmart panels enabled and what are their names?\n   (Determines the UIProperty name prefix for those lasers.)\n\n3. Is the Trigger tab (MicroFPGA) present?\n   (Required to set laser trigger modes and pulse durations.)\n","# htSMLM \u002F EMU reference\n\nReturned by `load_skill(name=\"htsmlm\")`.\n\n## What EMU and htSMLM are\n\nEMU (Easier Micro-Manager User interfaces) is a Micro-Manager 2 plugin that\nprovides configurable graphical user interfaces. The configuration wizard maps\nnamed \"UI properties\" (abstract controls in the GUI) to real Micro-Manager\ndevice properties on the running hardware. This mapping is saved as a JSON file\nat \u003CMM_app_dir>\u002FEMU\u002Fconfig.uicfg.\n\nhtSMLM is an EMU plugin designed specifically for SMLM microscopes. It provides:\n- Per-laser on\u002Foff and power controls (up to 4 lasers)\n- Filter wheel position controls\n- Focus panel with Z-stage positioning and focus-lock toggle\n- Quadrant photodiode (QPD) signal monitor\n- Laser trigger mode \u002F pulse duration \u002F sequence control (MicroFPGA)\n- Additional two-state device toggles (e.g., TIRF\u002FHILO\u002F3D\u002FBFP modes)\n- Optional iBeamSmart laser panels\n- An Acquisition Wizard for unsupervised multi-position experiments\n\nhtSMLM\u002FEMU is NOT always present. Only ask about or use it if the user\nmentions htSMLM, EMU, or a SMLM control GUI running inside Micro-Manager.\n\n---\n\n## How to control htSMLM hardware via microclaw\n\nBecause EMU has no scripting API, control goes through the underlying\nMicro-Manager device properties that EMU is configured to use.\n\nWorkflow:\n  1. Call get_emu_configuration() to read the UIProperty→MM device\u002Fproperty\n     mapping from the EMU config file.\n  2. Look up the UIProperty of interest in the returned \"properties\" dict.\n     Each entry has:\n       \"device\"   — the MM device label (use with set_device_property)\n       \"property\" — the MM property name (use with set_device_property)\n       \"on\"       — value for ON state (TwoState properties only)\n       \"off\"      — value for OFF state (TwoState properties only)\n       \"slope\"    — linear scale factor (Rescaled properties only)\n       \"offset\"   — linear offset (Rescaled properties only)\n  3. Call set_device_property(device, property, value) with the device and\n     property from step 2.\n\nConfigured human-facing identities ride on the semantic map records as `name`.\nCall resolve_emu_device with either an exact UIProperty key or a configured\nname such as \"640\" or \"BFP\". A laser name returns the whole slot record so its\nenable, power, and trigger lines remain paired.\n\nUse `get_emu_laser_map` and `resolve_emu_device` instead of trial-and-error property\nprobing. The semantic map already states which property is writable, the\nfilter-wheel state table, and the focus-lock property.\n\nNever calculate an EMU percentage conversion in prose. Call\n`verify_emu_laser_power_calibration`, then use\n`set_emu_laser_power_percentage` and `get_emu_laser_power_percentage`. If the\nrequested, effective, measured, or GUI state disagree, or the requested value\nis not representable, keep illumination disabled and report the disagreement.\n\nExample — enable Laser 0:\n  config = get_emu_configuration()\n  entry  = config[\"properties\"][\"Laser 0 enable\"]\n  set_device_property(entry[\"device\"], entry[\"property\"], entry[\"on\"])\n\nExample — set Laser 0 to 50% power:\n  verify_emu_laser_power_calibration(laser_slot=0, ...)\n  set_emu_laser_power_percentage(laser_slot=0, percent=50)\n  get_emu_laser_power_percentage(laser_slot=0)\n\n---\n\n## UIProperty name inventory\n\nThese are the exact UIProperty names used in htSMLM. They appear as keys in\nthe \"properties\" dict returned by get_emu_configuration().\n\n### Lasers  (one panel per laser, labeled \"Laser 0\" through \"Laser 3\")\n  \"Laser 0 enable\"              TwoState  — laser on\u002Foff\n  \"Laser 0 power percentage\"    Rescaled  — 0–100 power % (MM value scaled by slope\u002Foffset)\n  (same pattern for Laser 1, 2, 3)\n\n### Filters  (panel label \"Filters\")\n  \"Filter wheel position\"    MultiState — filter wheel slot (0-based index)\n  \"Filter wheel 2 position\"  MultiState — second filter wheel (DualFW mode only)\n\n### Focus  (panel label \"Focus\")\n  \"Z stage position\"       SingleState — numeric Z position in µm\n  \"Z stage focus locking\"  TwoState    — engage\u002Fdisengage hardware focus lock\n\n### Additional two-state controls  (panel label \"Controls\")\n  \"Two-state device 1\" through \"Two-state device 6\"\n  These are mapped by the user to any two-state MM device property. Common uses:\n    - TIRF vs. HILO vs. epi illumination mode\n    - 3D astigmatic lens in\u002Fout\n    - BFP (back focal plane \u002F Bertrand lens) in\u002Fout\n    - Focus lock laser on\u002Foff\n  Their configured names are returned in each record's `name` field.\n\n### Laser triggers  (panel label \"Laser trigger 0\" through \"Laser trigger 3\")\n  \"Laser trigger 0 mode\"           MultiState — Off | On | Rising | Falling | Camera\n  \"Laser trigger 0 pulse duration\" Rescaled   — pulse length in µs (max 65535)\n  \"Laser trigger 0 sequence\"       MultiState — 16-bit binary pattern string\n  (same pattern for triggers 1, 2, 3)\n\n### iBeamSmart panels  (panel label is user-configurable, e.g. \"405\" or \"iBeamSmart #1\")\n  \"\u003Cname> laser power\"   Rescaled  — laser power\n  \"\u003Cname> operation\"     TwoState  — on\u002Foff\n  \"\u003Cname> enable fine\"   TwoState  — fine power mode on\u002Foff (optional)\n  \"\u003Cname> fine a (%)\"    Rescaled  — fine A power (optional)\n  \"\u003Cname> fine b (%)\"    Rescaled  — fine B power (optional)\n\n### QPD  (panel label \"QPD\")\n  \"QPD X\", \"QPD Y\", \"QPD Z\"  — read-only signal monitors; do not set these.\n\n### Powermeter  (panel label \"Powermeter\")\n  \"Laser powermeter\"  — read-only power readout; do not set this.\n\n---\n\n## Plugin-level settings (from plugin_settings in get_emu_configuration)\n\nThese control which panels are visible. Useful for knowing what's available:\n  \"Powermeter tab\"        bool — powermeter tab enabled\n  \"Trigger tab\"           bool — laser trigger tab enabled (MicroFPGA)\n  \"Additional FW tab\"     bool — additional filter wheel tab enabled\n  \"Single FW panel\"       bool — true = single FW, false = dual FW\n  \"QPD tab\"               bool — QPD tab enabled\n  \"iBeamSmart #1\"         bool — first iBeamSmart panel enabled\n  \"iBeamSmart #1 name\"    str  — display name of first iBeamSmart panel\n  \"iBeamSmart #2\"         bool — second iBeamSmart panel enabled\n  \"iBeamSmart #2 name\"    str  — display name of second iBeamSmart panel\n  \"Additional FW tab title\" str — title of the additional filters tab\n\n---\n\n## Acquisition compatibility (examined 2026-09-08)\n\nAt htSMLM commit `30b6bfd` (`30b6bfd923a13076c08011ee001cc3a0e83c5434`),\nLocalizationAcquisition starts ActivationTask and MMStudio MDA. ActivationTask\nanalyses queued image pairs concurrently and publishes to an EMU property;\nthere is no before-every-frame verification barrier. Its stop path polls at\none-second intervals and waits a delay in seconds after its criterion. This\nimplements neither a three-frame blink window nor exactly 1,000 frames after\nthe terminal value. Do not delegate those requirements to this implementation.\nA later version can supersede these facts only after inspecting its analysis\nwindow and stop implementation; record the installed version and evidence.\n\nFor matching algorithms, check reachable instance, supported start\u002Fstatus\u002Fstop\nAPI, enforceable property\u002Fdose bounds, restoration, storage and standalone export\nbefore delegation. The shipped plugin\nhooks expose scalar analysis and autofocus, not a general activation controller;\nlist_mm_plugins does not establish that the Acquisition Wizard is controllable.\nUse the acquisition tools for contracts those integrations cannot express.\n\n---\n\n## Key questions to ask if the user has htSMLM\n\n1. What is the µManager installation directory?\n   (Needed to read the EMU config; try get_emu_configuration() first —\n   it will prompt for the directory if auto-detection fails.)\n\n2. Are the iBeamSmart panels enabled and what are their names?\n   (Determines the UIProperty name prefix for those lasers.)\n\n3. Is the Trigger tab (MicroFPGA) present?\n   (Required to set laser trigger modes and pulse durations.)\n",{"name":5,"description":7},"main","bb3e123c0e5ce6b52cb0e1a27d5e52bce5f3b045","microclaw\u002Fskills\u002Fhtsmlm",1,"https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw","https:\u002F\u002Fgithub.com\u002FMicro-Claw","2026-10-20 00:35:52",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Micro-Claw\u002Fmicroclaw --skill htsmlm",{"tool":37,"command":38},"bunx","bunx skills add Micro-Claw\u002Fmicroclaw --skill htsmlm",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Micro-Claw\u002Fmicroclaw --skill htsmlm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Fmicroclaw\u002Fskills\u002Fhtsmlm\u002FSKILL.md",true,[],[46,53,59,65,71,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M72WAR49VE6T3ENRRZ523X76","extension-example","Exercise extension-dependent skill loading.","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fextension-example\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M72WAPVCEKCRHRP3TNBCFNGF","weather","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill_packages\u002Fweather\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M72WANVZ372X54DH6P9AVXR4","metrics","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill_packages\u002Fmetrics\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M72WAM0BVCPRGQJ3QYZZYX7X","markdown","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill_packages\u002Fmarkdown\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M72WAJZAX9VVQA61FVPN5XVC","executable","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill_packages\u002Fexecutable\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M72WAH1XNYBSZFESQH6BTCJ2","conformance","https:\u002F\u002Fgithub.com\u002FMicro-Claw\u002Fmicroclaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill_packages\u002Fconformance\u002FSKILL.md",[],[]]