agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Add environment variable
Claude Code
$ npx -y skills add elie222/inbox-zero --skill environment-variables --agent claude-code
Codex
$ npx skills add elie222/inbox-zero --skill environment-variables -a codex -y
Cursor
$ npx skills add elie222/inbox-zero --skill environment-variables -a cursor -y
Gemini CLI
$ npx skills add elie222/inbox-zero --skill environment-variables -a gemini-cli -y
GitHub Copilot
$ npx skills add elie222/inbox-zero --skill environment-variables -a github-copilot -y
OpenCode
$ npx skills add elie222/inbox-zero --skill environment-variables -a opencode -y
Windsurf
$ npx skills add elie222/inbox-zero --skill environment-variables -a windsurf -y
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.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Cursor Cloud VM setup and service startup instructions for local development
Simplify and refine recently modified code for clarity, consistency, and maintainability while preserving exact behavior. Use…
Review the working tree, commit it safely, and open a GitHub pull request. Use when the user asks to create, open, raise, or…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…