guardian-session

guardian-session is a skill for Codex from 1999AZZAR/project-guardian-mcp-server. It costs 46 tokens per session (894 once invoked), scanned A, original, MIT.

A session-start skill that restores project context from a local memory database. It looks for active tasks, open bugs, recent notes, and work related to the current project or directory.

In plain words
What is it for?
Resuming project work, switching repositories, finding unfinished tasks and bugs, and recalling what was previously in progress.
Why use it?
It reduces the need to reconstruct previous work when starting a new session or returning to a project.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Resuming project work, switching repositories, finding unfinished tasks and bugs, and recalling what was previously in progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1999azzar/project-guardian-mcp-server/guardian-session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 1999AZZAR/project-guardian-mcp-server --skill guardian-session
Clone the repo
git clone --depth 1 https://github.com/1999AZZAR/project-guardian-mcp-server

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for guardian-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/1999azzar/project-guardian-mcp-server/guardian-session/github.svg)](https://agentmods.dev/skills/1999azzar/project-guardian-mcp-server/guardian-session)
Your own site
<a href="https://agentmods.dev/skills/1999azzar/project-guardian-mcp-server/guardian-session"><img src="https://agentmods.dev/badge/skills/1999azzar/project-guardian-mcp-server/guardian-session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for guardian-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/1999azzar/project-guardian-mcp-server/guardian-session"><img src="https://agentmods.dev/badge/skills/1999azzar/project-guardian-mcp-server/guardian-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 894 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00894
Opus 5 $0.00023 $0.00447
Sonnet 5 $0.00009 $0.00179
Haiku 4.5 $0.00005 $0.00089

Measured 11d ago against content hash 6c40827f2671, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

guardian-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/load_context.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/guardian-session/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Search for the current project or topic first:

search_nodes query="<project-or-topic>"

Use read_graph only when the graph is known to be small or a full view is explicitly needed. Scan for:

  • Project entities (root nodes)
  • Active tasks (not marked [COMPLETE])
  • Open bugs (not marked [FIX])
  • Recent observations (check updated_at)

2. Contextualize to Current Directory

If working in a subdirectory, search for relevant files:

search_nodes query="file:<current-dir>"

If working on specific files, search for those:

search_nodes query="file:<filename>"

3. Surface Active Work

Find incomplete tasks:

query_data table="entities" conditions={"entity_type": "task"} limit=20

Find open bugs:

query_data table="entities" conditions={"entity_type": "bug"} limit=10

Find recent changes:

query_data table="entities" conditions={} orderBy="updated_at" orderDirection="DESC" limit=10

4. Build Session Summary

Create a mental model of the project state:

PROJECT: <name>
├── ACTIVE TASKS: <count>
│   ├── task:<id>:<title> — <status from observations>
│   └── ...
├── OPEN BUGS: <count>
│   ├── bug:<id>:<slug> — <severity>
│   └── ...
├── RECENT CHANGES: <count>
│   ├── <file or entity> — <what changed>
│   └── ...
└── NEXT UP: <suggested next action based on dependencies>

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

Read the full file on GitHub · 150 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 150 lines · 46 tokens per session scan A 6c40827f2671

Subscribe to this mod's changes

guardian-session is a skill published in the GitHub repository 1999AZZAR/project-guardian-mcp-server (3 stars, last pushed 11d ago), licensed MIT. It adds 46 tokens to every session and 894 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.