solace-broker-mcp: Skill for Claude Code

.claude/skills/check-logs/SKILL.md

check-logs is a skill for Claude Code from SolaceProducts/solace-broker-mcp. It costs 27 tokens per session (1,188 once invoked), scanned A, original, Apache-2.0.

A checker for unsafe logging patterns in Go code. It looks for exposed credentials, inappropriate struct logging, direct standard-output use, and other listed logging violations.

In plain words
What is it for?
Use it to scan the whole Go codebase, one Go file, or only staged Go files before committing, after adding logs, during an audit, or while reviewing changes.
Why use it?
It helps catch secrets and non-compliant logging before code is committed or reviewed. The checks are based on the project's secure logging rules.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is SolaceProducts/solace-broker-mcp's own configuration. It tells Claude Code how to work on solace-broker-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything solace-broker-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SolaceProducts/solace-broker-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SolaceProducts/solace-broker-mcp/main/.claude/skills/check-logs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SolaceProducts/solace-broker-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/solaceproducts/solace-broker-mcp/check-logs/github.svg)](https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/check-logs)
Your own site
<a href="https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/check-logs"><img src="https://agentmods.dev/badge/skills/solaceproducts/solace-broker-mcp/check-logs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/check-logs"><img src="https://agentmods.dev/badge/skills/solaceproducts/solace-broker-mcp/check-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01188
Opus 5.5 $0.00011 $0.00475
Sonnet 5.5 $0.00005 $0.00238
Haiku 4.5 $0.00003 $0.00119

Measured 6d ago against content hash faa6508869ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/check-logs/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Check Logs

Scan Go code for logging security violations and compliance issues. Invoked with /check-logs.

When to use

  • Before committing code
  • After adding logging to a file
  • As a periodic audit of the codebase
  • When reviewing someone else's changes

Usage

  • /check-logs — scan the entire codebase
  • /check-logs <file_path> — scan a specific file
  • /check-logs staged — scan only git-staged files

Steps

Step 1: Read the rules

Read the secure logging rules at docs/_internal/secure-logging-rules.md in the project root. These are the rules you're checking against.

Step 2: Identify files to scan

Based on the invocation:

  • No args: scan all .go files under cmd/ and internal/
  • File path: scan that file
  • staged: run git diff --cached --name-only -- '*.go' and scan those files

Step 3: Run violation checks

For each file, check for the following violations in order of severity:

CRITICAL — Credential exposure
  • C-01: Credentials in log calls — Any log call that includes Password, Username, Token, Secret, or Authorization field values
  • C-02: Raw struct logging — slog.Any("key", someStruct) or log.Printf("%+v", someStruct) where the struct is or contains a credential-carrying type (BrokerConfig, AuthConfig, ServerConfig, HTTPClient)
  • C-03: Config map logging — Logging map[string]*BrokerConfig or the full ServerConfig.Brokers map
  • C-04: Raw Authorization header — Logging the value of an Authorization HTTP header
  • C-05: URL with credentials — Logging a URL that matches ://.*:.*@ pattern
HIGH — Missing protections
  • H-01: Missing LogValuer — Credential-carrying types (AuthConfig, BrokerConfig, and any struct with password/token/secret fields) that don't implement slog.LogValuer
  • H-02: Missing ReplaceAttr — slog handler created without ReplaceAttr safety net
  • H-03: Stdout logging — Any log output directed to os.Stdout instead of os.Stderr
  • H-04: Old log package — Usage of log.Printf, log.Println, log.Fatalf, log.Fatal instead of slog

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed faa6508869ff
  2. 2mo ago Changed beb3d32a9cd5
  3. 2mo ago First seen · 116 lines · 27 tokens per session scan A ee3f059f538e

Subscribe to this mod's changes

check-logs is a skill published in the GitHub repository SolaceProducts/solace-broker-mcp (18 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 1,188 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

check-logs compared with skills from other repositories

check-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-logsSolaceProducts/solace-broker-mcpSkill18yesterdayApache-2.0A27Claude Code
mma-investigatorcockroachdb/cockroachSkill33k2d agononeA47Claude Code
pi-loop-forensicsdimetron/pi-goSkill2223d agoMITA65Claude Code, Codex
lsp-inspectblackwell-systems/agent-lspSkill172yesterdayMITA126Claude Code
nightly-session-watchdimetron/pi-goSkill2223d agoMITA78Claude Code, Codex
lsp-refactorblackwell-systems/agent-lspSkill172yesterdayMITA57Claude Code
lsp-dead-codeblackwell-systems/agent-lspSkill172yesterdayMITA43Claude Code