auto-lambda-env

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 CodeCodex

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.

agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/auto-lambda-env
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, Codex.

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,849 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00045 $0.02849
Opus 5 $0.00023 $0.01425
Sonnet 5 $0.00009 $0.00570
Haiku 4.5 $0.00005 $0.00285

Measured 2d ago against content hash ae56d54b2ece, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 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_TABLEstorage.dynamodb.dedupe.tableName
  • DYNAMODB_RATE_LIMIT_TABLEstorage.dynamodb.rateLimits.tableName
  • SQS_DLQ_URLstorage.sqs.dlq.queueUrl
  • ADO_DOD_PIPELINE_IDpipelines.dod.id (WI Router)
  • ADO_QA_PIPELINE_IDpipelines.qa.id (WI Router)
  • ADO_DEV_PIPELINE_IDpipelines.devagent.id (WI Router)
  • ADO_DOC_PIPELINE_IDpipelines.docagent.id (WI Router)
  • ADO_ESTIMATION_PIPELINE_IDpipelines.estimation.id (WI Router)
  • ADO_PR_ANSWER_PIPELINE_MAP ← JSON map of repo→pipeline-id (PR Router)
  • ADO_ORG_URLadoOrg (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 · 219 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 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 18d ago), licensed MIT. It adds 45 tokens to every session and 2,849 once invoked, about $0.0002 per session on Opus 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

huggingface-spaces

Build, deploy, and maintain applications on Hugging Face Spaces — Gradio / Docker / Static SDKs, ZeroGPU and dedicated hardware, model loading, debugging, buckets, inference providers, community grants. Use whenever the user asks to create or host an app on Hugging Face, port code onto ZeroGPU, fix a Space that won't…

huggingface/skills · 106 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

kagent-dev

Development guide for kagent's v1alpha3 Harness and AgentTemplate CRDs, AgentInstance gRPC control plane, upstream A2A integration, Substrate runtime provisioning, tests, generation, and PR workflow. Use for any implementation, debugging, review, or CI task in the kagent repository.

kagent-dev/kagent · 65 tokens

timoni

Use when deploying applications to Kubernetes with Timoni. Covers installing and upgrading module instances from OCI registries, composing multi-app deployments with bundles, injecting values from clusters or CI with runtimes, targeting multiple clusters, and authoring, testing, signing and publishing modules with CUE.

stefanprodan/timoni · 59 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens

durable-objects

Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases…

cloudflare/skills · 76 tokens