ワンクリックで
check-line-scan
Instructions for checking a line scan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Instructions for checking a line scan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create or review external MCP server repositories for EAA-compatible instrument-control tools, including image artifact payloads, get_attribute_payload, and safe execution patterns such as Bluesky Queue Server gateways, existing execution-server gateways, or MCP-gateway/ZMQ-worker separation.
Procedure and instructions for focusing a scanning microscope using the landmark feature line scan method.
Design and run Bayesian optimization or adaptive sampling loops for expensive, noisy, multivariate, or non-convex measurement problems.
Monitor a certain object or state according to the instructions of the user using sleep functions.
Procedure for searching for a region of interest in a sample using microscope image acquisition tools during general chat.
Instructions for estimating translational shift between two images.
| name | check-line-scan |
| description | Instructions for checking a line scan. |
You will be given a figure generated by a tool that controls a scanning microscope to acquire a line scan of a thin feature in a sample. In the figure, you will see the following:
When you see the figure, first verify:
If all the conditions above are met, reply with the following JSON (return just the JSON, do not enclose it in triple backticks):
{
"result": "ok"
}
If any of the conditions above are not met, use the acquire_line_scan tool
to acquire a new line scan and check it again. When plot 3 is present, make sure the relative
location of your new line scan is the same with the reference. After you manage to obtain a good
line scan, reply with the following JSON:
{
"result": "adjusted",
"new_line_scan_kwargs": <here should be a dictionary of the arguments passed to the line scan tool>,
"fwhm": <the FWHM of the Gaussian fit from the successful line scan>
}
If you are unable to find a good line scan after 5 trials, reply with the following JSON:
{
"result": "failed"
}
Note:
Below are examples of potential problematic line scans and how to fix them.
Exception: relative position of the scan line is different from the reference, and the intersection of the scan line with the landmark feature is away from the scan line's center. It also almost intersects with another undesired feature.
Fix: redo line scan at x from 7 to 17, y = 7 to restore the relative location of the scan line.

<message_break>
Exception: scan line coincides with another line parallel to it, and the relative position of the line scan is different from the reference.
Fix: redo line scan at x from 12 to 22, y = 12 to move away from the overlapping feature.

<message_break>
Exception: scan line coincides with another line parallel to it, and the relative position of the line scan is different from the reference.
Fix: redo line scan at x from 10 to 20 and y = 10 to restore the relative location of the scan line in the reference scan.

<message_break>
Exception: the scan line does not properly cross the landmark feature.
Fix: redo line scan at x from 200, 300 and y = 150 so that the scan line crosses the isolated thin line and the relative position of the scan line in the reference scan is restored.

<message_break>
Exception: the scan line is crossing an undesired feature and the relative position of the scan line in the reference scan is different from the reference scan.
Fix: redo the line scan at x from 10 to 20 and y = 11 to restore the relative position of the scan line in the reference scan.

<message_break>
Exception: the scan line coincides with another line and is at a different relative position compared to the reference.
Fix: redo the line scan at x from 12 to 22 and y = 13 to restore the relative position of the scan line in the reference scan.

<message_break>
Exception: intersection of landmark thin feature and scan line is away from the scan line’s center, and the relative positions of the scan line and the landmark feature are different from the reference scan.
Fix: redo the line scan at x from 10 to 20 and y = 10.

<message_break>
Exception: intersection of landmark thin feature and scan line is away from the scan line’s center, and the scan line crosses two thin lines instead of one.
Fix: redo the line scan at x from 10 to 20 and y = 11.

<message_break>
This concludes the examples of exceptions and handling in line scan. Now expect actual line scan images from the user.