
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".
- Installs
- 542
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/hedera-dev/hedera-skills --skill session-management- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads session management automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
- Read the registry at session start to understand recent work
- Add entries as work is completed during the session
- Update entry status when revisiting previous work (
Active→Resolved) - Follow the 15-category structure for organization
Entry Format
### [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
### [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:
# 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:
- Merge related entries
- Remove lessons that are now obvious from context
- 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:
- Read the registry:
cat .claude/reports/_registry.md - Read tech debt:
cat .claude/reports/_tech-debt.md - Check git state:
git log --oneline -10andgit status - Review MEMORY.md lessons relevant to the area being worked on (MEMORY.md is auto-loaded in system prompt)
- Summarize: Tell the user what's active, what's pending, and suggest what to work on
- Check for P0 debt: If any P0 items exist, flag them for immediate attention
Session End Workflow
Before ending a session:
- Update registry with any work completed this session
- Add tech debt for anything discovered but not addressed
- Update MEMORY.md with any corrections or lessons learned this session
- Archive any resolved items past their retention period
- Summarize what was accomplished and what's next
Cross-References
references/registry-template.md— Full registry template with 15 categoriesreferences/tech-debt-template.md— Tech debt tracker template with examplesreferences/archive-strategy.md— Archival rules and lifecycle management
FAQ
What does the session management skill do?
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 do I install session management?
Run npx skills add https://github.com/hedera-dev/hedera-skills --skill session-management in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/session-management/ (personal) or .claude/skills/session-management/ (project).
Which AI agents can use session management?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is session management safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains session management?
It is published by hedera-dev in hedera-dev/hedera-skills. It has 542 recorded installs.
More from hedera-dev/hedera-skills
hedera hackathon submission validator
hedera-dev/hedera-skills
This skill should be used when the user wants to validate, review, or score their Hedera hackathon submission before submitting. Triggered by phrases like "validate hackathon submission", "review my hackathon project", "hackathon scorecard", "check submission readiness", "score my hackathon", "submission review", "judge my project", "hackathon submission quality", or "improve hackathon score".
hedera hackathon prd
hedera-dev/hedera-skills
This skill should be used when the user wants to plan a Hedera hackathon project, create a PRD, write a project spec, brainstorm a hackathon idea, or structure their hackathon submission. Triggered by phrases like "hackathon project plan", "hackathon PRD", "plan my hackathon project", "hedera hackathon idea", "write a hackathon spec", "hackathon project structure", "prepare for hackathon", or "build for hackathon".
hedera-token-service
hedera-dev/hedera-skills
How to create, manage, and transfer tokens on Hedera using the Hiero JavaScript SDK (@hiero-ledger/sdk). Use this skill whenever the user wants to work with fungible tokens, NFTs, token creation, minting, burning, transfers, token association, custom fees (fixed, fractional, royalty), airdrops, KYC/freeze/wipe/pause operations, or any HTS (Hedera Token Service) operation in JavaScript or TypeScript. Also trigger when users mention @hashgraph/sdk token operations, ERC-20/ERC-721 equivalents on Hedera, or tokenization on the Hedera network.
hedera-consensus-service
hedera-dev/hedera-skills
How to create topics, submit messages, and subscribe to real-time message streams on Hedera using the Hiero JavaScript SDK (@hiero-ledger/sdk). Use this skill whenever the user wants to work with Hedera Consensus Service (HCS), including topic creation, message submission, pub/sub messaging, mirror node subscriptions, chunked large messages, topic fees, or any consensus-related operation in JavaScript or TypeScript. Also trigger when users mention @hashgraph/sdk topic operations, event logging on Hedera, decentralized messaging, audit trails, or ordered message streams.
project scaffolding
hedera-dev/hedera-skills
This skill should be used when the user wants to set up Claude for a project, create a CLAUDE.md file, scaffold the .claude directory, initialize an AI workflow, configure a project for Claude, set up dev intelligence, initialize a new project, or do a new project setup. Triggered by phrases like "set up claude for this project", "create CLAUDE.md", "scaffold .claude directory", "init AI workflow", "configure project for claude", "set up dev intelligence", "initialize project", "new project setup".
quality gates
hedera-dev/hedera-skills
This skill should be used when the user wants to set up linting, configure auto-checking after edits, create a deploy checklist, set up pre-push checks, configure a CI pipeline, add quality gates, set up a hook for typechecking, enable post-edit validation, or auto-validate code changes. Triggered by phrases like "set up linting", "auto check after edits", "deploy checklist", "pre-push checks", "CI pipeline", "quality gates", "hook for typecheck", "post-edit validation", "auto-validate".
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.