component

component is a command for Claude Code from Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace. It costs 25 tokens per session (2,232 once invoked), scanned A, original, MIT.

A command that creates Dapr component YAML files for connecting an application to storage, messaging, secrets, and other services. Dapr is a platform that provides common building blocks for distributed applications.

In plain words
What is it for?
Use it to configure state stores, publish-and-subscribe messaging, secret stores, and bindings for local development or Azure, AWS, and GCP services.
Why use it?
It avoids manually writing provider-specific configuration and helps keep connection details and secrets referenced correctly instead of placing secrets directly in the file.

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 configure state stores, publish-and-subscribe messaging, secret stores, and bindings for local development or Azure, AWS, and GCP services.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/component
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 component

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/component"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,232 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.00025 $0.02232
Opus 5 $0.00013 $0.01116
Sonnet 5 $0.00005 $0.00446
Haiku 4.5 $0.00003 $0.00223

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

Security

Grade A, and why

component 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/component.md · 338 lines

How it starts

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

DAPR Component Generator

Generate properly configured DAPR component YAML files for various backends across multiple cloud providers.

Behavior

When the user runs /dapr:component:

  1. Select Component Type

    • State Store (Redis, Cosmos DB, DynamoDB, Firestore, PostgreSQL, MongoDB)
    • Pub/Sub (Redis, Service Bus, SNS/SQS, GCP Pub/Sub, Kafka, RabbitMQ)
    • Secret Store (Key Vault, Secrets Manager, GCP Secret Manager, Local File, Kubernetes)
    • Binding (Blob Storage, S3, GCS, Event Grid, Kinesis, Cron, HTTP)
  2. Select Cloud Provider Based on component type, show relevant options:

    • Local development options (Redis, local file, LocalStack, emulators)
    • Azure (Cosmos DB, Service Bus, Key Vault, Blob Storage)
    • AWS (DynamoDB, SNS/SQS, Secrets Manager, S3, Kinesis, SES)
    • GCP (Firestore, Pub/Sub, Secret Manager, Cloud Storage)
  3. Configure Settings

    • Component name
    • Connection details
    • Authentication method (managed identity vs. connection string)
    • Component-specific settings
  4. Generate YAML Create component file in ./components/ directory with:

    • Proper schema and version
    • All required metadata
    • Secret references (not plain text)
    • Comments explaining settings
  5. Validate Run validation to ensure component is correct

Arguments

  • $ARGUMENTS - Component type and backend:

    Local/Generic:

    • state redis - Redis state store
    • pubsub redis - Redis pub/sub
    • binding cron - Cron scheduler

    Azure:

    • state cosmos - Azure Cosmos DB
    • pubsub servicebus - Azure Service Bus
    • secrets keyvault - Azure Key Vault
    • binding blob - Azure Blob Storage
    • binding eventhubs - Azure Event Hubs (streaming/IoT)
    • binding signalr - Azure SignalR (real-time WebSocket)
    • binding queuestorage - Azure Queue Storage (simple queues)

    AWS:

    • state dynamodb - AWS DynamoDB
    • pubsub snssqs - AWS SNS/SQS
    • secrets awssecrets - AWS Secrets Manager
    • binding s3 - AWS S3
    • binding kinesis - AWS Kinesis
    • binding sqs - AWS SQS
    • binding ses - AWS SES (email)

Read the full file on GitHub · 338 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 · 338 lines · 25 tokens per session scan A 9b50e9e7f5b7

Subscribe to this mod's changes

component 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 25 tokens to every session and 2,232 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.