Skip to content
Back to skills

Ctxvitals

ASecurity

Audit the user's AI agent stack — measure real token cost of MCP servers (via live tools/list probing), skills, rules, commands, and hooks; flag security issues, duplicates, and stale configs; output an A–F grade. Use when the user asks to audit their agent setup, check MCP token cost, find context bloat, scan skills for security issues, or asks "what is my agent costing me".

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 13, 2026
ai-agentsbashnodesecurity

Works with

  • mcp

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add princejain756/ctxvitals --skill ctxvitals --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ctxvitals?

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

Security grade badge for Ctxvitals
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/princejain756-ctxvitals/badge)](https://www.skillsdirectory.com/skills/princejain756-ctxvitals)

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: ctxvitals
description: Audit the user's AI agent stack — measure real token cost of MCP servers (via live tools/list probing), skills, rules, commands, and hooks; flag security issues, duplicates, and stale configs; output an A–F grade. Use when the user asks to audit their agent setup, check MCP token cost, find context bloat, scan skills for security issues, or asks "what is my agent costing me".
---

# ctxvitals

Run the vitals check on this machine's agent stack.

## Usage

```bash
npx ctxvitals            # full audit with live MCP probing
npx ctxvitals --no-probe # static only
npx ctxvitals --json     # machine-readable
npx ctxvitals --html report.html
```

If `npx` is unavailable, run the repo directly:
`node <repo>/bin/ctxvitals.js`.

## Reading the output

- **CONTEXT BILL** — tokens consumed before the first user message, per item.
  `probed` = measured from a live `tools/list`; `static` = file-size estimate.
- **SECURITY** — HIGH needs immediate attention (exfil patterns, curl-pipe-sh,
  injection phrases, hardcoded secrets). MEDIUM is worth a look. LOW is hygiene.
- **GRADE** — A–F scorecard from measured numbers.

## After the audit

Suggest the fix, don't just report: remove duplicate servers, pin unpinned
packages, move plaintext secrets to env vars, delete stale configs, and trim
always-loaded rules/skill descriptions that no longer pull weight.

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.