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.
curl -O https://raw.githubusercontent.com/SolaceProducts/solace-broker-mcp/main/.claude/skills/add-logs/SKILL.mdgit clone --depth 1 https://github.com/SolaceProducts/solace-broker-mcpWrote 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.
[](https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/add-logs)<a href="https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/add-logs"><img src="https://agentmods.dev/badge/skills/solaceproducts/solace-broker-mcp/add-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.
<a href="https://agentmods.dev/skills/solaceproducts/solace-broker-mcp/add-logs"><img src="https://agentmods.dev/badge/skills/solaceproducts/solace-broker-mcp/add-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00998 |
| Opus 5 | $0.00010 | $0.00499 |
| Sonnet 5 | $0.00004 | $0.00200 |
| Haiku 4.5 | $0.00002 | $0.00100 |
Grade A, and why
add-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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Logs
Add structured log/slog logging to Go code that follows the project's secure logging rules. Invoked with /add-logs.
When to use
- After implementing a new feature or function that needs logging
- When migrating
log.Printfcalls toslog - When adding logging to an existing file that lacks it
Usage
/add-logs <file_path>— add logging to a specific file/add-logs <file_path> <function_name>— add logging to a specific function
If invoked without arguments, ask the user which file or function to target.
Steps
Step 1: Read the rules
Read the secure logging rules at docs/secure-logging-rules.md in the project root. These rules are non-negotiable — every log line you write must comply.
Step 2: Read the target code
Read the file or function the user specified. Understand what it does, what events are significant, and what data flows through it.
Step 3: Identify loggable events
For each function, identify events that belong in the Always-Log list from the rules:
- Server startup/shutdown
- Tool invocations (tool name, broker alias, outcome, duration_ms)
- Tool errors (tool name, broker alias, error_type, http_status)
- Broker connections created (broker alias, URL)
- Config loaded (broker_count, port)
- Any error or failure path
Step 4: Write the log calls
For each event, write a slog call following these constraints:
Always:
- Use
slog.Info(),slog.Warn(), orslog.Error()— notlog.Printf - Use structured fields:
slog.String("key", value),slog.Int("key", value),slog.Duration("key", value) - Keep the message string static and descriptive (no variable data in the message)
- Include all required fields from the Always-Log table
Never:
- Never log anything on the Never-Log list (passwords, usernames, tokens, auth headers, raw config maps, URLs with embedded credentials)
- Never use
fmt.Sprintfin the message string with external data - Never log raw structs with
slog.Any("key", someStruct)— log explicit fields - Never log raw
err.Error()from external systems (SEMP, HTTP) without reviewing what it could contain - Never log to stdout — always stderr
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.
- 5d ago Changed 55d1519b44ca
- 10d ago First seen · 118 lines · 19 tokens per session scan A 80290d62462e
add-logs is a skill published in the GitHub repository SolaceProducts/solace-broker-mcp (11 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 998 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
migrate-goldmark-extension-v1-to-v2
Migrate goldmark extension from goldmark v1 to v2.
migrate-goldmark-app-v1-to-v2
Migrate your application from goldmark v1 to v2.
use-modern-go
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
jwx-guide-v4
Guide for developing Go applications with github.com/lestrrat-go/jwx v4 — parse/sign JWTs, work with JWS/JWE/JWK, pick algorithms, and avoid the common footguns. For developers using jwx, not for developing the library itself.
gograph
Go repository intelligence for Claude Code. Use when reading, navigating, editing, reviewing, or refactoring a Go codebase. Exposes 64 query, analysis, and workflow capabilities through the local gograph MCP server, including bounded first-call exploration, AST-aware call graphs, blast-radius analysis, impact, and…
go-127
What changed in Go 1.27 (released August 2026) and how it changes the way Go is written in pi-go. Use this skill when writing or reviewing Go that could use a 1.27 feature, when bumping the go directive in go.mod, when a build or test behaves differently after a toolchain upgrade, or when code-guidelines-go points…