CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

bridging-presidio-and-spacy

Combine OpenMed clinical NLP with Microsoft Presidio, spaCy, or LangChain through OpenMed's built-in interop adapter registry (openmed.interop). Covers the lazy adapter registry (available_adapters, get_adapter, adapter_spec), the presidio/spacy/langchain pip extras, and the verified callables — Presidio to_canonical/from_canonical/merge_with_openmed, the spaCy openmed_deid pipeline factory, and the LangChain create_redaction_runnable. Use when the user wants to add Presidio recognizers, embed OpenMed PII detection in a spaCy pipeline, or use OpenMed de-identification as a LangChain runnable. Pairs adjacent to the OpenMed PII skills.

72

Quality

90%

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 well-crafted, action-heavy reference: executable code for all three bridges, honest edge-case guidance, and an unusual 'verified callables' discipline that keeps examples trustworthy. Its main growth areas are trimming redundant prose and splitting the per-bridge guides into one-level-deep reference files.

Suggestions

Trim the 'Hand-off to / from OpenMed' section — its 'Into/Out of OpenMed' bullets largely restate what each bridge section already demonstrated, so it could be cut to the single canonical-object line.

Split each bridge (presidio, spacy, langchain) into a one-level-deep reference file (e.g. references/presidio.md) and keep SKILL.md as the registry/when-to-use overview with pointer links, reducing inline token load.

Add explicit validate-fix guidance after the LangChain runnable example (run openmed.eval leakage gates and iterate on policy/confidence_threshold until they pass) to reach a full feedback loop.

DimensionReasoningScore

Conciseness

The body is efficient and assumes competence — it never explains what Presidio, spaCy, or LangChain are, and rationale paragraphs like 'Why merge instead of union' carry non-obvious project information. Minor trimmable spots remain: the opening paragraph and the 'Hand-off to / from OpenMed' section partially restate points already made per-bridge, which keeps it just below the 'every token earns its place' anchor.

4 / 5

Actionability

Every bridge ships copy-paste-ready code with real config values and expected outputs in comments (pip extras, nlp.add_pipe("openmed_deid", config={…}), chain = redactor | prompt | llm), and the lone external dependency (the user's own Presidio analyzer) is explicitly and reasonably delegated. Code covers the common cases for all three integrations.

5 / 5

Workflow Clarity

Each bridge follows a clear install → import → use sequence, the gotchas section covers failure behavior (ImportError names the missing extra) and includes a validation checkpoint ('Gate de-id quality with openmed.eval leakage gates … before trusting it in front of a cloud LLM'). It stops short of the top anchor's explicit validate-fix-retry loops, though this reference-style skill is not a destructive or batch workflow so no cap applies.

4 / 5

Progressive Disclosure

The single file is well-sectioned with self-contained, clearly headed bridge guides and an edge-cases section, matching the 'good structure; minor organization gaps' anchor. It does not reach 5 because no reference files exist at all — the three full per-bridge API guides are entirely inlined in SKILL.md where the rubric rationale favors an overview pointing to one-level-deep per-bridge references.

4 / 5

Total

17

/

20

Passed

Description

92%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.

A strong, highly specific description with an explicit 'Use when…' clause, concrete callable names for each bridge, and clear scoping against adjacent skills. Its only weakness is missing a few natural synonyms (anonymize, redact, PHI) that users might say when reaching for it.

DimensionReasoningScore

Specificity

The description lists multiple concrete, named actions per framework — the registry functions (available_adapters, get_adapter, adapter_spec), the pip extras, and the verified callables (to_canonical/from_canonical/merge_with_openmed, openmed_deid, create_redaction_runnable) — with comprehensive coverage and no generic filler.

5 / 5

Completeness

It explicitly answers both what ('Combine OpenMed clinical NLP with Microsoft Presidio, spaCy, or LangChain through OpenMed's built-in interop adapter registry') and when ('Use when the user wants to add Presidio recognizers, embed OpenMed PII detection in a spaCy pipeline, or use OpenMed de-identification as a LangChain runnable'), matching the top anchor with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural trigger phrases are present ('add Presidio recognizers', 'embed OpenMed PII detection in a spaCy pipeline', 'use OpenMed de-identification as a LangChain runnable'), but common synonyms a user might say — 'anonymize', 'redact', 'PHI', 'de-id' — are missing, matching the 'good keyword coverage; a few natural terms missing' anchor rather than comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The niche is distinct — bridging OpenMed to three named external frameworks — and 'Pairs adjacent to the OpenMed PII skills' explicitly scopes the boundary with the closest overlapping skills, so trigger risk is minimal.

5 / 5

Total

19

/

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/bridging-presidio-and-spacy/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.