Skip to main content

session-compact

AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.

소스 정보

저장소
codeaholicguy/ai-devkit
최근 소스 활동
2026년 9월 24일 11:50
감지된 SKILL.md 언어
영어
스타
1,640
포크
255

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
session-compact
description
AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.
# Session Compact Use AI DevKit's Jev-backed CLI to create a structured continuation artifact from a historical session. Prefer this command over a hand-written compact when it is available. ## When to Use - Context is getting long and useful state needs to survive compaction. - Work is being handed to another agent or resumed after becoming stale. - A complex implementation or debugging session is closing. - Durable memory candidates or task-progress facts need to be identified after a long run. ## Workflow 1. Find the session ID when it is not already known: ```bash npx ai-devkit@latest agent sessions --all ``` 2. Produce Markdown for a human handoff: ```bash npx ai-devkit@latest agent session compact --id <session-id> ``` 3. Use JSON for automation or structured inspection: ```bash npx ai-devkit@latest agent session compact --id <session-id> --format json ``` 4. Add `--type <provider>` when the same session ID is ambiguous across providers. 5. Review the artifact before using its resume prompt, memory candidates, or validation claims. Compaction preserves selected transcript evidence; it does not independently verify that evidence. ## Jev Availability The command requires `TYPESAFE_API_KEY`. If it reports: ```text Jev is unavailable because TYPESAFE_API_KEY is not set. ``` report that result clearly and stop the compaction attempt. Do not silently replace it with hand-written summarization or imply that Jev classified the session. A user may explicitly request a separate manual summary afterward. Never print, log, store, or pass the API key as a command argument. The CLI reads it from the environment. ## Boundaries - The command is read-only and does not write memories or mutate tasks. - Treat memory candidates as proposals until they pass the memory skill's quality gate. - Record task progress separately when the task workflow requires it. - API, authentication, schema, or network failures with a configured key are errors, not Jev-unavailable results.
GitHub에서 보기