skills / scalebar-calibrate
SKILL.md ·

scalebar-calibrate

SEMSKILL.mdcommunity

Calibrates magnification and pixel size against certified cross-grating standards, producing a drift-corrected calibration record suitable for audit trails.

tool call
calibrate_scale
license
MIT
runtime
node 20
stars
★ 0
// emskills.config.json
"skills": ["scalebar-calibrate"]
$ npx emskills add scalebar-calibrate
Open on GitHub ↗

Test runs are served by the registry's own sandbox, executed by a model grounded in this SKILL.md — a dry run of the procedure, not the vendor's production code.

Documentation

This skill exposes the call calibrate_scale, running on node 20. Install it in your agent with the config below, or exercise it from here — the test panel above sends a real request to the endpoint and prints every step.

1 — install in an agent host (Claude, Cursor, ChatGPT)
{
  "mcpServers": {
    "scalebar-calibrate": {
      "type": "http",
      "url": "https://emskills.org/api/public/mcp/scalebar-calibrate"
    }
  }
}
2 — run it locally through the emskills CLI
{
  "mcpServers": {
    "scalebar-calibrate": {
      "command": "npx",
      "args": [
        "-y",
        "emskills",
        "run",
        "scalebar-calibrate"
      ]
    }
  }
}
3 — call calibrate_scale directly with curl
curl -s https://emskills.org/api/public/mcp/scalebar-calibrate \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"calibrate_scale","arguments":{"input":"./dataset.mrc"}}}'
4 — example arguments for the test panel
{
  "input": "./dataset.mrc",
  "pixel_size_nm": 0.86
}

Related SEM skills