swarm-logging-agent

Audit gnubok's codebase for structured logging and PII redaction gaps.

209|46|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/erp-mafia/gnubok --skill swarm-logging-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm-logging-agent
Source: https://github.com/erp-mafia/gnubok/tree/main/.claude/skills/swarm-logging-agent
Command: npx skills add https://github.com/erp-mafia/gnubok --skill swarm-logging-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits gnubok's codebase to identify logging and observability gaps, ensuring logs are structured, contextual, and free from sensitive data.

Core Features & Use Cases

  • Checks lib/logger.ts and all logging paths for proper structured logging with module prefixes, levels, and context.
  • Flags console.log usage in production code, missing request IDs, and inadequate redaction of sensitive data.
  • Produces a structured audit report with file-path, line references, and remediation guidance for developers.

Quick Start

Run the swarm-logging-agent against the repository to generate a structured log audit report.

Frequently Asked Questions about swarm-logging-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit my codebase for structured logging and PII leakage?

To audit for structured logging and PII leakage, scan your codebase to detect console usage, missing context, and redaction gaps across server and client paths. This generates a structured report with file references and remediation guidance.

Why does console.log usage cause observability issues in production code?

Console.log usage causes observability issues because it bypasses structured logger configurations, dropping module prefixes, severity levels, and context. Auditing flags these gaps to ensure production logs retain standardized JSON-like structures.

What's the best way to check for missing redaction rules in application logs?

The best way to check for missing redaction rules is to scan logging paths across app and library directories for unredacted sensitive data. This surfaces PII leakage gaps and produces remediation guidance for compliance.

Can I scan both server and client code for missing request IDs and context?

Yes, you can scan both server and client code to detect missing request IDs and inadequate context. The audit targets all extensions and application paths, verifying that logs include required module prefixes and structured metadata.

What limitations exist when auditing logs for compliance with redaction rules?

A limitation when auditing logs for compliance is that it relies on static codebase scanning rather than runtime analysis. It identifies static redaction gaps and missing context but cannot evaluate dynamically generated log payloads.