Skip to main content

memory-export

Export all memories for the current user as a file. The file is sent directly via private message (DM) to the user, regardless of where the request was made. Use ONLY when the user explicitly requests to export their memories, and ONLY after confirming with the user.

Ir para a instalação

Informações da origem

Repositório
jim60105/AIr-Friends
Última atividade na origem
28 de agosto de 2026 às 23:09
Idioma detectado do SKILL.md
inglês
Estrelas
6
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
2 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
memory-export
description
Export all memories for the current user as a file. The file is sent directly via private message (DM) to the user, regardless of where the request was made. Use ONLY when the user explicitly requests to export their memories, and ONLY after confirming with the user.
allowed-tools
Bash
# Memory Export Skill Export the current user's memories as a file attachment, sent via DM. ## Critical Rules 1. **User consent required**: Only execute this skill when the user **explicitly** requests to see or export their memories. 2. **Confirm before executing**: Before executing, you MUST ask the user to confirm via send-reply. Execute this skill only in the **next session** after receiving user confirmation (you will see the confirmation in conversation history). 3. **Privacy**: This exports the user's own memories only. It will never include other users' data or your personal notes from the agent workspace. 4. **DM delivery**: The export file is always sent via private message (DM), even if the user made the request in a public channel. You do NOT need to use send-reply to deliver the file. 5. **After export**: Use send-reply to inform the user that the export has been sent to their DM (e.g., "已匯出 N 筆記憶,請查收私訊。"). 6. **Timeout**: The script won't run for more than 30 seconds. If it hangs, do stop_bash and do not retry, return an error message in JSON format. ## Usage ``` ${HOME}/.agents/skills/memory-export/scripts/memory-export.ts \ --session-id "$SESSION_ID" \ --format markdown ``` **`--session-id`**: Use the session id rendered in your system prompt. `$SESSION_ID` works only in per-spawn deployments; in shared-process mode it is not set and the skill library resolves the owning session automatically — a mismatched value is never honored. ## Parameters - `--format`: Output format. `markdown` (default) or `json` - `--importance`: Filter by importance. `high`, `normal`, or `all` (default: `all`) - `--enabled-only`: Only include enabled memories. `true` (default) or `false`
Ver no GitHub