auto-lambda-env

auto-lambda-env is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 45 tokens per session (2,857 once invoked), scanned C, original, MIT.

A setup tool for changing environment variables on AWS Lambda functions used by AI automation agents. Environment variables are configuration values such as credentials, table names, and service URLs.

In plain words
What is it for?
Use it to configure the work-item and pull-request router Lambda functions with AWS resource names, pipeline IDs, credentials, and other automation settings.
Why use it?
It provides one guided way to collect and apply the required operational settings without writing secrets to files.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the dx-automation plugin — 10 skills shipped together

Good fit Use it to configure the work-item and pull-request router Lambda functions with AWS resource names, pipeline IDs, credentials, and other automation settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/auto-lambda-env
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 easingthemes/dx-aem-flow --skill auto-lambda-env
Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow

Made for: Claude Code.

Or install dx-automation, the plugin that ships this one along with the rest of its 10 skills.

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 auto-lambda-env

README.md
[![agentmods](https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-lambda-env/github.svg)](https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-lambda-env)
Your own site
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-lambda-env"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-lambda-env/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 auto-lambda-env

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-lambda-env"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-lambda-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00045 $0.02857
Opus 5.5 $0.00018 $0.01143
Sonnet 5.5 $0.00009 $0.00571
Haiku 4.5 $0.00005 $0.00286

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

Security

Grade C, and why

auto-lambda-env scanned grade C with 1 finding 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 2d 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

## 1. Collect Secrets
plugins/dx-automation/skills/auto-lambda-env/SKILL.md · 220 lines

How it starts

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

You set Lambda environment variables for the AI automation agents. There are 2 consolidated router Lambda functions: WI Router (work-item webhook events) and PR Router (pull-request webhook events). Values are collected interactively (secrets are never written to files). Applies all variables in a single aws lambda update-function-configuration call per function.

0. Prerequisites

Read .ai/automation/infra.json. Check automationProfile:

  • If consumer (or legacy pr-only/pr-delegation): "This repo uses the consumer profile — Lambda environment variables are managed by the hub project. Do NOT modify Lambda env vars from this repo." STOP.
source .ai/lib/audit.sh
export AUDIT_LOG_PREFIX=infra

Pre-fill these from infra.json (don't ask for values already known):

  • DYNAMODB_DEDUPE_TABLE ← storage.dynamodb.dedupe.tableName
  • DYNAMODB_RATE_LIMIT_TABLE ← storage.dynamodb.rateLimits.tableName
  • SQS_DLQ_URL ← storage.sqs.dlq.queueUrl
  • ADO_DOD_PIPELINE_ID ← pipelines.dod.id (WI Router)
  • ADO_QA_PIPELINE_ID ← pipelines.qa.id (WI Router)
  • ADO_DEV_PIPELINE_ID ← pipelines.devagent.id (WI Router)
  • ADO_DOC_PIPELINE_ID ← pipelines.docagent.id (WI Router)
  • ADO_ESTIMATION_PIPELINE_ID ← pipelines.estimation.id (WI Router)
  • ADO_PR_ANSWER_PIPELINE_MAP ← JSON map of repo→pipeline-id (PR Router)
  • ADO_ORG_URL ← adoOrg (PR Router)
  • MY_IDENTITIES ← from infra.json if set (PR Router)

1. Collect Secrets

Ask these one at a time — these cannot be pre-filled from infra.json:

ADO Personal Access Token? (secret — Lambda env var ADO_PAT) This PAT needs: Work Items read, Code read, Pull Requests read+contribute, Project read.

Webhook basic auth username? (Lambda env var BASIC_USER) Example: automation-webhook. Must match what you'll set in ADO Service Hooks.

Webhook basic auth password? (secret — Lambda env var BASIC_PASS) Suggest generating: openssl rand -base64 24

Webhook secret? (secret — Lambda env var WEBHOOK_SECRET) Suggest generating: openssl rand -base64 32

Read the full file on GitHub · 220 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. 2d ago Changed · +1 lines fa71d6d8da65
  2. 1mo ago First seen · 219 lines · 45 tokens per session scan C ae56d54b2ece

Subscribe to this mod's changes

auto-lambda-env is a skill published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 2,857 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens