context-generatelisted
Install: claude install-skill devgirishattri/agent-plugins
# Context Generate
When this skill is invoked, follow the workflow below and return the saved snapshot details or the shortest actionable failure.
Resolve `PLUGIN_ROOT` from this selected skill's installed absolute source path: it is the directory two levels above this `SKILL.md`. Substitute that absolute path literally in the helper invocation below; never infer it from the project working directory or hardcode a marketplace cache version.
Generate a concise summary of what THIS session has been working on — for handing off to another session.
Context is temporary working state, not durable memory: include only what a
future session needs to continue, keep historical detail only when it explains
the current state, and expect stabilized knowledge to be promoted later through
`$knowledge:promote`.
0. **Handoff flags (optional, Phase E)**: the user's arguments may include `--handoff` and/or `--expires <UTC-ISO>` after the snapshot name, in either order (e.g. `foo --handoff`, `foo --handoff --expires 2026-08-15T00:00:00Z`, `foo --expires ... --handoff`). Parse these out of the user's arguments before deriving the snapshot name in step 1 — they are flags for the save step (step 4), not part of the name.
- `--handoff` marks this snapshot as a **structured handoff**: a running item or resumable endpoint that is promoted then deleted at the end of its arc, instead of an ordinary point-in-time snapshot. Use it when the session is handing off unfinished, resumable work — not fo