session-compact skillA
session-compact is agent-read markdown (skill) from codeaholicguy/ai-devkit: 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..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 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. …
Read the whole file at its exact version.
How to install
mdr add codeaholicguy/ai-devkit/session-compact@git:20260924.9684956mdr add codeaholicguy/ai-devkit/session-compact@sha256:cd806be296a4fc58Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_5hk5mmafbtz2pgse)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2256 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
codeaholicguy/ai-devkit · 1,633 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5hk5mmafbtz2pgse GET https://markdownregistry.com/api/v1/resolve?ref=codeaholicguy/ai-devkit/session-compact GET https://markdownregistry.com/api/v1/blob/cd806be296a4fc58f5b845d0714d6cf88496340cc92708780bede01859b40450
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.