cdkd: Skill for Claude Code

.claude/skills/new-provider/SKILL.md

new-provider is a skill for Claude Code from go-to-k/cdkd. It costs 39 tokens per session (1,516 once invoked), scanned A, original, Apache-2.0.

A scaffolding helper that creates the starting files for an AWS SDK Provider for a specified AWS resource type. An AWS SDK Provider contains the code that creates, updates, deletes, imports, and reads details about that resource.

In plain words
What is it for?
Use it when adding support for an AWS resource such as `AWS::SES::EmailIdentity` to cdkd, including provider registration and initial tests.
Why use it?
Adding a provider by hand requires repeating file creation, registration, AWS API selection, and test setup. This helper lays out that structure for the chosen resource.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is go-to-k/cdkd's own configuration. It tells Claude Code how to work on cdkd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cdkd configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { matchesCdkPath, resolveExplicitPhysicalId, CDK_PATH_TAG } from '../import-helpers.js';.

View source ↗ go-to-k/cdkd
Reuse

Borrowing it

Nothing to install: this file belongs to go-to-k/cdkd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/go-to-k/cdkd/main/.claude/skills/new-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/go-to-k/cdkd

Made for: Claude Code.

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 new-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/go-to-k/cdkd/new-provider/github.svg)](https://agentmods.dev/skills/go-to-k/cdkd/new-provider)
Your own site
<a href="https://agentmods.dev/skills/go-to-k/cdkd/new-provider"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/new-provider/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 new-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/go-to-k/cdkd/new-provider"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/new-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,516 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01516
Opus 5 $0.00019 $0.00758
Sonnet 5 $0.00008 $0.00303
Haiku 4.5 $0.00004 $0.00152

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

Security

Grade A, and why

new-provider 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 10d 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.

.claude/skills/new-provider/SKILL.md · 127 lines

How it starts

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

New Provider Scaffold

You are scaffolding a new SDK Provider for cdkd.

Input

The user provides an AWS resource type like AWS::SES::EmailIdentity.

Steps

  1. Parse the resource type to determine:

    • Service name (e.g., SES)
    • Resource name (e.g., EmailIdentity)
    • AWS SDK client package (e.g., @aws-sdk/client-ses)
    • Provider file name (e.g., ses-email-identity-provider.ts)
  2. Check if provider already exists in src/provisioning/providers/ and src/provisioning/register-providers.ts.

  3. Read an existing provider as reference for the pattern. Use a simple one like src/provisioning/providers/ssm-parameter-provider.ts or src/provisioning/providers/logs-log-group-provider.ts.

  4. Read the AWS SDK docs or infer the API calls needed:

    • CREATE: Which API creates this resource? What does it return (physical ID, attributes)?
    • UPDATE: Which API updates this resource?
    • DELETE: Which API deletes this resource?
    • getAttribute: Which attributes might be needed for Fn::GetAtt?
    • import: Which API verifies a resource exists by physical id (Get* / Describe* / Head*), and which List* + ListTags* (or equivalent) lookup-by-tag pair lets you find a resource by its aws:cdk:path tag? See "Import method" under step 5 — most providers follow the same shape.
  5. Create the provider file at src/provisioning/providers/{service}-{resource}-provider.ts:

    • Import the AWS SDK client and commands
    • Implement ResourceProvider interface (create, update, delete, getAttribute, import)
    • Use getAwsClient from ../../utils/aws-client-factory.js for client creation
    • Follow ESM import conventions (.js extension)
    • Return proper physicalId and attributes from create

    Import method — copy this shape from a similar provider (e.g. s3-bucket-provider.ts for tag-array services, lambda-function-provider.ts for tag-map services, kms-provider.ts for services with no template name property):

Read the full file on GitHub · 127 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. 10d ago First seen · 127 lines · 39 tokens per session scan A 21cfe30092e1

Subscribe to this mod's changes

new-provider is a skill published in the GitHub repository go-to-k/cdkd (138 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,516 once invoked, about $0.0002 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.