agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Add environment variable
$ npx -y skills add elie222/inbox-zero --skill environment-variables --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/environment-variablesContext preview
The summary Claude sees to decide when to auto-load this skill.
Add environment variable
name: environment-variables description: Add environment variable
This is how we add environment variables to the project:
1. Add to `.env.example`:
NEW_VARIABLE=value_example
2. Add to `apps/web/env.ts`:
// For server-only variables
server: {
NEW_VARIABLE: z.string(),
}
// For client-side variables
client: {
NEXT_PUBLIC_NEW_VARIABLE: z.string(),
}
experimental__runtimeEnv: {
NEXT_PUBLIC_NEW_VARIABLE: process.env.NEXT_PUBLIC_NEW_VARIABLE,
}3. For client-side variables:
4. Add to `turbo.json` under `globalDependencies`:
{
"tasks": {
"build": {
"env": [
"NEW_VARIABLE"
]
}
}
}examples:
API_KEY=your_api_key_here
server: { API_KEY: z.string(), }
"build": { "env": ["API_KEY"] } output: "Server-side environment variable properly added"
NEXT_PUBLIC_FEATURE_ENABLED=false
client: { NEXT_PUBLIC_FEATURE_ENABLED: z.coerce.boolean().default(false), }, experimental__runtimeEnv: { NEXT_PUBLIC_FEATURE_ENABLED: process.env.NEXT_PUBLIC_FEATURE_ENABLED, }
"build": { "env": ["NEXT_PUBLIC_FEATURE_ENABLED"] } output: "Client-side environment variable properly added"
references:
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Repo: elie222/inbox-zero
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Cursor Cloud VM setup and service startup instructions for local development
Simplify and refine recently modified code for clarity, consistency, and maintainability…
Review the working tree, commit it safely, and open a GitHub pull request. Use when the user…