원클릭으로
add-feature
Add features to an existing Mozaiks project. Helps users upgrade tiers or enable individual capabilities.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add features to an existing Mozaiks project. Helps users upgrade tiers or enable individual capabilities.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Set up Mozaiks from scratch. Walks through Docker, Python, Node, environment variables, and verification.
Customize app shell branding - themes, colors, navigation, logos. Works with app/brand/ and app/config/ declarative files.
Add features to an existing Mozaiks project. Helps users upgrade tiers or enable individual capabilities.
Add a backend module (deterministic CRUD/action handler) to an existing Mozaiks app.
Add a frontend page (AppPageSchema) to an existing Mozaiks app.
Review or implement a change to AgentGenerator prompts, workflow bundle structured outputs, workflow scaffolds, universal prompt injection, or workflow-agent safety guidance.
| name | add-feature |
| description | Add features to an existing Mozaiks project. Helps users upgrade tiers or enable individual capabilities. |
| argument-hint | [optional: feature name or preset] |
Help the user add features to an existing Mozaiks project.
Mozaiks features are additive. You can enable them individually or upgrade to a higher tier preset.
| Feature | What It Enables | Requires |
|---|---|---|
| chat_ui | Frontend chat interface | - |
| modules | Deterministic CRUD/action modules and module routes | - |
| event_bus | Domain event bus for module↔workflow communication | - |
| auth | Provider-neutral OIDC/JWT validation and browser PKCE auth | OIDC provider or local mock |
| admin | Admin portal with observability, token tracking | auth |
| Preset | Features Included |
|---|---|
| engine | ai_runtime |
| chat | ai_runtime, chat_ui |
| integrated | ai_runtime, chat_ui, modules, event_bus, auth |
| full | All features |
mozaiks add <feature>
Examples:
mozaiks add modules # Add deterministic module handling
mozaiks add event_bus # Add event-driven automation
mozaiks add auth # Add provider-neutral OIDC/JWT authentication
mozaiks add admin # Add admin portal
mozaiks add --preset <tier>
Examples:
mozaiks add --preset chat # Upgrade to chat tier
mozaiks add --preset integrated # Upgrade to integrated tier
mozaiks add --preset full # Upgrade to full tier
When you add a feature:
Updates app/app.json:
{"features": {"modules": true}}Shows next steps:
Requires restart:
Next steps:
1. Create app/modules/<name>/
2. Add module.yaml with identity, actions, permissions
3. Add backend/handler.py (thin dispatch), backend/service.py (logic),
backend/repo.py (MongoDB), backend/policy.py (scoping), backend/schemas.py (typed shapes)
4. Restart backend: mozaiks serve .
Next steps:
1. Use event_bus.publish() to emit app events
2. Add workflow triggers in orchestrator.yaml
3. Restart backend
Next steps:
1. Update app/app.json: authRequired: true
2. Add or review app/config/auth.yaml using schema_version: mozaiks.auth.v1
3. Configure .env with AUTH_PROVIDER=jwt plus MOZAIKS_OIDC_* / AUTH_* / VITE_OIDC_* env handles
4. Use VITE_MOCK_MODE=true for local mock auth, or run the optional local OIDC broker from compose
5. Restart backend
Next steps:
1. Configure admins in app/app.json
2. Access admin portal at /admin
3. Requires auth to be enabled
Next steps:
1. Install frontend deps once: npm --prefix web_shell install
2. Start frontend: .\scripts\run-frontend.ps1 (or npm --prefix web_shell run dev -- --host 0.0.0.0 --port 3000 --strictPort)
3. Configure branding in the active app bundle brand directory
4. Access chat/UI at http://localhost:3000
5. By default, web_shell resolves factory_app/app unless PLATFORM_PATH or -AppWorkspacePath is set
Before adding features, check what's currently enabled:
mozaiks info
User: "I want to add modules to my chatbot"
You: "You can enable modules with:
mozaiks add modules
This will:
modules featureAfter running this command:
app/modules/my_module/module.yaml with id, actions, permissionsbackend/handler.py (dispatch), backend/service.py (logic), backend/repo.py (data)mozaiks serve .Modules are great for deterministic business logic that doesn't need AI. For AI tasks, use workflows instead."