Setup Openmed logo

Setup Openmed

CommunityPopular
maziyarpanahi
setup-openmed

Collect a bounded set of de-identification policy decisions and write a deterministic, reviewable DEID-POLICY.md from the versioned local template. Use when a project needs explicit jurisdiction, recall floor, surrogate strategy, model policy, audit location, and human approval before privacy work begins.

Overview

Publishermaziyarpanahi
Repositoryopenmed
Skill namesetup-openmed
Stars
5.6K
Forks
708
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by maziyarpanahi on GitHub. Read the source before you install it.

Installation

Install the Setup Openmed AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/maziyarpanahi/openmed/tree/master/skills/setup-openmed
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/maziyarpanahi/openmed.git /tmp/openmed
mkdir -p .claude/skills
cp -r /tmp/openmed/skills/setup-openmed .claude/skills/setup-openmed
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Setup Openmed in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Setup Openmed on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Setup Openmed is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Set up an OpenMed de-identification policy

Use this skill before a de-identification pipeline when the privacy decisions are not already recorded. It creates a small policy document; it does not inspect, transform, upload, or retain clinical data. The setup is local-first, deterministic, and has no mandatory network call.

The output is a draft configuration contract, not a compliance certification, legal opinion, or guarantee of de-identification. A human must review and approve the draft before it controls a run.

When to use this skill

Use it when a project needs to turn implicit privacy choices into a reviewable DEID-POLICY.md file. Use the focused de-identification skills afterward to apply or audit the selected policy.

Do not use this skill to collect a note, dataset row, identifier, model output, secret, credential, or any other source payload. The setup questions accept policy choices only. Keep logs, exceptions, reports, and fixtures free of raw sensitive values.

Bounded decision contract

Collect these five decisions, one at a time. Do not invent a sixth field or silently choose a value. The value written to the artifact must be the lowercase canonical value in the right-hand column.

DecisionBounded choices (canonical value)
Jurisdiction or operating contextus, eu, canada, research, organization-defined
Recall floor0.90, 0.95, 0.99
Surrogate strategymask, remove, replace, hash
Model policylocal-preinstalled, local-user-supplied, rules-only
Audit locationseparate-local-directory, controlled-artifact-store, no-retention

The jurisdiction choices are context labels, not findings that a law applies. For example, us may be used for a US/HIPAA-context workflow and eu for an EU/GDPR-context workflow, but the generated document must not claim that the workflow is compliant. research and organization-defined require the project's own governance review.

The recall floor is a release target, not an observed score. Do not write a metric, benchmark result, dataset name, or model claim into this artifact. replace must use deterministic, synthetic surrogates when it is later implemented; any re-identification mapping remains a separately protected secret. hash is one-way for this policy document, but hashes can still be sensitive linkage material.

Setup workflow

Follow this order exactly:

  1. Explain that the result is a draft configuration and that human approval is required. Ask only for the five decisions in the table.

  2. Normalize each answer for comparison by trimming surrounding whitespace, folding case, and treating spaces or underscores as hyphens. Match the normalized answer against the bounded choices exactly. Do not accept a free-form value, and do not infer a jurisdiction from prose.

  3. If an answer is missing or invalid, stop before writing the artifact. Report only the field name and the allowed canonical choices; never echo the answer, a source value, or exception text.

  4. Read the local DEID-POLICY.template.md and replace only its five decision placeholders:

    • {{ jurisdiction }}
    • {{ recall_floor }}
    • {{ surrogate_strategy }}
    • {{ model_policy }}
    • {{ audit_location }}

    Before substitution, require Template version: 1.0, Policy schema: 1, and exactly one occurrence of each listed placeholder with no other placeholder. If that contract differs, stop before writing and report only that the template contract is invalid. Preserve the template version, section order, checkboxes, and line endings. Do not add a timestamp, random identifier, machine path, user identity, source text, detected span, model output, or free-form rationale.

  5. Resolve the user-requested project directory and require it to be an existing local directory. The output target is exactly its direct child DEID-POLICY.md; do not accept a different filename or derive one from an answer. Refuse a symlink or any existing non-regular target. If a regular file already exists, ask for explicit permission before replacing it; never overwrite it implicitly or write through a symlink. Render to a uniquely created sibling temporary file, flush and sync its bytes, recheck the resolved parent and target immediately before replacement, and atomically replace the target. If the target appeared after the first check and no replacement was approved, stop. Clean up the temporary file on every failure.

  6. Report only that DEID-POLICY.md was written in the requested project directory and that review is pending. Never print the absolute or parent directory path, the collected answers, a source payload, or exception text.

The same five canonical choices and the same template version must produce byte-for-byte identical output. Do not use the current time, environment variables, network responses, or machine-specific paths in the artifact.

Local-only model rule

This setup does not download a model or call a hosted service. With local-preinstalled, stop and ask the project owner to install or provide the approved local model if it is absent. With local-user-supplied, record no secret or personal path in DEID-POLICY.md; the caller supplies the model outside the artifact. rules-only must remain deterministic and local. A later pipeline may have its own explicitly approved setup step, but it is not part of this skill and must never be mandatory here.

Human approval gate

The template always writes DRAFT — HUMAN APPROVAL REQUIRED. Stop after the draft is written. A human reviewer must inspect the five choices, verify that the intended local model and audit handling exist, and explicitly change the status to approved through the project's review process. The setup workflow must not self-approve, sign, certify, or claim a regulatory outcome.

Handoff

Those skills inherit this artifact's guardrails. Keep any audit report limited to offsets, hashes, provenance, counts, and risk summaries; never put raw identifiers into logs, exceptions, reports, fixtures, or the policy file.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Setup Openmed AI skill do?

Collect a bounded set of de-identification policy decisions and write a deterministic, reviewable DEID-POLICY.md from the versioned local template. Use when a project needs explicit jurisdiction, recall floor, surrogate strategy, model policy, audit location, and human approval before privacy work begins.

Why use Setup Openmed on TypingMind?

Because you install it once and use it with any model. Setup Openmed is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Setup Openmed in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/maziyarpanahi/openmed/tree/master/skills/setup-openmed. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Setup Openmed?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Setup Openmed?

As many as you like. As long as a model supports skills, you can use Setup Openmed with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Setup Openmed AI skill free?

Yes. It is published on GitHub by maziyarpanahi under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇