session-context

Gather Git history, recent plans, and pending work into structured session context.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/brianclaridge/_claude --skill session-context-brianclaridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-context
Source: https://github.com/brianclaridge/_claude/tree/main/skills/session-context
Command: npx skills add https://github.com/brianclaridge/_claude --skill session-context-brianclaridge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gathers session context for the project-analysis agent, including git history, recent plans, and pending work detection.

Core Features & Use Cases

  • Collect current git branch, recent commits, and uncommitted changes
  • Retrieve recent plans from .claude/plans/
  • Expose configuration settings that influence session behavior

Quick Start

Run the session-context skill using the internal Python module to fetch startup context.

Frequently Asked Questions about session-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I gather git history and uncommitted changes for project analysis?

Session context collects your current git branch, recent commits, and uncommitted changes automatically. It assembles this Git Context data to provide agents with a complete snapshot of your repository state for smarter automation and planning.

What does session context include for automation and planning?

Session context gathers Git Context, Recent Plans from .claude/plans/, and Configuration settings into structured output. This enables project-analysis agents to understand your workflow state, pending work, and environment for intelligent decision-making.

Can I use session context during startup, resume, and project transitions?

Yes, session context supports startup, resume, clear, and compact session types. It detects and assembles context at each transition point, allowing agents to maintain awareness across different project phases and work sessions.

How do I retrieve recent plans from my project for analysis?

Session context automatically exposes recent plans stored in .claude/plans/ as part of its structured output. This makes your planning history available to agents without manual retrieval, enabling context-aware recommendations and automation.

Does session context output JSON for machine consumption?

Yes, session context produces optional JSON formatting alongside its standard output. This structured format enables downstream agents and tools to parse and act on Git Context, Recent Plans, and Configuration data programmatically.

What configuration settings influence session behavior?

Session context exposes Configuration settings that control how your project analysis agent operates. These settings are gathered and included in the structured output, allowing you to see what parameters shape automation and planning behavior.