Skip to content
Back to skills

Sg

ASecurity

Metacognitive oversight. "$sg review" for on-demand evaluation, "$sg init" to set up, "$sg audit" to review decisions.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill sg --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sg?

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

Security grade badge for Sg
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-claude-skill-registry-data-022a9016/badge)](https://www.skillsdirectory.com/skills/majiayu000-claude-skill-registry-data-022a9016)

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: sg
description: Metacognitive oversight. "$sg review" for on-demand evaluation, "$sg init" to set up, "$sg audit" to review decisions.
---

# superego - Metacognitive Oversight

Superego provides metacognitive review for AI sessions, catching premature commitment, scope creep, and misalignment.

All commands invoke the `sg` CLI. If sg is not installed, show:
```
sg not installed. Install with:
  brew tap open-horizon-labs/homebrew-tap && brew install superego
  # or: cargo install superego
```

## $sg review

Review staged changes or current work. On-demand metacognitive evaluation.

```bash
sg review
```

## $sg init

Initialize superego for this project.

```bash
sg init
```

## $sg audit

Review decision history with LLM analysis.

```bash
sg audit
```

## $sg history

Query decision history.

```bash
sg history
```

## $sg prompt list

List available superego prompts.

```bash
sg prompt list
```

## $sg prompt switch <name>

Switch to a different superego prompt.

```bash
sg prompt switch <name>
```

## $sg prompt show

Show current prompt content.

```bash
sg prompt show
```

## $sg mode

Show current evaluation mode (always or pull).

```bash
sg mode
```

## $sg reset

Reset superego state (recovery from corruption).

```bash
sg reset
```

## $sg check

Check hooks and auto-update if outdated.

```bash
sg check
```

---

## Protocol

**Mode:** Pull mode - evaluates only when explicitly requested.

**When to use $sg review:**
- Before committing to a plan or approach
- When choosing between alternatives
- Before non-trivial implementations
- When the task feels complex or uncertain
- Before claiming work is "done"

**Results:**
- `has_concerns: true` = STOP and show feedback to user
- `has_concerns: false` = continue with confidence
- `skipped: true` = proceed normally (this is fine)

Superego is opt-in. Use it for high-stakes decisions, architectural choices, or when you want a second opinion.

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.