From projects
Use this skill when the user says "work on <project>", "switch to <project>", "resume <project>", "resume" (no project), "list projects", or "what projects do I have". Also use when working in a directory not in the registry.
How this skill is triggered — by the user, by Claude, or both
Slash command
/projects:switchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage context when switching between projects tracked in `~/.claude/projects.json`.
Manage context when switching between projects tracked in ~/.claude/projects.json.
Projects are tracked in ~/.claude/projects.json:
{
"projects": {
"name": {
"path": "/absolute/path",
"last_worked": "YYYY-MM-DD"
}
}
}
CLAUDE.local.md with:
last_worked to today's date in ~/.claude/projects.json~/.claude/projects.jsonlast_worked to today's dateCLAUDE.local.md if it existsdecisions.md if it exists~/.claude/projects.jsonlast_worked date~/.claude/projects.jsonlast_worked date (most recent first)When working in a directory that's not in the registry:
~/.claude/projects.json with current dateWhen resuming a project, read these files if they exist:
| File | Purpose |
|---|---|
CLAUDE.md | Project-specific instructions |
CLAUDE.local.md | Current state - where you left off |
decisions.md | Decision history |
This file captures current state, not history. It gets overwritten (not appended) when:
Example content:
# project-name
## Current State
Implemented the new authentication flow. Tests passing.
## Pending
- Add rate limiting to login endpoint
- Update API docs
## Context
Using JWT tokens, decided against sessions (see decisions.md)
The SessionEnd hook updates last_worked timestamps based on file operations. This skill also updates timestamps on explicit switches. Both are safe:
npx claudepluginhub cyberswat/claude-plugin-projectsMaintains a living STATE.md document tracking current project context, active tasks, blockers, and next steps. Auto-loads at session start or on explicit commands like 'update state' or 'where was I'.
Recalls project context via ctx CLI: loads context packet, reads TASKS.md/DECISIONS.md, lists recent sessions, presents structured readback of last session, active tasks, recent decisions, next steps. For memory questions or session starts.