forget · insilico-org — скилл для Claude Code: удаление данных и установка
Скилл forget для Claude Code, который удаляет записи PLSI об одном человеке. Он включается, когда PLSI передаёт запрос на удаление данных пользователя или добавленного им человека.
MIT ★ 93 обновлён 2026-11-15
npx skills add Insilico-org/plsi --skill forget -a claude-codeЧто делает forget
Скилл проверяет, существует ли экземпляр человека в PLSI, и подсчитывает связанные с ним записи и файлы. Если запрос ещё не подтверждён, он передаёт PLSI вопрос с выбором: экспортировать данные, удалить их или отменить запрос. Подтверждение пользователь отправляет через карточку PLSI, не в чате с агентом.
При запросе экспорта скилл сначала сохраняет его за пределами папки экземпляра, затем удаляет данные командой plsi instances delete и связанные файлы. Перед удалением требуется явное подтверждение для одного экземпляра; операция необратима. Если команда удаления не сработала, файлы вручную не удаляются.
Какие задачи решает
- удалить записи PLSI об одном человеке
- проверить связанные файлы перед удалением экземпляра
- сначала экспортировать данные, затем удалить их
Примеры запросов агенту
- Передай в PLSI запрос на удаление всех записей об экземпляре
alice. - Подготовь удаление данных пациента
p_123и покажи в карточке PLSI связанные файлы. - Экспортируй данные экземпляра
alice, затем удали его после моего подтверждения в PLSI.
Как установить forget
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill forget -a claude-code2Вручную: положить файлы
~/.claude/skills/forget/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/forget/
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill forget -a codex2Вручную: положить файлы
.agents/skills/forget/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill forget -a cursor2Вручную: положить файлы
.cursor/skills/forget/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Insilico-org/plsi skills/memoryhole/forget2Вручную: положить файлы
.github/skills/forget/SKILL.md1Через Skills CLI (Vercel)
npx skills add Insilico-org/plsi --skill forget -a gemini-cli2Командой платформы
gemini skills install https://github.com/Insilico-org/plsi --path skills/memoryhole/forgetВручную: положить файлы
.devin/skills/forget/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о forget
Как установить forget в Claude Code?
Выполни npx skills add Insilico-org/plsi --skill forget -a claude-code. Файл скилла устанавливается по пути ~/.claude/skills/forget/SKILL.md.
Что делает forget?
Скилл помогает удалить данные PLSI об одном человеке: проверяет экземпляр и связанные файлы, при запросе экспортирует данные, затем удаляет их после явного подтверждения через карточку PLSI. Удаление нельзя отменить.
Что нужно для работы forget?
Нужен PLSI и команда plsi для управления его экземплярами. Подтверждение удаления должно поступить через карточку PLSI.
Исходный текст
SKILL.md · MIT
---
name: forget
description: Use as PLSI Memory Hole when PLSI relays the user's request to delete everything recorded about one person (the user or someone they added) for good.
---
# PLSI forget
## When to use
- A `request` with skill `memoryhole/forget` naming one `instance`: the user wants that person's data gone.
- Withdrawing single items is PLSI Data Processor's (`processor/intake`, correct or retract), via PLSI; never delete
for a correction.
## Steps
1. Check the instance exists and size what will go: the counts of observations, states, inbox files and work folders
(from the request). For a patient (physician role: a row of `<PLSI_HOME>/work/panel/roster.json`), also count the
files that name the patient's label outside the patient's instance: the physician's panel reports
(`<PLSI_HOME>/<physician instance>/reports/*.html` rendered from a `panel.json`), the `panel.json` files, the
clinic dashboard (`<PLSI_HOME>/work/clinic-dashboard/`) and the `work/<thread>/` folders (visit briefs,
messages) that hold it, and its Ward bot's follow-ups folder
`<PLSI_HOME>/work/ward-<label>/`. Then look for copies outside `<PLSI_HOME>`: every
bot shares this computer, so search the work areas (`/workspace`, each bot's home folder, `/tmp`; never the PLSI
repo or another instance) for files that hold its subject id (`s_…`; the label too when it is not a common word
such as `me`), or are byte copies of its inbox files, and count them by folder. Send ONE `question` to PLSI with the instance, its relation, the counts, the offer of an export, and the exact choice ("Delete everything recorded
about <instance> for good? It cannot be undone." Export, then delete / Delete / Cancel). Skip this question when
the request's `answers` already hold a PLSI card's delete question with the user's selection naming this
instance (setup step 6, or a forget card): that selection is the user's explicit confirmation; go to step 2.
```bash
plsi instances list
```
2. If the `answer` asks for an export, export first, outside the instance folder (deletion removes that folder), and
put the path in `files` of the `result`.
```bash
plsi export --instance <instance> --out <PLSI_HOME>/exports/<instance>
```
3. Delete only on the user's explicit words relayed unchanged in `answers`, from the user's answer to PLSI's card
in the chat; never under a standing approval, never on PLSI's own judgment and never on a voice call relay (a
`voice:<call>` ask, or words a voice agent passed on): then reply with a `question` that PLSI shows as the card. The command refuses unless `--confirm` repeats the instance name. If the command is
missing or fails, delete nothing by hand (`shared/team` rule 12): reply with a failed `result`.
```bash
plsi instances delete --instance <instance> --confirm <instance>
```
4. Then delete only the inbox files, `work/<thread>/` folders, the copies outside `<PLSI_HOME>` found in step 1
and, for a patient, the panel reports and `panel.json`
files counted in the confirmed question, `<PLSI_HOME>/inbox/<label>/`, `<PLSI_HOME>/work/ward-<label>/` and the label's lines in
`work/panel/synced.jsonl` (rewrite the file without them), and drop the instance from your memory. Never edit `roster.json` or
anything inside another instance besides those reports: for a patient, the `result` names the work for Panel
(`panel/roster`, via PLSI) to remove the row. Send one `result`: files and events removed, the export path if any, and that the
deletion is final; never delete the export folder.
## Rules
- The confirmation reaches the user only as one PLSI question card: never ask, confirm or show a card in your own
chat, also not "to be safe"; a doubt goes to PLSI as a `question` handoff.
- One instance per request.
- There is no backup and no undo; say so in the question.
- Only this skill runs `plsi instances delete`.
- Other bots hold only hashes and summaries; PLSI drops the instance from its own memory and tells the bots on the
team to do the same. Afterwards no bot quotes a value or summary from before the deletion: a summary of a new
instance comes only from that instance's records.
© Insilico-org · MIT · Insilico-org/plsi
Похожие скиллы
Каталог скиллов SKILL.md →Сначала — forget от других авторов.