Skip to content
Back to skills

Stats

ASecurity

Show current context-os graph status, git state, and recent session signals for the active repository.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolspythonbashgit

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add sravan27/context-os --skill stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stats?

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

Security grade badge for Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sravan27-stats/badge)](https://www.skillsdirectory.com/skills/sravan27-stats)

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
---
description: Show current context-os graph status, git state, and recent session signals for the active repository.
allowed-tools: [Bash]
disable-model-invocation: true
---

# Context OS Stats

Prefer the CLI status command when available:

```bash
context-os status
```

If the binary is not installed, show the local graph and git snapshot:

```bash
python3 - <<'PY'
import json, os, subprocess
root = os.getcwd()
graph = os.path.join(root, ".context-os", "repo-graph.json")
print("repo:", root)
print("graph:", "present" if os.path.exists(graph) else "missing")
if os.path.exists(graph):
    data = json.load(open(graph))
    print("files:", len(data.get("files", {})))
    print("hot:", ", ".join(h.get("path", "") for h in data.get("hot_files", [])[:3]))
try:
    print(subprocess.check_output(["git", "status", "--short", "--branch"], text=True).strip())
except Exception as exc:
    print("git:", exc)
PY
```

Keep the answer short and focused on whether auto-context is ready.

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.

Comments

Loading comments…

Newsletter

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