Skip to content
Skills Library
Personal productivity · Planning

Session Management

/Session Management

This skill should be used when the user wants to resume previous work, continue from a last session, check what was being worked on, track completed work, log session activity, manage tech debt, review pending items, view session history, or maintain a work log. Triggered by phrases like "resume work", "continue from last session", "what was I working on", "track this work", "log what we did", "tech debt", "what's pending", "session history", "work log".

Licence
Apache-2.0
Last repository change
03.09.2026

Assessment and security

90/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.09.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

This skill should be used when the user wants to resume previous work, continue from a last session, check what was being worked on, track completed work, log session activity, manage tech debt, review pending items, view session history, or maintain a work log. Triggered by phrases like "resume work", "continue from last session", "what was I working on", "track this work", "log what we did", "tech debt", "what's pending", "session history", "work log".

Triggers from the description

resume workcontinue from last sessionwhat was I working ontrack this worklog what we didtech debtwhatsession history
Original author description

This skill should be used when the user wants to resume previous work, continue from a last session, check what was being worked on, track completed work, log session activity, manage tech debt, review pending items, view session history, or maintain a work log. Triggered by phrases like "resume work", "continue from last session", "what was I working on", "track this work", "log what we did", "tech debt", "what's pending", "session history", "work log".

How it works

  1. Purpose
  2. The Report Registry
  3. The Tech Debt Tracker
  4. Archive Strategy
  5. Self-Improvement via MEMORY.md
  6. Session Start Workflow
  7. Session End Workflow
  8. Cross-References
Original SKILL.md headings · 151 lines, 810 words
SKILL.md preview
---
name: Session Management
description: This skill should be used when the user wants to resume previous work, continue from a last session, check what was being worked on, track completed work, log session activity, manage tech debt, review pending items, view session history, or maintain a work log. Triggered by phrases like "resume work", "continue from last session", "what was I working on", "track this work", "log what we did", "tech debt", "what's pending", "session history", "work log".
---

# Session Management

## Purpose

Maintain continuity across AI agent sessions by providing structured work tracking, tech debt management, and report archival. This skill ensures no context is lost between sessions — the agent always knows what was done, what's pending, and what needs attention.

## The Report Registry

The report registry (`.claude/reports/_registry.md`) is the central index of all work performed across sessions.

### When to Add Entries
- After completing a meaningful unit of work (bug fix, feature, refactor, investigation)
- After an investigation that produced findings worth preserving
- When identifying an issue that needs future attention

### How to Use
1. Read the registry at session start to understand recent work
2. Add entries as work is completed during the session
3. Update entry status when revisiting previous work (`Active` → `Resolved`)
4. Follow the 15-category structure for organization

### Entry Format
```markdown
### [Category] Short descriptive title
- **Date:** YYYY-MM-DD
- **Status:** Active | Resolved | Archived
- **File:** `.claude/reports/<category>/<filename>.md`
- **Summary:** One-line description of findings or changes
```

See `references/registry-template.md` for the full template with all 15 categories.

## The Tech Debt Tracker

The tech debt tracker (`.claude/reports/_tech-debt.md`) captures technical debt discovered during development.

### When to Add Debt
- When you notice code that should be improved but isn't the current focus
- When a workaround is used instead of a proper solution
- When tests are skipped or coverage gaps are identified
- When dependency updates are deferred
- When architectural concerns are discovered

### Priority Levels
| Priority | Meaning | Action |
|----------|---------|--------|
| P0 | Blocks development or production | Fix this session |
| P1 | Degrades DX or performance | Fix this week |
| P2 | Code quality concern | Fix this month |
| P3 | Nice-to-have improvement | Fix when convenient |

### Item Format
```markdown
### [P{0-3}] Short title
- **Added:** YYYY-MM-DD
- **Category:** code-quality | performance | security | architecture | testing | dependency | documentation
- **Location:** `path/to/file.ts:123`
- **Impact:** What happens if this isn't addressed
- **Suggested Fix:** Brief approach description
- **Status:** Open | In Progress | Resolved
```

See `references/tech-debt-template.md` for the full template with examples.

## Archive Strategy

Keep the registry and debt tracker lean:

- **Reports:** Archive resolved items older than 7 days to `.claude/reports/archive/`
- **Tech Debt:** Keep resolved items 90 days for reference, then archive
- **Registry Size:** Don't exceed 50 active entries — archive aggressively
- **Monthly Cleanup:** Remove archived items that no longer provide value

See `references/archive-strategy.md` for detailed archival guidelines.

## Self-Improvement via MEMORY.md

MEMORY.md is Claude Code's auto-memory file — it's loaded into every system prompt automatically. Use it as a self-improvement loop that accumulates project-specific lessons across sessions.

### Location
```
~/.claude/projects/<project-path-with-dashes>/memory/MEMORY.md
```

### When to Update MEMORY.md
- **After any correction from the user** — the most important trigger. If the user corrects your approach, save the lesson immediately.
- After discovering a non-obvious pattern or pitfall in the codebase
- After learning a user preference (e.g., "always use X library", "never auto-commit")
- After resolving a tricky bug whose root cause wasn't obvious

### MEMORY.md Structure
Organize by topic, not chronologically:
```markdown
# Project — Lessons Learned

## Build & Tooling
- [lesson]

## Architecture Patterns
- [lesson]

## Testing
- [lesson]

## Common Pitfalls
- [lesson]

## Owner Preferences
- [lesson]
```

### Size Budget
Keep under 200 lines — this is loaded into every system prompt. If it grows too large:
1. Merge related entries
2. Remove lessons that are now obvious from context
3. Create separate topic files (e.g., `debugging.md`) and link from MEMORY.md

### What NOT to Save
- Session-specific context (current task, in-progress work)
- Information already in CLAUDE.md or project docs
- Speculative or unverified conclusions
- Temporary workarounds that have been properly fixed

## Session Start Workflow

When resuming work on a project with session management set up:

1. **Read the registry:** `cat .claude/reports/_registry.md`
2. **Read tech debt:** `cat .claude/reports/_tech-debt.md`
3. **Check git state:** `git log --oneline -10` and `git status`
4. **Review MEMORY.md lessons** relevant to the area being worked on (MEMORY.md is auto-loaded in system prompt)
5. **Summarize:** Tell the user what's active, what's pending, and suggest what to work on
6. **Check for P0 debt:** If any P0 items exist, flag them for immediate attention

## Session End Workflow

Before ending a session:

1. **Update registry** with any work completed this session
2. **Add tech debt** for anything discovered but not addressed
3. **Update MEMORY.md** with any corrections or lessons learned this session
4. **Archive** any resolved items past their retention period
5. **Summarize** what was accomplished and what's next

## Cross-References

- `references/registry-template.md` — Full registry template with 15 categories
- `references/tech-debt-template.md` — Tech debt tracker template with examples
- `references/archive-strategy.md` — Archival rules and lifecycle management
Files in this package (4)
  • SKILL.md 6 KB
  • references/archive-strategy.md 2 KB
  • references/registry-template.md 3 KB
  • references/tech-debt-template.md 3 KB

Versions

The database has no other skills named Session Management.

Database snapshot: 13.11.2026 · package version 73465b26ec4e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90session-log
    Create or update a session log capturing decisions, changes, progress. Use to document what was accomplished during a work session.
  • 95resume
    Load a previous session from TokenMizer graph memory. Returns a compact context block (100-600 tokens) covering goals, completed work, decisions, open tasks, and files. Inject this as system context to continue exactly where you left off. Use when user says "resume", "continue…
  • 95dev-loop-tech-debt-tracker
    Use when the user asks about technical debt tracking, tech debt management, code quality metrics, debt prioritization, or establishing a tech debt reduction process. Do NOT use for: refactoring implementation (dev-loop-refactor-guide), or code review (dev-loop-code-review).
  • 100session-log
    Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a /rename command. Use for /session-log, 'journal this session', 'log this work', 'session report', 'summarize/log/record this session', 'save session', 'capture session', or 'document what we did'.
  • 90dev10x:session-tasks
    Track in-session work items — so open loops are visible and triageable before session end without losing track of parallel work. TRIGGER when: managing in-session task tracking, viewing open loops, or adding work items mid-session. DO NOT TRIGGER when: starting structured work…
  • 100manage-tech-debt
    Track, categorize, and prioritize technical debt when the user asks to manage tech debt, create a tech debt register, assess code quality, or plan refactoring work

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.