AGENT SKILL

microscopy-analysis

Detect bright blobs in microscopy images, compare counts and detection scales, and retrieve overlay PNGs and detection JSON. Use for local images or supported institutional image URLs when the user requests microscopy blob analysis or parameter trials.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 447
Forks
138

01 前言 Front Matter

name
microscopy-analysis
author
Tiannian Zhu
version
0.1.2
description
Detect bright blobs in microscopy images, compare counts and detection scales, and retrieve overlay PNGs and detection JSON. Use for local images or supported institutional image URLs when the user requests microscopy blob analysis or parameter trials.
display_name
显微图像亮斑分析
description_en
Detect candidate bright blobs in microscopy images, report counts, positions and scales, compare detection parameters, and retrieve overlays and detection data.
description_zh
检测显微图像中的亮斑候选特征,统计数量、位置与尺度,支持检测参数对比,并提供标注叠加图和检测数据。
display_name_en
Microscopy Bright-Blob Analysis

02 资源文件 3

03 SKILL.md 正文

Microscopy Analysis

Use the task-oriented tools from the packaged microscopy-analysis MCP server. Tool names below are raw MCP names; let the client resolve their namespace.

Workflow

  1. For a local image, call microscopy_analysis_prepare_upload with its plain filename. Send the raw file bytes using the exact HTTP PUT URL, method, and headers returned. Use the returned attachment_ref only after the PUT succeeds.
  2. For an HTTP(S) image URL under iphy.ac.cn or one of its subdomains, call microscopy_analysis_ingest_url with the URL and a plain filename instead. URLs must use the standard HTTP(S) port and contain no user information; redirects are rejected. Retain the returned attachment_ref.
  3. Call microscopy_analysis_detect_blobs with one to eight refs in the intended order and any requested params. Refs are reusable across tasks and may occur more than once in a task. Use defaults unless the user specifies a parameter trial.
  4. Poll microscopy_analysis_get_task_status with the returned task_id while its status is pending or running. Stop on failed and report the returned error. Call microscopy_analysis_get_task_results only after succeeded.
  5. Return each image's source_filename, width, height, and blob_count in submission order, together with the algorithm_version and effective_params. Provide the returned overlay_png and detections_json HTTP GET URLs when files are needed. A null URL means the artifact is unavailable; retain the task result and report the missing file without inventing a download address.

Parameters and interpretation

params accepts the following fields:

Field Default Meaning and constraint
min_sigma 2 Minimum LoG Gaussian sigma in pixels; greater than zero
max_sigma 4 Maximum sigma in pixels; at least min_sigma
num_sigma 20 Number of sampled scales; integer from 1 to 100
threshold 0.05 Nonnegative LoG response threshold, not a confidence probability
exclude_border 10 Nonnegative integer border width in pixels
random_seed 0 Preprocessing seed; integer from 0 to 4294967295

The service uses GMM region selection and LoG detection to find local bright blobs. A detected blob is a candidate image feature, not a confirmed material defect. The selected region and overlay are not defect segmentation masks.

Read the returned detection JSON when coordinates or scale details matter. It records x, y, sigma_px, radius_px (approximately sqrt(2) * sigma_px), and display_radius_px. The display circle is not a measured physical radius. Report pixel units unless the user supplies traceable calibration; do not infer physical dimensions from image size.

A zero count can have different outcomes: no_detections, blank_image, or image_too_small. Consult the JSON outcome before interpreting a zero count. Preserve these distinctions and compare results with their effective parameters and input resolution. Task success alone does not establish detection accuracy on real microscopy samples.

Transfer and retries

  • Never put local paths, Base64, or image bytes in MCP arguments. Raw HTTP is used for the upload and download instructions returned by the tools. Treat upload URLs and headers as short-lived capabilities; do not copy credentials into prose, logs, or retained files.
  • Each input and the combined inputs of a task are limited to 100 MiB. Supported filename extensions are .bmp, .jpeg, .jpg, .png, .tif, .tiff, and .webp. Analysis accepts 8-bit grayscale or color images, ignores alpha, and limits decoded images to 8192 pixels per side and 16777216 pixels total. Do not silently convert high-bit-depth scientific images to 8-bit.
  • Reuse refs for parameter trials. Repeating microscopy_analysis_ingest_url with the same URL and filename returns the original ref rather than refreshing its contents. Exact microscopy_analysis_detect_blobs retries with the same ordered refs, effective parameters, and algorithm version return the original task, including a failed task; there is no force-rerun tool.
  • Use structured retryability information from tool errors. Do not repeatedly resubmit a failed task or treat failure as a zero count.

Boundaries

If the MCP tools are unavailable, ask the user to connect the packaged microscopy-analysis server. Do not guess results, call private provider endpoints, or substitute local image processing for this service workflow. Device control and electronic-lab-notebook writes are separate operations; this plugin provides image analysis and result retrieval.

04 同仓库更多 Skills

infometa
infometa/workbuddyskills

yingmi-skill

当用户需要查询基金、策略、公告、财经资讯,做资产配置、组合诊断、风险回测、现金流分析,或生成图表、PDF 时,优先使用本 Skill 获取真实数据与可执行能力。

★ 447
infometa
infometa/workbuddyskills

web-access

所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。

★ 447
infometa
infometa/workbuddyskills

tencentmap-map-assistant

腾讯位置服务·地图助手 Skill,一句自然语言调用腾讯地图全套能力,无需开发者账号、开箱即用。提供 AI 旅游攻略、地点搜索(含评分/人均/营业时间)、关键词提示、路线规划(驾车/步行/公交/骑行)、地址解析与逆解析、行政区划、IP 定位、距离计算、天气查询,并可将行程或多 POI 渲染成网页地图。涉及找地点、规划路线、旅游行程、查天气、坐标转换等出行场景时使用。

★ 447
infometa
infometa/workbuddyskills

skill-scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描, 检查 skill 安全, audit skill, scan skill, check skill safety, analyze skill, inspect skill, verify skill, skill security, skill supply chain. Do NOT trigger for general agent usage, full system health checks, project debugging, or normal development.

★ 447
infometa
infometa/workbuddyskills

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends agent capabilities with specialized knowledge, workflows, or tool integrations.

★ 447
infometa
infometa/workbuddyskills

shader-dev

Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

★ 447