Skip to content
Back to skills

Ut Hooks

ASecurity

View UltraThink hook event log and privacy audit trail

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 26, 2026
toolsbashgit

Security analysis

A100/100

Scanned October 26, 2026

npx -y skills add nhan03bit/ultrathink --skill ut-hooks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ut Hooks?

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

Security grade badge for Ut Hooks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nhan03bit-ut-hooks/badge)](https://www.skillsdirectory.com/skills/nhan03bit-ut-hooks)

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: ut-hooks
description: View UltraThink hook event log and privacy audit trail
disable-model-invocation: true
allowed-tools: Bash, Read
argument-hint: "[count]"
---

# UltraThink Hook Events

View the privacy hook event log.

## Show recent events

The hook log is at `./reports/hook-events.jsonl` (relative to git root) or check common locations:

```bash
LOG_FILE=""
for path in "$(git rev-parse --show-toplevel 2>/dev/null)/reports/hook-events.jsonl" "./reports/hook-events.jsonl" "$HOME/Documents/GitHub/InuVerse/ai-agents/ultrathink/reports/hook-events.jsonl"; do
  if [ -f "$path" ]; then
    LOG_FILE="$path"
    break
  fi
done

if [ -z "$LOG_FILE" ]; then
  echo "No hook event log found"
  exit 0
fi

COUNT="${1:-20}"
echo "Last $COUNT hook events from: $LOG_FILE"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
tail -n "$COUNT" "$LOG_FILE" | jq -r '"[\(.severity)] \(.timestamp) \(.action) — \(.path // .file // "n/a") — \(.description // .message // "n/a")"' 2>/dev/null || tail -n "$COUNT" "$LOG_FILE"
```

Default to 20 events, or use `$ARGUMENTS` as the count.

## Summary stats

```bash
if [ -f "$LOG_FILE" ]; then
  echo ""
  echo "Stats:"
  echo "  Total events: $(wc -l < "$LOG_FILE" | tr -d ' ')"
  echo "  Blocked:      $(grep -c '"blocked"' "$LOG_FILE" 2>/dev/null || echo 0)"
  echo "  Allowed:      $(grep -c '"allowed"' "$LOG_FILE" 2>/dev/null || echo 0)"
  echo "  Warnings:     $(grep -c '"warning"' "$LOG_FILE" 2>/dev/null || echo 0)"
fi
```

Present results in a clean table format with severity color indicators.

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.