ワンクリックで
env-editor
Environment file conventions for emergent.memory - which files to edit, override rules, and variable reference per app
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Environment file conventions for emergent.memory - which files to edit, override rules, and variable reference per app
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Full Memory CLI command reference with all subcommands and flags. Use when you need exact command syntax, flag names, or usage examples for any `memory` CLI command.
Full Memory CLI command reference with all subcommands and flags. Use when you need exact command syntax, flag names, or usage examples for any `memory` CLI command.
Create a versioned release — commit, tag, push, and deploy to servers. Use when the user wants to release, deploy, publish, or push a new version.
Analyze and dump OpenCode sessions from any project. Use when the user asks to read a session, find a session by title, list sessions for a project, dump session content, or show usage stats (skills, tools, tokens, cost) for any project directory.
Read from the knowledge graph — natural language questions, semantic search, or hybrid search over objects and documents.
Create and manage graph branches — isolated workspaces for staging changes before merging to main. Use for what-if analysis, planning, or any work that should not immediately affect the main graph.
| name | env-editor |
| description | Environment file conventions for emergent.memory - which files to edit, override rules, and variable reference per app |
NEVER put secrets in committed files. Always use .env.local for overrides and secrets.
| File | Purpose | Git Status |
|---|---|---|
.env | Safe workspace defaults (no secrets) | Committed |
.env.local | Local overrides, secrets, deployment-specific | Git-ignored |
.env.example | Documentation of all available variables | Committed |
.env.production.example | Production variable reference | Committed |
apps/server/.env | Go server app-specific defaults | Committed |
.env.env.localEnvironment files are loaded with later files overriding earlier ones:
/.env → Workspace-level defaults
/.env.local → Workspace-level local overrides (gitignored)
/apps/server/.env → Go server defaults
/apps/server/.env.local → Go server local overrides (gitignored)
.env)| Variable | Purpose | Default |
|---|---|---|
NAMESPACE | PM2 process namespace | emergent |
ADMIN_PORT | Admin frontend port | 5200 |
SERVER_PORT | Go API server port | 5300 |
STORAGE_PROVIDER | Storage backend (minio / s3 / gcs) | minio |
STORAGE_ENDPOINT | MinIO/S3 endpoint URL | localhost:9000 |
STORAGE_ACCESS_KEY | Storage access key | minio |
STORAGE_SECRET_KEY | Storage secret (use .env.local) | — |
KREUZBERG_SERVICE_URL | Document parsing service URL | localhost:8000 |
WHISPER_SERVICE_URL | Audio transcription service URL | localhost:9876 |
GCP_PROJECT_ID | GCP project ID (Vertex AI) | — |
OTEL_EXPORTER_OTLP_ENDPOINT | OpenTelemetry endpoint (opt-in) | unset |
apps/server/)See apps/server/AGENT.md for the full variable list. Key ones:
| Variable | Purpose |
|---|---|
POSTGRES_HOST | Database host |
POSTGRES_PORT | Database port (default: 5436) |
POSTGRES_USER | Database user |
POSTGRES_PASSWORD | Database password (use .env.local) |
POSTGRES_DB | Database name |
ZITADEL_DOMAIN | Zitadel auth domain |
ZITADEL_CLIENT_ID | Backend OAuth client ID |
ZITADEL_CLIENT_SECRET | Backend OAuth client secret (use .env.local) |
GOOGLE_API_KEY | Gemini API key (use .env.local) |
Add to appropriate .env file with empty/example value:
# Description of what this does
NEW_VARIABLE=
Add actual value to .env.local:
NEW_VARIABLE=actual-secret-value
Only edit .env.local:
# Override server port
SERVER_PORT=3002
# See what's set in root .env
grep VAR_NAME .env .env.local 2>/dev/null
# See what's set in server .env
grep VAR_NAME apps/server/.env apps/server/.env.local 2>/dev/null
.env.local overrides .env.env.local immediately.env.local is in .gitignoregit filter-repo