agentleFS
kambleakash0kambleakash0/agent-skills/skills/context-pack/SKILL.md

context-pack

Skill10 starsChanged 8 months agoMITView on GitHub

Compact the current conversation into a handoff document so a fresh agent can continue the work in the next session.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 19
  2. Distinctive:

    Do not use this skill to create project documentation or permanent records — that belongs in PRDs, ADRs, or spec files.

    line 25
  3. Distinctive:

    Don't duplicate existing artifacts: If a PRD, ADR, plan, spec, issue, commit, or diff already captures something, reference it by file path …

    line 30
  4. Distinctive:

    Tailor to the next session: If the user passed an argument describing what the next session will focus on, use it to weight what you …

    line 32
  5. Distinctive:

    Always include a suggested skills section.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Context Pack

Summarise the current conversation into a concise handoff document that a fresh agent can read to continue the work without losing context.

When to Use

Use this skill when:

  • The user asks you to create a context pack or handoff document.
  • The user wants to continue in a new agent session and needs context carried forward cleanly.
  • A task is being handed to a different agent or a different person.

Do not use this skill to create project documentation or permanent records — that belongs in PRDs, ADRs, or spec files. This is a transitional document, not an artifact.

Behavior and Rules

  1. Save to the OS temp directory, not the current workspace. Use /tmp, /var/tmp, or the equivalent for the user's OS. Name the file descriptively: context-pack-<dash-case-topic>-<YYYYMMDD>.md.
  2. Don't duplicate existing artifacts. If a PRD, ADR, plan, spec, issue, commit, or diff already captures something, reference it by file path or URL — don't re-summarise it inline.
  3. Redact sensitive information. Strip any API keys, passwords, tokens, secrets, or personally identifiable information before writing.
  4. Tailor to the next session. If the user passed an argument describing what the next session will focus on, use it to weight what you include — surface the most relevant context for that goal and trim what won't matter.
  5. Be concise. The document should be scannable in under two minutes. Favour bullet points and short paragraphs over prose.

Document Structure

# Context Pack: {Topic or task}

## Context
{1–3 sentences: what this work is about and why it matters.}

## What was done this session
- {Key decision or action taken}
- {Another decision or action}

## Current state
{Where things stand right now — what is complete, what is in progress, what is blocked.}

## What to do next
- {The most important next step}
- {Other pending steps, in rough priority order}

## Key references
- {Path or URL to relevant PRD, spec, ADR, issue, commit, or diff}
- {Another reference}

## Suggested skills
- `/{skill-name}` — {one sentence on why it's relevant for the next session}

Suggested Skills Section

Always include a suggested skills section. Based on what the next session will involve, recommend the most relevant skills from the workspace. Examples:

  • /incremental-tdd — if the next session involves implementing something with tests
  • /spec-writer — if the next session involves formalising requirements
  • /slice-the-spec — if the next session involves breaking a spec into tasks
  • /deep-codebase-audit — if the next session involves understanding or improving architecture
  • /teach-me — if the next session involves learning something new
  • /grill-master — if the next session involves stress-testing a plan or design

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.