aws-sdk-js-v3-usage

aws-sdk-js-v3-usage is a skill for Claude Code, Codex from jkomyno/.dotfiles. It costs 69 tokens per session (2,204 once invoked), scanned A, a copy of aws-sdk-js-v3-usage, MIT.

A reference guide for using AWS services from JavaScript or TypeScript with AWS SDK version 3 packages. It covers client setup, data validation, serialization, and generated code patterns.

In plain words
What is it for?
Use it when writing or reviewing JavaScript or TypeScript code that calls services such as S3 or DynamoDB through the AWS SDK.
Why use it?
It helps prevent common SDK mistakes, such as importing from internal package paths or configuring clients incorrectly. It also gives consistent patterns for sending requests to AWS services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when writing or reviewing JavaScript or TypeScript code that calls services such as S3 or DynamoDB through the AWS SDK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage
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.

Any agent
npx skills add jkomyno/.dotfiles --skill aws-sdk-js-v3-usage
Clone the repo
git clone --depth 1 https://github.com/jkomyno/.dotfiles

Made for: Claude Code, Codex.

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 aws-sdk-js-v3-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage/github.svg)](https://agentmods.dev/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage)
Your own site
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage/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 aws-sdk-js-v3-usage

Your own site · 80×15
<a href="https://agentmods.dev/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage"><img src="https://agentmods.dev/badge/skills/jkomyno/.dotfiles/aws-sdk-js-v3-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,204 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 97% copy Near-identical to another mod 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.00069 $0.02204
Opus 5.5 $0.00028 $0.00882
Sonnet 5.5 $0.00014 $0.00441
Haiku 4.5 $0.00007 $0.00220

Measured 1mo ago against content hash b2c9841b84fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-sdk-js-v3-usage 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 1mo 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.

Origin

This is a copy

97% identical to aws-sdk-js-v3-usage — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

target/home/.agents/skills/aws-sdk-js-v3-usage/SKILL.md · 259 lines

How it starts

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

Do not use emojis in any code, comments, or output when this skill is active.

AWS SDK for JavaScript v3

Package Structure

  • @aws-sdk/client-* — one per service, generated by smithy-typescript; one-to-one with AWS services and operations
  • @aws-sdk/lib-* — higher-level helpers (e.g. lib-dynamodb, lib-storage)
  • @aws-sdk/* (no prefix) — utility packages (mostly internal; don't import deep paths)

Always import from the package root:

import { S3Client } from "@aws-sdk/client-s3"; // correct
// NOT: import { S3Client } from "@aws-sdk/client-s3/dist-cjs/S3Client"

Two Client Styles

Bare-bones (preferred — smaller bundle):

import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3";
const client = new S3Client({ region: "us-east-1" });
const output = await client.send(new GetObjectCommand({ Bucket: "b", Key: "k" }));

Aggregated (v2-style but NOT v2, larger bundle):

import { S3 } from "@aws-sdk/client-s3";
const client = new S3({ region: "us-east-1" });
const output = await client.getObject({ Bucket: "b", Key: "k" });

Client Configuration

No global config in v3 — pass config to each client. region is always required; set it explicitly or via AWS_REGION env var.

const config = { region: "us-east-1", maxAttempts: 5 };
const s3 = new S3Client(config);
const dynamo = new DynamoDBClient(config);

Do not read or mutate client.config after instantiation — it is a resolved form (e.g. region becomes an async function). See references/effective-practices.md.

For HTTP handler (NodeHttpHandler from @smithy/node-http-handler), retry strategy, endpoint details, logging, FIPS, dual-stack, protocol selection, and S3-specific options → see references/clients.md.

Credentials

All providers from @aws-sdk/credential-providers. Credentials are lazy and cached per client until ~5 min before expiry.

// Default chain (env → ini → IMDS/ECS) — use in most Node.js apps
const client = new S3Client({ credentials: fromNodeProviderChain() });

// Assume role (NOTE: fromTemporaryCredentials is correct for STS AssumeRole)
const client = new S3Client({
  credentials: fromTemporaryCredentials({ params: { RoleArn: "arn:aws:iam::123456789012:role/MyRole" } }),
});

// Named profile
const client = new S3Client({ profile: "my-profile" });

Read the full file on GitHub · 259 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. 1mo ago First seen · 259 lines · 69 tokens per session scan A b2c9841b84fa

Subscribe to this mod's changes

aws-sdk-js-v3-usage is a skill published in the GitHub repository jkomyno/.dotfiles (5 stars, last pushed 3d ago), licensed MIT. It adds 69 tokens to every session and 2,204 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to aws-sdk-js-v3-usage, differing in 10 lines, and is treated as a copy.

Related

aws-sdk-js-v3-usage compared with skills from other repositories

aws-sdk-js-v3-usage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-sdk-js-v3-usagejkomyno/.dotfilesSkill53d agoMITA69Claude Code, Codex
aws-sst-developmentsickn33/agentic-awesome-skillsSkill51kyesterdayMITA26Claude Code
azure-storage-file-share-tsbenjaminasterA/antigravity-awesome-skillsSkill522yesterdayMITA0Claude Code, Codex
pulumi-best-practicespulumi/agent-skillsSkill827d agoApache-2.0A92Claude Code, Codex
denoj4flmao/agent-skillsSkill4614d agoMITA70Claude Code, Codex
aws-lambda-typescript-integrationgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA95Claude Code
aws-cdkgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA110Claude Code