cdkd: Skill for Claude Code

.claude/skills/use-cdkd/SKILL.md

use-cdkd is a skill for Claude Code from go-to-k/cdkd. It costs 58 tokens per session (649 once invoked), scanned A, original, Apache-2.0.

Instructions for building the current cdkd checkout and using its command-line program from another AWS CDK project. AWS CDK is a toolkit for defining cloud infrastructure in code.

In plain words
What is it for?
It is for building cdkd, finding the generated command-line file, running it directly, or linking it globally with pnpm.
Why use it?
It lets developers test their local cdkd changes against another project without first publishing a package.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery.

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 →

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/use-cdkd/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 use-cdkd

README.md
[![agentmods](https://agentmods.dev/badge/skills/go-to-k/cdkd/use-cdkd.svg)](https://agentmods.dev/skills/go-to-k/cdkd/use-cdkd)
Your own site
<a href="https://agentmods.dev/skills/go-to-k/cdkd/use-cdkd"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/use-cdkd.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 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 warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 6
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Agent Snooping · line 9
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 19
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium MCP Rug Pull · line 10
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00058 $0.00649
Opus 5 $0.00029 $0.00324
Sonnet 5 $0.00012 $0.00130
Haiku 4.5 $0.00006 $0.00065

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

Security

Grade A, and why

use-cdkd 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 8d 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/use-cdkd/SKILL.md · 57 lines

How it starts

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

Use the Current cdkd Checkout

Build the current checkout and use it from another CDK project for testing. For everything that happens AFTER the binary is chosen — deployment boundary, preview, wait modes, verification, destructive-operation guards — read and follow plugins/cdkd-skills/skills/cdkd/SKILL.md; it applies identically whether the binary is a built checkout or a published release.

Build the checkout

From the cdkd repository root, build the CLI:

vp run build

If the checkout has not been set up, follow CONTRIBUTING.md first: trust and install the pinned mise tools, run vp env install, and run vp install. Use the repository-pinned development runtime instead of replacing the build command.

Resolve and report the absolute CLI path:

echo "$(pwd)/dist/cli.js"

Invoke it from another project

Prefer direct invocation for one-off testing because it does not modify the user's shell or global packages:

node /absolute/path/to/cdkd/dist/cli.js --version

When the user explicitly wants cdkd available globally, offer the repository's pnpm link workflow:

pnpm setup
# Open a new shell, or reload the shell configuration that pnpm updated.
pnpm link --global
cdkd --version

Run pnpm setup only when needed; it updates shell configuration. Rebuilding with vp run build updates the linked binary without re-linking. To remove the link, run pnpm unlink --global @go-to-k/cdkd or pnpm rm --global @go-to-k/cdkd.

Read the full file on GitHub · 57 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. 8d ago First seen · 57 lines · 58 tokens per session scan A f6f8b28fce2c

Subscribe to this mod's changes

use-cdkd is a skill published in the GitHub repository go-to-k/cdkd (137 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 649 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

aws-cdk-mcp-server-mcp

AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.

Friz-zy/ai-capability-registry · 33 tokens

aws-cdk-development

AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python. Use when creating CDK stacks, defining CDK constructs, implementing infrastructure as code, or when the user mentions CDK, CloudFormation, IaC, cdk synth, cdk deploy, or wants to define AWS infrastructure programmatically.…

zxkane/aws-skills · 88 tokens

aws-agentic-ai

AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Agent Registry, or Evaluations. Covers agent deployment, MCP tool integration, credential…

zxkane/aws-skills · 127 tokens

aws-cdk-discipline

AWS infrastructure policy for fermi-agentcore - all changes through CDK committed to main, Fermi AWS access is read-only verification.

abel30567/fermi-mcp · 32 tokens

iam-policy-validator

Validate the IAM policies in a CloudFormation template against AWS IAM Access Analyzer before deploying, using the cfn-policy-validator CLI. Use when reviewing or gating a CloudFormation (or CDK-synthesized) template that defines IAM identity or resource policies, when asked to check a template for policy errors…

awslabs/aws-cloudformation-iam-policy-validator · 81 tokens

aws-bedrock-ai

WORKFLOW SKILL — Amazon Bedrock and AWS AI design: foundation model selection, knowledge bases (RAG), agents for bedrock, guardrails, provisioned throughput, batch inference, fine-tuning, KMS, VPC endpoints, regional GA, and per-provider licensing.

odere-pro/claude-aws-architect · 65 tokens