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.

소스 정보

저장소
jim60105/AIr-Friends
최근 소스 활동
2026년 8월 28일 23:09
감지된 SKILL.md 언어
영어
스타
6
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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`
GitHub에서 보기