1999azzar/project-mcp/guardian-session
Claude Code and agent skill by 1999azzar/project-mcp
- community
Checking that the SKILL.md file is still in the repository.
Restore relevant Project Guardian context from memory.db at session start. Use when resuming project work, switching repositories, or answering what was previously in progress; surface active tasks, open bugs, recent observations, and blockers. Can also pull prior sessions from other agent harnesses (opencode, codex, zed, antigravity…) into memory.
Install
npx vskill@latest install 1999azzar/project-mcp/guardian-sessionSKILL.md
Guardian Session — Context Loader
Purpose
Each session starts fresh. This skill restores context from memory.db so you know what's been done, what's in progress, and what needs attention next.
When to Load
- At the start of every coding session
- When switching between projects
- When resuming work after a break
- When the user says "what was I working on?"
Core Workflow
1. Load Project State
Use progressive disclosure to minimize context consumption:
Or inspect recent chronological project updates:
Scan for:
- Project entities (root nodes)
- Active tasks (not marked
[COMPLETE]) - Open bugs (not marked
[FIX]) - Recent observations (check
updated_at)
Use open_node for complete observation details only on targeted entities.
2. Contextualize to Current Directory / Files
Before reading or editing specific files, check their historical context:
3. Surface Active Work
Find incomplete tasks:
Find open bugs:
Find recent changes:
4. Build Session Summary
Create a mental model of the project state:
5. Report to User
Provide a concise briefing:
- What was last worked on (most recent observation)
- What's currently in progress (active tasks)
- What's blocking progress (open bugs, dependency chains)
- Suggested next action
6. Pull Cross-Harness Sessions (optional, when prior work may live elsewhere)
Other harnesses keep their own session stores. The bridge reads them read-only — it never writes to harness stores or touches harness processes.
Then preview before writing anything:
If the preview looks right, run it for real (omit dryRun). Rules:
- Secrets are redacted before anything reaches the graph (
[REDACTED]); transcripts and binaries are never ingested — titles, summaries, timestamps only. - Sync is incremental (per-session watermarks) and idempotent: re-running picks up only new or updated sessions.
- Stores absent on this machine (e.g. Cursor/VS Code when not installed) report
found: false— skip them, don't retry. - Synced sessions land as
sessionentities namedharness:<harness>:<sessionId>; search them like any other node afterward.
Context Loading Script
Use scripts/load_context.py for automated context extraction:
Output: JSON with project summary, active tasks, recent changes, and suggested next actions.
Smart Context Detection
By Working Directory
By File Type
When editing a specific file, load its context:
Then load related entities:
By Recency
Find what changed recently:
Dependency Chain Analysis
To find what to work on next, trace dependency chains:
- Find tasks with no unresolved blockers:
`` search_nodes query="task:" ``
- Check which tasks
depends_onothers - Find tasks where all dependencies are complete
- Those are the next actionable items
Anti-Patterns
- Don't load the entire graph if only working on a subset
- Don't create session entities for very short interactions (< 5 min)
- Prefer recent observations; include older ones only when they remain active or relevant
- Keep session summaries under 10 lines
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/guardian-session/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/1999azzar/project-mcp/guardian-session)