env-setup

env-setup is an agent for Claude Code from navraj007in/architecture-cowork-plugin. It costs 28 tokens per session (2,197 once invoked), scanned A, original, Apache-2.0.

An environment-setup agent that guides users through creating third-party accounts, checking API keys, and writing verified .env files for project components.

In plain words
What is it for?
Use it after a project blueprint exists to prepare service credentials, inspect .env.example files, resolve dependencies, and create working environment files.
Why use it?
It reduces configuration mistakes by matching each service’s credentials to the components that depend on it and checking the resulting settings.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./api-server/.env (12 variables, 4 validated, 2 skipped).

Part of the architect plugin — 48 skills, 63 commands, 19 agents, 7 MCP servers shipped together

Good fit Use it after a project blueprint exists to prepare service credentials, inspect .env.example files, resolve dependencies, and create working environment files.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/navraj007in/architecture-cowork-plugin
agentmods
npx agentmods add agents/navraj007in/architecture-cowork-plugin/env-setup

Made for: Claude Code.

Or install architect, the plugin that ships this one along with the rest of its 48 skills, 63 commands, 19 agents, 7 MCP servers.

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 env-setup

README.md
[![agentmods](https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/env-setup/github.svg)](https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/env-setup)
Your own site
<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/env-setup"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/env-setup/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 env-setup

Your own site · 80×15
<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/env-setup"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/env-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00028 $0.02197
Opus 5 $0.00014 $0.01099
Sonnet 5 $0.00006 $0.00439
Haiku 4.5 $0.00003 $0.00220

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

Security

Grade A, and why

env-setup scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "%{http_code}" \
agents/env-setup.md · 260 lines

How it starts

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

Env Setup Agent

You are the Env Setup Agent for the Architect AI plugin. Your job is to take the Required Accounts list (deliverable 4m) from a blueprint and guide the user through setting up each service, validating credentials, and writing a working .env file.

Input

You will receive:

  • The Required Accounts table (service, category, free tier, credentials, setup time)
  • The .env.example file(s) from the scaffolded project(s)
  • The component list with their integrations
  • The target project directory (or directories)

Process

0.5. Resolve Per-Service Dependencies

Before reading .env.example files, read architecture.services[].dependsOn[] from SDL to build a per-service dependency map. Check solution.sdl.yaml first; if absent, read sdl/README.md then the relevant module (typically sdl/architecture.yaml or sdl/services.yaml). This determines which third-party env vars belong in which service's .env:

  • A service that dependsOn: [stripe] needs STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET
  • A service that dependsOn: [sendgrid] needs SENDGRID_API_KEY
  • A service that dependsOn: [another-service] needs a <SERVICE>_URL pointing to that sibling

Use this map in Step 7 (Handle Multi-Component Projects) to avoid writing Stripe keys into a service that doesn't call Stripe, and to correctly generate service-to-service URL vars for each consumer.

If dependsOn[] is absent from SDL, fall back to inferring dependencies from the .env.example variables.

1. Read Existing .env.example

# Find all .env.example files in the project(s)
find <parent-dir> -name ".env.example" -type f

Parse each .env.example to extract all required environment variables and their descriptions.

2. Check for Existing .env

# Check if .env already exists
test -f <project-dir>/.env && echo "EXISTS" || echo "NOT_FOUND"

If .env exists, read it and identify which variables are already set vs. still empty/placeholder.

3. Group Services by Setup Order

Read the full file on GitHub · 260 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 · 260 lines · 28 tokens per session scan A eacf3df4b4ed

Subscribe to this mod's changes

env-setup is an agent published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 2,197 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

section-writer

Generates self-contained implementation section content. Outputs raw markdown. Used by /deep-plan for parallel section generation.

piercelamb/deep-plan · 26 tokens

opus-plan-reviewer

Reviews implementation plans (fallback when external LLMs unavailable).

piercelamb/deep-plan · 17 tokens

spec-scanner

Scans a codebase using LLM-driven heuristics to detect framework, patterns, entities, and registration points. Produces a persistent project profile that other agents read for wiring-aware implementation.

Habib0x0/spec-driven-plugin · 41 tokens

spec-documenter

Generates user-facing documentation from spec files and implemented code. Produces API references, user guides, and architecture decision records. Context: Feature implementation is complete and user needs documentation. user: "/spec-docs" assistant: "I'll generate documentation from the spec and implementation." The…

Habib0x0/spec-driven-plugin · 100 tokens

spec-validator

Use this agent when you need to validate a spec for completeness, consistency, and implementation readiness. Examples: Context: User has finished creating a spec and wants to verify it's ready for implementation. user: "I've finished the spec for user-authentication. Can you validate it?" assistant: "I'll use the…

Habib0x0/spec-driven-plugin · 275 tokens

spec-consultant

Domain expert consultant that provides focused analysis on a specific topic during brainstorming. This is a parameterized agent — the spawning command passes the expert role, domain expertise, discussion context, and specific question via the prompt. Returns structured analysis to the Lead. Context: During…

Habib0x0/spec-driven-plugin · 228 tokens