CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

serving-openmed-rest-api

Stand up OpenMed's FastAPI REST service for clinical NER, PII extraction, and de-identification, with health checks, model keep-alive/unload, optional dynamic batching, and no-PHI logging. Use when the user wants to serve OpenMed over HTTP, deploy a de-id/NER REST API, run an inference endpoint for clinical text, add a /analyze or /pii/deidentify route, or containerize OpenMed as a service. Covers the service extra, launching create_app with uvicorn, the real endpoints (/health, /analyze, /pii/extract, /pii/deidentify, /models/loaded, /models/unload), request/response shapes, ServiceRuntime env-var configuration, and self-hosted auth/CORS/TLS notes.

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, deployment-ready body: everything is executable and specific to OpenMed's service surface, with a clear sequenced workflow and honest edge-case guidance (no built-in auth, PHI-safe logging, strict schemas). The only weaknesses are mild — slight redundancy in hand-off pointers, unnecessary external doc links, and recovery guidance that lives beside rather than inside the workflow.

DimensionReasoningScore

Conciseness

The body is dense with project-specific facts Claude cannot know (env-var table, strict request fields, error envelope) and doesn't explain familiar concepts like FastAPI or uvicorn. Minor trims remain — the Standards & references links to FastAPI/Uvicorn/OpenAPI docs are unnecessary, and the MCP/batch hand-off pointer appears twice ("When to use this skill" and "Hand-off to / from OpenMed") — so it sits at 'efficient with minor over-explanation' rather than 'every token earns its place'.

4 / 5

Actionability

Fully executable throughout: `pip install "openmed[service]"`, `python -m openmed.service.logging --host 127.0.0.1 --port 8000`, an in-process `create_app()` snippet, curl examples with realistic JSON payloads for /health, /analyze, and /pii/deidentify, a ready env-var launch line, and a complete Dockerfile. Copy-paste ready and covering the common cases, matching the top anchor.

5 / 5

Workflow Clarity

The six-step Workflow (install → configure → front with auth/TLS → health-check + warm → call endpoints → manage memory) is clearly sequenced with an explicit validation checkpoint ("Poll GET /health") and recovery guidance in Edge cases (504 → larger profile or pre-chunking; 422 → field-level reason). It falls short of level 5 because the recovery guidance isn't integrated as an inline validate→fix→retry loop within the workflow steps themselves.

4 / 5

Progressive Disclosure

No bundle files exist and the single SKILL.md is well-sectioned (Quick start, Endpoints, Config, Workflow, Containerizing, Hand-off, Edge cases), with the endpoint/request-field reference being core operational content rather than deferred detail. Source pointers (openmed/service/app.py, runtime.py, schemas.py) are clearly signaled one level deep; only minor organization gaps (the API-detail tables could live in a reference file if the bundle grows), placing it at level 4 rather than the fully split level-5 structure.

4 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An excellent description: it states concrete capabilities in third-person/imperative voice, includes an explicit "Use when..." clause with five natural trigger phrasings, and is tightly scoped to the OpenMed REST-serving niche. Every phrase is informative with no fluff or over-claims.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "Stand up OpenMed's FastAPI REST service for clinical NER, PII extraction, and de-identification, with health checks, model keep-alive/unload, optional dynamic batching, and no-PHI logging" — plus concrete scope details (endpoints, ServiceRuntime env-var configuration). Coverage is comprehensive with no gaps, matching the top anchor rather than the 'minor gaps' level 4.

5 / 5

Completeness

Explicitly answers both: what ("Stand up OpenMed's FastAPI REST service for clinical NER, PII extraction, and de-identification...") and when ("Use when the user wants to serve OpenMed over HTTP, deploy a de-id/NER REST API...") with concrete trigger phrases — a direct match for the top anchor.

5 / 5

Trigger Term Quality

"Use when the user wants to serve OpenMed over HTTP, deploy a de-id/NER REST API, run an inference endpoint for clinical text, add a /analyze or /pii/deidentify route, or containerize OpenMed as a service" provides five distinct natural phrasings users would actually say, covering synonyms across the domain (serve/deploy/run/containerize). No common variation is missing.

5 / 5

Distinctiveness Conflict Risk

The description is anchored to a named project (OpenMed) and a specific surface (self-hosted FastAPI REST with named routes like /pii/deidentify), giving it a clear niche. Triggers (serve over HTTP, REST API, containerize) are distinct from adjacent MCP or batch-processing skills, so conflict risk is minimal; not level 4 since no meaningful overlap remains.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

maziyarpanahi/openmed

Path

skills/serving-openmed-rest-api/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.