opensourceagi/qwksearch-research-agent/add-setting-env
Claude Code and agent skill by opensourceagi/qwksearch-research-agent
- community
Checking that the SKILL.md file is still in the repository.
Add server-side environment variables that control default values for user settings.
Install
npx vskill@latest install opensourceagi/qwksearch-research-agent/add-setting-envSKILL.md
The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/add-setting-env.
Adding Environment Variable for User Settings
Add server-side environment variables to configure default values for user settings.
Priority: User Custom > Server Env Var > Hardcoded Default
Steps
1. Define Environment Variable
Create packages/env/src/<domain>.ts (import path stays @/envs/<domain> — tsconfig maps to packages/env/src/* first):
2. Update Type (if new domain)
Add to packages/types/src/serverConfig.ts:
Prefer reusing existing types from packages/types/src/user/settings.
3. Assemble Server Config (if new domain)
In apps/server/src/globalConfig/index.ts:
4. Merge to User Store (if new domain)
In src/store/user/slices/common/action.ts:
5. Update .env.example
6. Update Documentation
docs/self-hosting/environment-variables/basic.mdx(EN)docs/self-hosting/environment-variables/basic.zh-CN.mdx(CN)
Example: AI\_IMAGE\_DEFAULT\_IMAGE\_NUM
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/qwk-in-lobe/.agents/skills/add-setting-env/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opensourceagi/qwksearch-research-agent/add-setting-env)