Skip to content
Back to skills

Session Audit

ASecurity

Scan project memory · age distribution + ungrouped count (L1 build readiness) + per-namespace entity stats · NO LLM.

  • 1,146 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add chunxiaoxx/nautilus-compass --skill session_audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chunxiaoxx-session-audit/badge)](https://www.skillsdirectory.com/skills/chunxiaoxx-session-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session_audit
status: codified
version: 1.0.0
tier: episodic
description: Scan project memory · age distribution + ungrouped count (L1 build readiness) + per-namespace entity stats · NO LLM.
inputs:
  - project (str, optional): project slug · defaults to active
  - mem_dir (path, optional): override mem_dir resolution
  - lookback_days (int, default 30): age bucketing threshold
outputs:
  - total_sessions
  - age_distribution (fresh / recent / aged · session counts per bucket)
  - ungrouped_count (sessions not covered by L1 index)
  - entity_namespace_stats (counts per ns: wiki/people/companies/concepts/sessions)
---

# session_audit

Pre-L1-build readiness check · before triggering `cli_self_evolve --all`,
this skill tells you which projects have enough ungrouped sessions to
make L1 collapse worthwhile (threshold default 3 in self_evolve).

## When to use

- Pre-L1-build: which projects should I run self_evolve on?
- Memory health: are sessions piling up uncollapsed?
- Entity graph: how many `[[ns/name]]` links across the corpus?

## Why codified

- 3 distinct call-sites already (CLI / self_evolve / paper3 metrics)
- Single pure-Python scan · O(N) over .md files · deterministic
- Reused by lifecycle_report internally (DRY)

Files in this skill

  • SKILL.md1.2 KB
  • handler.py2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.