/skills:env-from-1passwordfrom skills
Copy environment variables from 1Password to .env.local. Use when user says "load env from 1password", "copy env from 1password", "get env from 1password", or "1password env".
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetches environment variables from a 1Password item and writes them to .env.local in the current project.
1Password desktop app installed (download from 1password.com)
1Password CLI installed:
brew install --cask 1password-cli
Enable desktop app integration:
Verify CLI access:
op whoami
Should show your account details if integration is working.
Troubleshooting: If you see "couldn't connect to desktop app":
Environment variables stored in 1Password as a Secure Note with the env vars in the notes field
Check for multiple accounts (if user has more than one):
op account list
If multiple accounts exist, you'll need to specify --account flag in subsequent commands.
List available 1Password items to help user identify the right one:
# Single account:
op item list | grep -i "env"
# Multiple accounts (specify which one):
op item list --account=my.1password.com | grep -i "env"
Ask the user which item contains their environment variables (by name or ID)
Fetch the item and extract fields:
op item get "$ITEM_NAME" --format=json
Parse fields and write to .env.local:
fields array where type is not CONCEALED (skip password fields)label=value formatlabel and value propertiesWrite to .env.local:
# From notes field (recommended - simpler format)
op item get "$ITEM_NAME" --account=ACCOUNT_NAME --fields label=notesPlain | tr -d '"' > .env.local
Or for structured fields:
op item get "$ITEM_NAME" --account=ACCOUNT_NAME --format=json | jq -r '.fields[] | select(.value != null) | "\(.label)=\(.value)"' > .env.local
Note: The tr -d '"' removes surrounding quotes that op adds to field values.
# 1. Check if you have multiple accounts
op account list
# 2. List items to find the right one
op item list --account=my.1password.com | grep -i "env"
# 3. Get env vars from 1Password (from notes field - recommended)
op item get "Dev Environment" --account=my.1password.com --fields label=notesPlain | tr -d '"' > .env.local
# 4. Confirm
cat .env.local
Store all env vars in the notes field:
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/mydb
REDIS_URL=redis://localhost:6379
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_APP_URL=http://localhost:3000
Create fields for each env var:
.env.local file with all environment variables from 1PasswordThe following environment variables are available in 1Password:
| Variable | Purpose |
|---|---|
FAL_KEY | Fal.ai media generation API |
AI_GATEWAY_API_KEY | AI Gateway routing |
EXA_API_KEY | Exa search API |
BLOB_READ_WRITE_TOKEN | Vercel Blob storage |
RESEND_API_KEY | Resend email API |
NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY | Liveblocks client-side key |
LIVEBLOCKS_SECRET_KEY | Liveblocks server-side key |
REPLICATE_API_TOKEN | Replicate AI models |
BETTER_AUTH_SECRET | Better Auth session signing |
PAYLOAD_SECRET | Payload CMS secret |
STRIPE_SECRET_KEY | Stripe payments |
.env.local should be in .gitignore (Next.js does this by default).env.local to version controlAfter loading env vars:
Review the file:
cat .env.local
Add any project-specific overrides manually
Run the app:
bun dev
.env.local when secrets change/env-config skill for type-safe env validationWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mattwoodco/skills --plugin skills84 skills in this plugin
/add-featureParent skill for feature and project workflows. Use when the user wants to build a project, add a feature, polish a skill, test all skills, or browse the skill catalog. Routes to add-project (build project from idea), improve-skill (refine one skill in a sandbox), test-skills (validate full skill composition), or any child skill by name.
/add-projectEnd-to-end project builder: idea → spec → shell → ralph loop → secrets → report. SMS notification after every phase. Creates a project directory with symlinked skills and a ralph execution loop. Does NOT scaffold Next.js — ralph does that as step 1.1 of the plan. Use when the user says "build project", "build a project", "new project", "create project", "build from idea", "scaffold and notify", "spec a project", "plan a project", or "scaffold project".
/