一键导入
sparkgen-config
Switch LLM providers, deployment modes, and manage environment configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Switch LLM providers, deployment modes, and manage environment configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a new SparkGen-AWS project from the cookiecutter template
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Run cookiecutter matrix tests to verify template generates correctly across all variable combinations
Add, modify, remove, list, or show agents in the workflow
Send a chat message to the running agent server and display the response
Diagnose issues with Ollama, Docker, AWS, endpoints, guardrails, RAG, or general health
| name | sparkgen-config |
| description | Switch LLM providers, deployment modes, and manage environment configuration |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user discusses providers, models, deployment modes, or environment variables |
| arguments | <switch-provider|switch-mode|show|env> [args] |
Manage project configuration — providers, deployment modes, and environment files.
Before any action:
.env (if exists) for DEPLOYMENT_MODE, LLM_PROVIDER, MODEL_IDls .env.*config/ai_workflow.yaml for current LLM and embedding config/sparkgen-config show)Display current configuration:
=== Current Configuration ===
Deployment Mode: <from .env or 'not set'>
LLM Provider: <provider>
LLM Model: <model_id>
Embed Provider: <embed_provider>
Embed Model: <embed_model>
RAG Enabled: <yes/no>
Guardrails: <yes/no>
API Key: <masked>
Server Port: <port>
/sparkgen-config switch-provider <bedrock|ollama|openai>)To Ollama:
.env: LLM_PROVIDER=ollama, OLLAMA_MODEL=llama3.2:3b, OLLAMA_BASE_URL=http://localhost:11434curl -sf http://localhost:11434/api/tagsollama list | grep <model>EMBEDDING_PROVIDER=sentence-transformerTo Bedrock:
.env: LLM_PROVIDER=bedrock, AWS_MODEL_ID=eu.amazon.nova-lite-v1:0aws sts get-caller-identityEMBEDDING_PROVIDER=bedrock, AWS_EMBED_MODEL_ID=amazon.titan-embed-text-v2:0To OpenAI:
.env: LLM_PROVIDER=openai, OPENAI_MODEL=gpt-4o-miniOPENAI_API_KEY is setEMBEDDING_PROVIDER=openaiAfter switch: remind user to restart the server.
/sparkgen-config switch-mode <local|docker|aws>)cp .env.<mode> .env/sparkgen-config env)Show all environment variables from current .env with descriptions, grouped by section: