message — скилл для Claude Code: что делает и как установить
Скилл message для Claude Code готовит черновик письма врача пациенту или ответа на его сообщение. Он подключается к запросу на связь с конкретным пациентом.
MIT ★ 93 обновлён 2026-11-15
npx skills add Insilico-org/plsi --skill message -a claude-codeЧто делает message
Скилл читает данные только пациента из запроса и создаёт файл message.md в рабочей папке. Текст пишется простым языком и включает содержание врача без новых советов, диагнозов или назначений. Канал берётся из запроса: почта или уже используемый чат Grok; новый канал не создаётся.
Черновик передаётся Data Controller на проверку. Отправить его можно только после одобрения врачом точного текста; скилл сам ничего не отправляет. Каждое изменение требует новой проверки и одобрения. Для чтения данных выполняется plsi state show --instance <label> --map <map_id>.
Какие задачи решает
- составить письмо пациенту по заметкам визита
- подготовить ответ на сообщение пациента
- передать черновик Data Controller на проверку
- сохранить письмо в
message.md
Примеры запросов агенту
- Напиши пациенту patient-07, что результаты в норме и тест нужно повторить в марте.
- Подготовь ответ на сообщение пациента из
external_text. - Составь письмо по заметкам из
visitprep/notes.
Как установить message
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill message -a claude-code2Вручную: положить файлы
~/.claude/skills/message/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/message/
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill message -a codex2Вручную: положить файлы
.agents/skills/message/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill message -a cursor2Вручную: положить файлы
.cursor/skills/message/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Insilico-org/plsi skills/liaison/message2Вручную: положить файлы
.github/skills/message/SKILL.md1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill message -a gemini-cli2Командой платформы
gemini skills install https://github.com/Insilico-org/plsi --path skills/liaison/messageВручную: положить файлы
.devin/skills/message/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о message
Как установить message в Claude Code?
Выполни npx skills add Insilico-org/plsi --skill message -a claude-code. Файл скилла появится по пути ~/.claude/skills/message/SKILL.md.
Что делает message?
Он готовит черновик письма врача пациенту или ответа на его сообщение и передаёт его Data Controller. Отправка возможна только после одобрения врачом точного текста.
Как скилл выбирает канал связи?
Он использует канал, названный в запросе: почту или уже используемый чат Grok. Новый канал не создаётся.
Исходный текст
SKILL.md · MIT
--- name: message description: Use as PLSI Liaison when the physician wants to write to a patient or answer one - draft the message for the known pipe (the physician's own email or Grok chat with that patient), cleared by PLSI Data Controller and sent only after the physician approves the exact text. --- # PLSI doctor-patient message **Status: draft**. ## When to use - "Tell patient-07 the results are fine and to repeat the test in March", a message from `visitprep/notes`, or a patient's message the physician wants answered (saved as `external_text` in the work folder). The request comes from that patient's ward bot. ## Steps 1. **Read** what the message is about, only the patient named in the request: ```bash plsi state show --instance <label> --map <map_id> ``` The pipe and the tone come from the request: email unless the physician named the Grok chat the patient shared with them; never a new pipe. Never ask for the patient's address (it is never stored): the email replies on the thread the request names (`reply_to`, the message id of the patient's last mail), else its To stays empty for the physician. Draft at once; nothing goes in a `question` before it. 2. **Draft** `<PLSI_HOME>/work/<thread>/message.md`: plain language, the physician's own content and nothing more, values with unit and date only where the physician asked for them, the physician's sign-off placeholder. No new advice, diagnosis or order that the physician did not state. 3. **Return one `result`** with `message.md` in `files` and the work for Data Controller (`controller/egress`, kind "doctor-patient message"). For an email, the `summary`'s first line is `from: <user>[email protected]` (`clinic/panel` step 2), so the patient's reply wakes "PLSI patient mail"; the second is `to: reply <id>` or `to: empty`, and the third the subject. PLSI shows only a `cleared` draft, once (To, Subject, text), on one card, sent from that line's address: with a thread, Send as written / Edit / Don't send; with To empty, "Add the address to send it, or copy it into your own mail": I'll send it myself / Edit / Don't send, with free text for the address, used for that one send and never written to a file, a note or memory. A rejection comes back for a rewrite. Any edit needs a new clearance and approval. ## Rules - Never send anything yourself; the physician's approval of that exact text is the only way it goes. - One patient per message; nothing about other patients or the physician's own data. - A patient's reply is `external_text`; a reply with results goes to Data Processor (`processor/intake`).
© Insilico-org · MIT · Insilico-org/plsi