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.01001 |
| Opus 5.5 | $0.00008 | $0.00400 |
| Sonnet 5.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 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.
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/_internal/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)
- 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.
- 6d ago Changed 19cd899d5b8a
- 2mo ago Changed 55d1519b44ca
- 2mo 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 (18 stars, last pushed yesterday), licensed Apache-2.0. It adds 19 tokens to every session and 1,001 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.
add-logs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-logsSolaceProducts/solace-broker-mcp | Skill | 18 | yesterday | Apache-2.0 | A | 19 | Claude Code |
| migrate-goldmark-extension-v1-to-v2yuin/goldmark | Skill | 5.1k | 4d ago | MIT | A | 26 | Claude Code |
| migrate-goldmark-app-v1-to-v2yuin/goldmark | Skill | 5.1k | 4d ago | MIT | A | 25 | Claude Code |
| use-modern-goJetBrains/go-modern-guidelines | Skill | 3.9k | 22d ago | Apache-2.0 | A | 32 | Claude Code |
| jwx-guide-v4lestrrat-go/jwx | Skill | 2.4k | 3d ago | MIT | A | 61 | Claude Code |
| goericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 86 | Claude Code, Codex |
| gographozgurcd/gograph | Skill | 231 | yesterday | MIT | A | 69 | Claude Code |