logs

logs is a command for Claude Code from Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace. It costs 12 tokens per session (1,273 once invoked), scanned A, original, MIT.

A command for viewing and filtering logs from Dapr applications and their sidecars. Dapr is a runtime that provides building blocks for distributed applications, and a sidecar is a helper process running beside an application.

In plain words
What is it for?
Use it to select an application, show recent or live logs, inspect sidecar output, and filter messages by level, time, or search pattern.
Why use it?
It gathers logs from local development, Docker, Kubernetes, and Azure Container Apps so you can find errors without checking each environment manually.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the dapr plugin — 9 skills, 14 commands, 8 agents shipped together

Good fit Use it to select an application, show recent or live logs, inspect sidecar output, and filter messages by level, time, or search pattern.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace

Made for: Claude Code.

Or install dapr, the plugin that ships this one along with the rest of its 9 skills, 14 commands, 8 agents.

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 logs

README.md
[![agentmods](https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs/github.svg)](https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs)
Your own site
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/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 logs

Your own site · 80×15
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,273 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.
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.00012 $0.01273
Opus 5 $0.00006 $0.00636
Sonnet 5 $0.00002 $0.00255
Haiku 4.5 $0.00001 $0.00127

Measured 12d ago against content hash af2d1e88c35b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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 12d 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.

plugins/dapr/commands/logs.md · 194 lines

How it starts

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

DAPR Log Viewer

Stream and filter logs from DAPR applications and sidecars.

Behavior

When the user runs /dapr:logs:

  1. Detect Environment

    • Local development (dapr run)
    • Docker containers
    • Kubernetes (AKS, etc.)
    • Azure Container Apps
  2. Identify Applications

    • List running DAPR apps: dapr list
    • Get app-id from $ARGUMENTS or prompt
  3. Stream Logs

    Local Development:

    dapr logs --app-id {app-id}
    

    Kubernetes:

    # Application logs
    kubectl logs deployment/{app} -c {app}
    
    # Sidecar logs
    kubectl logs deployment/{app} -c daprd
    

    Azure Container Apps:

    az containerapp logs show \
      --name {app} \
      --resource-group {rg} \
      --follow
    
  4. Filter and Format

    • Filter by log level (debug, info, warn, error)
    • Filter by time range
    • Search for specific patterns
    • Colorize output by level

Arguments

  • $ARGUMENTS - App and filter options:
    • {app-id} - Application to view logs for
    • --level {error|warn|info|debug} - Filter by level
    • --since {time} - Logs since (e.g., "5m", "1h")
    • --tail {n} - Last n lines
    • --sidecar - Show sidecar logs instead
    • --follow or -f - Stream live logs

Examples

/dapr:logs order-service
/dapr:logs order-service --level error
/dapr:logs order-service --since 5m --follow
/dapr:logs order-service --sidecar
/dapr:logs --tail 100

Log Output Format

DAPR Logs: order-service
==========================

[2024-01-15 10:23:45] INFO  Starting application...
[2024-01-15 10:23:46] INFO  DAPR sidecar connected on port 3500
[2024-01-15 10:23:46] INFO  Components loaded: statestore, pubsub
[2024-01-15 10:23:47] INFO  Listening on port 8000
[2024-01-15 10:24:01] DEBUG Processing order: ORD-123
[2024-01-15 10:24:02] INFO  Order saved to state store
[2024-01-15 10:24:02] INFO  Event published: order.created
[2024-01-15 10:25:15] WARN  Retry attempt 1 for inventory service
[2024-01-15 10:25:16] ERROR Failed to invoke inventory-service: timeout

Press Ctrl+C to stop streaming

Read the full file on GitHub · 194 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. 12d ago First seen · 194 lines · 12 tokens per session scan A af2d1e88c35b

Subscribe to this mod's changes

logs is a command published in the GitHub repository Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace (4 stars, last pushed 8mo ago), licensed MIT. It adds 12 tokens to every session and 1,273 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-31.