Skip to content
Back to skills

Cm Guardian Runtime

BSecurity

Use when you need to check if a destructive command is blocked or run guardian freeze checks.

  • 52 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentsshellbashdebugginggit

Works with

  • cursor

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned May 29, 2026

npx -y skills add tody-agent/codymaster --skill cm-guardian-runtime --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cm Guardian Runtime?

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

Security grade badge for Cm Guardian Runtime
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/tody-agent-cm-guardian-runtime/badge)](https://www.skillsdirectory.com/skills/tody-agent-cm-guardian-runtime)

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: cm-guardian-runtime
description: "Use when you need to check if a destructive command is blocked or run guardian freeze checks."
---
# cm-guardian-runtime — destructive command & freeze checks

## Commands

```bash
cm guardian check -- git push --force origin main    # exits 1 if blocked
cm guardian path-check --file ./src/app.ts --roots src,lib
```

## Behaviour

- Regex set for `rm -rf`, `DROP TABLE`, `git push --force`, `git reset --hard`, pipes to shell, etc.
- Prefix whitelist includes `npm run build`, `npm test`, `npx vitest`.
- Violations append to `.cm/guardian.log`.

## Investigate / debug mode

When using **cm-debugging** or root-cause work, treat **freeze roots** as mandatory: only edit inside allowed directories until the hypothesis is proven.

## Config

See `.cm/config.example.yaml` → `guardian:`. Hook patterns (Cursor / Codex): [docs/workflows/guardian-hooks.md](../../docs/workflows/guardian-hooks.md) (repo root).

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.