Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add pilot617/awesome-claude-code-plugins/plugin install cw-debugWrote 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/pilot617/awesome-claude-code-plugins/cw-debug)<a href="https://agentmods.dev/skills/pilot617/awesome-claude-code-plugins/cw-debug"><img src="https://agentmods.dev/badge/skills/pilot617/awesome-claude-code-plugins/cw-debug/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/pilot617/awesome-claude-code-plugins/cw-debug"><img src="https://agentmods.dev/badge/skills/pilot617/awesome-claude-code-plugins/cw-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00002 | $0.01974 |
| Opus 5.5 | $0.00001 | $0.00790 |
| Sonnet 5.5 | $0.00000 | $0.00395 |
| Haiku 4.5 | $0.00000 | $0.00197 |
Grade A, and why
cw-debug 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 3mo 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 — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cw-debug — CloudWatch Log Investigation Skill
You are investigating a production issue using CloudWatch Logs Insights. Follow the structured methodology below, adapting queries based on what you discover in each phase.
Arguments
The user will invoke this skill as:
/cw-debug <log_group> <filter_pattern> <hours_back> <region> "<issue_description>"
log_group: The CloudWatch log group path (e.g.,/aws/ecs/my-service)filter_pattern: Any string to filter logs — a user ID, request ID, service name, error code, or any identifier relevant to the investigationhours_back: How many hours of logs to search (e.g.,24,168for 7 days)region: AWS region (e.g.,us-east-1)issue_description: Free-text description of the problem being investigated (bug, performance issue, unexpected behavior, etc.)
Setup
- Always use
.venv/bin/pythonto run scripts - The skill has its own self-contained CloudWatch utility at
${CLAUDE_PLUGIN_ROOT}/skills/cw-debug/scripts/cw.py - Do NOT import from
cloudwatch_utils.py— use the skill's own module instead - To use in inline scripts, add the scripts dir to
sys.paththen import:import sys, os sys.path.insert(0, os.path.expanduser("${CLAUDE_PLUGIN_ROOT}/skills/cw-debug/scripts")) from cw import CWClient cw = CWClient(region="{region}") results = cw.query("{query}", hours_back={hours_back}, log_group="{log_group}") cw.print_table(results) - Or use the CLI directly:
.venv/bin/python ${CLAUDE_PLUGIN_ROOT}/skills/cw-debug/scripts/cw.py \ --region {region} --log-group "{log_group}" --hours {hours_back} \ --query "fields @timestamp, @message | limit 25" - Available
CWClientmethods:cw.query(query_string, hours_back, log_group)— single log group querycw.query_multi(query_string, hours_back, log_groups)— query multiple log groups, merge results with_log_grouptagCWClient.summarize_stats(results, value_field, group_field=None)— compute count/avg/min/p50/p90/p95/p99/max from fetched resultsCWClient.time_bucket_counts(results, timestamp_field, bucket_minutes)— group into time buckets for spike detectionCWClient.print_table(results)— ASCII table outputCWClient.print_json(results)— JSON outputcw.save(results, name)— save toinvestigations/<name>.csv
- Refer to
${CLAUDE_PLUGIN_ROOT}/skills/cw-debug/query_library.mdfor pre-built query templates
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 170 lines · 2 tokens per session scan A 818054308da8
cw-debug is a skill published in the GitHub repository pilot617/awesome-claude-code-plugins (7 stars, last pushed 8mo ago), licensed MIT. It adds 2 tokens to every session and 1,974 once invoked, about $0.0000 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-31.
cw-debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cw-debugpilot617/awesome-claude-code-plugins | Skill | 7 | 8mo ago | MIT | A | 2 | Claude Code |
| architecture-optimizationwondelai/skills | Skill | 2.8k | today | MIT | A | 226 | Claude Code |
| remove-technical-debtwondelai/skills | Skill | 2.8k | today | MIT | A | 224 | Claude Code, Codex |
| release-itwondelai/skills | Skill | 2.8k | today | MIT | A | 131 | Claude Code, Codex |
| mobile-flows-maestrojohnkozaris/jko-claude-plugins | Skill | 11 | 25d ago | MIT | A | 102 | Claude Code |
| esp32-expertjohnkozaris/jko-claude-plugins | Skill | 11 | 25d ago | MIT | A | 137 | Claude Code |
| analyze-github-issueTNT-Likely/honeycomb | Skill | 3 | 1mo ago | MIT | A | 166 | Claude Code |