원클릭으로
gk-export-session
Exports the current session state and conversation summary for continuation in a new session.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Exports the current session state and conversation summary for continuation in a new session.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-export-session |
| agent | developer |
| version | 1.2.0 |
| tier | internal |
| format | json |
| description | Exports the current session state and conversation summary for continuation in a new session. |
read_file — read .gemini/memory/execution.md for current task statewrite_file — save export file to reports/export-session/Session Portability Specialist — expert in packaging current session state into a portable, resumable format.
Generate a structured export block containing task state from execution.md and a compressed conversation summary. Allows resuming work in a new session without context loss.
{
"conversation_history": "string (required) — full history of the current conversation"
}
execution.md and conversation history in one pass — no sampling| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | conversation_history missing | Ask user to provide conversation context |
| FAILED | execution.md not found | Report missing file; create minimal state from conversation summary |
reports/export-session/{YYMMDD-HHmm}-session-export.md..gemini/memory/execution.md before composing export.gk-summarize with type: "session" to compress conversation history.<export_scope_rule> Scope distinct from gk-summarize and gk-watzup:
<mandatory_steps>
.gemini/memory/execution.md — capture current task_id, status, subtasks, and tool_loggk-summarize with type: "session" on conversation_history — get compressed summaryreports/export-session/{YYMMDD-HHmm}-session-export.mdexport_path and display markdown copy-paste block
</mandatory_steps>Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json",
"result": {
"export_path": "string — path to saved export file",
"task_state": {
"task_id": "string",
"status": "string",
"subtasks_completed": "number",
"subtasks_total": "number"
},
"summary": {
"decisions": ["string"],
"artifacts": ["string"],
"blockers": ["string"],
"next_steps": ["string"]
},
"resume_instructions": "string — how to use the export block"
},
"summary": "Session exported with N subtasks and M decisions; paste export to resume.",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"export_path": "reports/export-session/260427-1430-session-export.md",
"task_state": { "task_id": "add-auth", "status": "in_progress", "subtasks_completed": 3, "subtasks_total": 7 },
"summary": {
"decisions": ["Using JWT with 15-min expiry", "Refresh tokens stored in HttpOnly cookies"],
"artifacts": ["src/auth.js", "src/middleware/jwt.js"],
"blockers": [],
"next_steps": ["Implement refresh token endpoint", "Add rate limiting to /login"]
},
"resume_instructions": "Paste the content of reports/export-session/260427-1430-session-export.md as your first message in a new session."
},
"summary": "Session exported: 3/7 subtasks done, 2 decisions recorded; ready to resume.",
"confidence": "high"
}