multimodel-dev-os 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/.ai/agents/README.md +23 -0
  2. package/.ai/agents/coder.md +11 -0
  3. package/.ai/agents/devops.md +8 -0
  4. package/.ai/agents/multimodel-orchestrator.md +105 -0
  5. package/.ai/agents/planner.md +11 -0
  6. package/.ai/agents/qa-tester.md +8 -0
  7. package/.ai/agents/reviewer.md +11 -0
  8. package/.ai/agents/security-auditor.md +8 -0
  9. package/.ai/agents/seo-auditor.md +8 -0
  10. package/.ai/checks/README.md +38 -0
  11. package/.ai/checks/context-budget.md +7 -0
  12. package/.ai/checks/pre-commit.md +8 -0
  13. package/.ai/checks/pre-deploy.md +8 -0
  14. package/.ai/checks/pre-implementation.md +7 -0
  15. package/.ai/checks/regression-checklist.md +8 -0
  16. package/.ai/config.yaml +60 -0
  17. package/.ai/context/README.md +18 -0
  18. package/.ai/context/architecture.md +15 -0
  19. package/.ai/context/business-rules.md +12 -0
  20. package/.ai/context/context-budget.md +12 -0
  21. package/.ai/context/deployment-rules.md +15 -0
  22. package/.ai/context/model-map.md +11 -0
  23. package/.ai/context/project-brief.md +17 -0
  24. package/.ai/context/seo-rules.md +15 -0
  25. package/.ai/prompts/README.md +37 -0
  26. package/.ai/prompts/generate-tests.md +5 -0
  27. package/.ai/prompts/handoff-to-next-model.md +5 -0
  28. package/.ai/prompts/implement-safely.md +5 -0
  29. package/.ai/prompts/plan-first.md +5 -0
  30. package/.ai/prompts/review-diff.md +5 -0
  31. package/.ai/prompts/summarize-session.md +5 -0
  32. package/.ai/session-logs/.gitkeep +1 -0
  33. package/.ai/session-logs/README.md +49 -0
  34. package/.ai/skills/README.md +34 -0
  35. package/.ai/skills/bug-fix.md +9 -0
  36. package/.ai/skills/caveman-bug-fix.md +2 -0
  37. package/.ai/skills/caveman-context-handoff.md +2 -0
  38. package/.ai/skills/caveman-feature-build.md +2 -0
  39. package/.ai/skills/context-routing.md +8 -0
  40. package/.ai/skills/cpanel-deploy.md +9 -0
  41. package/.ai/skills/example-skill.md +38 -0
  42. package/.ai/skills/landing-page-optimization.md +8 -0
  43. package/.ai/skills/model-routing.md +7 -0
  44. package/.ai/skills/nextjs-feature-build.md +9 -0
  45. package/.ai/skills/refactor.md +9 -0
  46. package/.ai/skills/seo-implementation.md +8 -0
  47. package/.ai/templates/AGENTS.caveman.md +12 -0
  48. package/.ai/templates/MEMORY.caveman.md +14 -0
  49. package/.ai/templates/RUNBOOK.caveman.md +22 -0
  50. package/.ai/templates/TASKS.caveman.md +7 -0
  51. package/.ai/templates/bug-report-template.md +14 -0
  52. package/.ai/templates/feature-spec-template.md +14 -0
  53. package/.ai/templates/project-memory-template.md +12 -0
  54. package/.ai/templates/session-log-template.md +16 -0
  55. package/.ai/templates/task-template.md +16 -0
  56. package/AGENTS.md +79 -0
  57. package/LICENSE +21 -0
  58. package/MEMORY.md +42 -0
  59. package/README.md +197 -0
  60. package/RUNBOOK.md +73 -0
  61. package/TASKS.md +28 -0
  62. package/adapters/antigravity/.gemini/settings.json +13 -0
  63. package/adapters/antigravity/AGENTS.md +29 -0
  64. package/adapters/antigravity/setup.md +36 -0
  65. package/adapters/claude/CLAUDE.md +31 -0
  66. package/adapters/claude/setup.md +35 -0
  67. package/adapters/codex/AGENTS.md +27 -0
  68. package/adapters/codex/setup.md +25 -0
  69. package/adapters/cursor/.cursorrules +30 -0
  70. package/adapters/cursor/setup.md +35 -0
  71. package/adapters/gemini/GEMINI.md +31 -0
  72. package/adapters/gemini/setup.md +34 -0
  73. package/adapters/vscode/.vscode/settings.json +21 -0
  74. package/adapters/vscode/setup.md +40 -0
  75. package/bin/multimodel-dev-os.js +267 -0
  76. package/docs/adapters.md +79 -0
  77. package/docs/architecture.md +64 -0
  78. package/docs/caveman-mode.md +74 -0
  79. package/docs/cli-roadmap.md +44 -0
  80. package/docs/faq.md +66 -0
  81. package/docs/installers.md +58 -0
  82. package/docs/multimodel-workflow.md +121 -0
  83. package/docs/npm-publishing.md +74 -0
  84. package/docs/quickstart.md +85 -0
  85. package/docs/testing-v0.2.md +73 -0
  86. package/examples/ecommerce-store/.ai/config.yaml +4 -0
  87. package/examples/ecommerce-store/AGENTS.md +5 -0
  88. package/examples/ecommerce-store/MEMORY.md +4 -0
  89. package/examples/general-app/.ai/config.yaml +4 -0
  90. package/examples/general-app/AGENTS.md +5 -0
  91. package/examples/general-app/MEMORY.md +4 -0
  92. package/examples/nextjs-saas/.ai/config.yaml +4 -0
  93. package/examples/nextjs-saas/AGENTS.md +13 -0
  94. package/examples/nextjs-saas/MEMORY.md +5 -0
  95. package/examples/seo-landing-page/.ai/config.yaml +4 -0
  96. package/examples/seo-landing-page/AGENTS.md +5 -0
  97. package/examples/seo-landing-page/MEMORY.md +5 -0
  98. package/examples/wordpress-site/.ai/config.yaml +4 -0
  99. package/examples/wordpress-site/AGENTS.md +5 -0
  100. package/examples/wordpress-site/MEMORY.md +4 -0
  101. package/package.json +43 -0
  102. package/scripts/install.ps1 +230 -0
  103. package/scripts/install.sh +237 -0
  104. package/scripts/pack-template.sh +39 -0
  105. package/scripts/verify.sh +271 -0
package/TASKS.md ADDED
@@ -0,0 +1,28 @@
1
+ # Tasks
2
+
3
+ > Lightweight task tracking for AI agents and humans.
4
+ > Agents should check this file before starting work. Update status as you go.
5
+
6
+ ## Current Sprint
7
+
8
+ <!-- Active work items — agents pick from here -->
9
+
10
+ - [ ] null
11
+
12
+ ## Backlog
13
+
14
+ <!-- Upcoming work — not yet started -->
15
+
16
+ - [ ] null
17
+
18
+ ## In Review
19
+
20
+ <!-- Completed work awaiting review -->
21
+
22
+ - [ ] null
23
+
24
+ ## Done
25
+
26
+ <!-- Completed and merged — keep last 10 items, archive the rest -->
27
+
28
+ - [x] null
@@ -0,0 +1,13 @@
1
+ {
2
+ "//": "Antigravity adapter settings for multimodel-dev-os",
3
+ "//note": "Source of truth is /AGENTS.md — this file provides IDE-level overrides only",
4
+ "agent": {
5
+ "preferredModel": null,
6
+ "contextFiles": [
7
+ "AGENTS.md",
8
+ "MEMORY.md",
9
+ "TASKS.md",
10
+ "RUNBOOK.md"
11
+ ]
12
+ }
13
+ }
@@ -0,0 +1,29 @@
1
+ <!-- AUTO-GENERATED REFERENCE — Source of truth: /AGENTS.md -->
2
+ <!-- Do not edit this file directly. Edit /AGENTS.md and re-sync. -->
3
+
4
+ # Antigravity Agent Instructions
5
+
6
+ This project uses [multimodel-dev-os](https://github.com/rizvee/multimodel-dev-os).
7
+
8
+ **Full instructions:** See `/AGENTS.md` at the project root.
9
+
10
+ ## Antigravity-Specific Notes
11
+
12
+ - Google Antigravity reads `AGENTS.md` from the repo root
13
+ - Additional configuration via `.gemini/settings.json` for IDE-level settings
14
+ - Antigravity supports Knowledge Items (KI) — see `MEMORY.md` for project context
15
+
16
+ ## Integration Points
17
+
18
+ | Feature | multimodel-dev-os File | Antigravity Equivalent |
19
+ |---------|----------------------|----------------------|
20
+ | Agent instructions | `AGENTS.md` | Auto-detected |
21
+ | Project memory | `MEMORY.md` | Knowledge Items |
22
+ | Task tracking | `TASKS.md` | Task artifacts |
23
+ | Skills | `.ai/skills/` | Skills directory |
24
+
25
+ ## References
26
+
27
+ - [Root AGENTS.md](/AGENTS.md)
28
+ - [Project MEMORY](/MEMORY.md)
29
+ - [Antigravity Settings](.gemini/settings.json)
@@ -0,0 +1,36 @@
1
+ # Antigravity Setup Guide
2
+
3
+ ## Overview
4
+
5
+ Google Antigravity automatically reads `AGENTS.md` from the repo root. The `.gemini/settings.json` file provides optional IDE-level overrides.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Ensure `AGENTS.md` exists** at your project root
10
+ 2. **Copy the `.gemini/` directory** to your project root:
11
+ ```bash
12
+ cp -r adapters/antigravity/.gemini/ .gemini/
13
+ ```
14
+ 3. **Edit `.gemini/settings.json`** if you need IDE-level overrides
15
+
16
+ ## Mapping to Antigravity Features
17
+
18
+ | multimodel-dev-os | Antigravity Feature |
19
+ |-------------------|-------------------|
20
+ | `AGENTS.md` | Automatically read as agent instructions |
21
+ | `MEMORY.md` | Use as Knowledge Item source |
22
+ | `.ai/skills/` | Map to Antigravity skills |
23
+ | `.ai/config.yaml` | Reference in settings.json |
24
+
25
+ ## Tips
26
+
27
+ - Antigravity supports planning mode — align with `TASKS.md` for task tracking
28
+ - Use `MEMORY.md` to persist context across Antigravity sessions
29
+ - Antigravity reads the full repo tree — keep `.gitignore` clean
30
+
31
+ ## Troubleshooting
32
+
33
+ | Issue | Solution |
34
+ |-------|----------|
35
+ | Settings not applied | Ensure `.gemini/` is at project root |
36
+ | Context missing | Add files to `contextFiles` in settings.json |
@@ -0,0 +1,31 @@
1
+ <!-- AUTO-GENERATED REFERENCE — Source of truth: /AGENTS.md -->
2
+ <!-- Do not edit this file directly. Edit /AGENTS.md and re-sync. -->
3
+
4
+ # CLAUDE.md
5
+
6
+ This project uses [multimodel-dev-os](https://github.com/rizvee/multimodel-dev-os).
7
+
8
+ **Full instructions:** See `/AGENTS.md` at the project root.
9
+
10
+ ## Project Rules
11
+
12
+ - Read `/AGENTS.md` for build commands, coding conventions, and boundaries
13
+ - Read `/MEMORY.md` for architecture decisions and session history
14
+ - Check `/TASKS.md` before starting any work
15
+ - Follow `/RUNBOOK.md` for deployment and operational procedures
16
+
17
+ ## Claude-Specific Notes
18
+
19
+ - Claude Code reads `CLAUDE.md` from the repo root automatically
20
+ - This file is an adapter — the source of truth is `/AGENTS.md`
21
+ - When making decisions, update `/MEMORY.md` with the rationale
22
+ - When completing a task, update `/TASKS.md`
23
+ - When handing off to another agent, write a session log to `.ai/session-logs/`
24
+
25
+ ## Build Commands
26
+
27
+ See `/AGENTS.md` → Build Commands section.
28
+
29
+ ## Boundaries
30
+
31
+ See `/AGENTS.md` → Boundaries section.
@@ -0,0 +1,35 @@
1
+ # Claude Code Setup Guide
2
+
3
+ ## Overview
4
+
5
+ Claude Code reads `CLAUDE.md` from the repo root automatically. This adapter provides a template that references the root `AGENTS.md`.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Copy `CLAUDE.md` to your project root:**
10
+ ```bash
11
+ cp adapters/claude/CLAUDE.md CLAUDE.md
12
+ ```
13
+ 2. **Ensure `AGENTS.md` exists** at your project root with build commands filled in
14
+ 3. **No further configuration needed** — Claude auto-detects `CLAUDE.md`
15
+
16
+ ## How It Works
17
+
18
+ Claude Code loads `CLAUDE.md` at session start. The adapter file:
19
+ - Points Claude to read `/AGENTS.md` for full instructions
20
+ - Includes Claude-specific behavior notes (session logging, memory updates)
21
+ - Keeps Claude aligned with the multimodel-dev-os workflow
22
+
23
+ ## Tips
24
+
25
+ - Claude supports nested `CLAUDE.md` in subdirectories for monorepo setups
26
+ - Use `MEMORY.md` to persist context across Claude sessions
27
+ - Claude can read any markdown file — point it at `TASKS.md` for task context
28
+
29
+ ## Troubleshooting
30
+
31
+ | Issue | Solution |
32
+ |-------|----------|
33
+ | Claude ignores CLAUDE.md | Ensure file is at project root |
34
+ | Context too large | Switch to Caveman Mode templates |
35
+ | Claude doesn't follow AGENTS.md | Add explicit "Read /AGENTS.md first" to CLAUDE.md |
@@ -0,0 +1,27 @@
1
+ <!-- AUTO-GENERATED REFERENCE — Source of truth: /AGENTS.md -->
2
+ <!-- Do not edit this file directly. Edit /AGENTS.md and re-sync. -->
3
+
4
+ # Codex Agent Instructions
5
+
6
+ This project uses [multimodel-dev-os](https://github.com/rizvee/multimodel-dev-os).
7
+
8
+ **Full instructions:** See `/AGENTS.md` at the project root.
9
+
10
+ ## Codex-Specific Notes
11
+
12
+ - Codex natively reads `AGENTS.md` from the repo root
13
+ - No additional configuration required for basic usage
14
+ - For sandboxed execution, ensure `RUNBOOK.md` contains setup commands
15
+
16
+ ## Environment
17
+
18
+ Codex runs in a sandboxed cloud environment. Ensure:
19
+ - All dependencies are listed in the appropriate manifest (`package.json`, `requirements.txt`, etc.)
20
+ - Build commands in `AGENTS.md` work without interactive prompts
21
+ - Environment variables are documented in `RUNBOOK.md` (never include actual secrets)
22
+
23
+ ## References
24
+
25
+ - [Codex Documentation](https://platform.openai.com/docs/codex)
26
+ - [Root AGENTS.md](/AGENTS.md)
27
+ - [Project RUNBOOK](/RUNBOOK.md)
@@ -0,0 +1,25 @@
1
+ # Codex Setup Guide
2
+
3
+ ## Overview
4
+
5
+ OpenAI Codex reads `AGENTS.md` from the repo root automatically. No special configuration is needed.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Ensure `AGENTS.md` exists** at your project root with build commands filled in
10
+ 2. **Ensure `RUNBOOK.md`** contains environment setup commands (Codex runs in a sandbox)
11
+ 3. **No adapter copy needed** — Codex reads root `AGENTS.md` directly
12
+
13
+ ## Tips
14
+
15
+ - Codex works best with explicit, non-interactive build commands
16
+ - Include dependency install commands in `RUNBOOK.md` → Environment Setup
17
+ - Test your build commands in a clean environment before using with Codex
18
+
19
+ ## Troubleshooting
20
+
21
+ | Issue | Solution |
22
+ |-------|----------|
23
+ | Codex ignores AGENTS.md | Ensure file is in repo root, not a subdirectory |
24
+ | Build fails in sandbox | Add all setup steps to RUNBOOK.md Environment Setup |
25
+ | Missing dependencies | List everything in your package manifest |
@@ -0,0 +1,30 @@
1
+ # AUTO-GENERATED REFERENCE — Source of truth: /AGENTS.md
2
+ # Do not edit this file directly. Edit /AGENTS.md and re-sync.
3
+ #
4
+ # Cursor Rules for multimodel-dev-os project
5
+ # Full instructions: /AGENTS.md
6
+
7
+ # Project Overview
8
+ # project: null
9
+ # stack: null
10
+
11
+ # Build Commands
12
+ # dev: null
13
+ # build: null
14
+ # test: null
15
+ # lint: null
16
+
17
+ # Coding Conventions
18
+ # - See /AGENTS.md for full style guide
19
+ # - See /MEMORY.md for project-specific patterns
20
+
21
+ # Boundaries — do not modify
22
+ # - .env, .env.local
23
+ # - node_modules/
24
+ # - package-lock.json
25
+
26
+ # Agent Behavior
27
+ # - Check /TASKS.md before starting work
28
+ # - Update /MEMORY.md with decisions made
29
+ # - Follow /RUNBOOK.md for deploy procedures
30
+ # - Log sessions to .ai/session-logs/ when handing off to another tool
@@ -0,0 +1,35 @@
1
+ # Cursor Setup Guide
2
+
3
+ ## Overview
4
+
5
+ Cursor reads `.cursorrules` from the project root to configure agent behavior. The adapter provides a template that references the root `AGENTS.md`.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Copy `.cursorrules` to your project root:**
10
+ ```bash
11
+ cp adapters/cursor/.cursorrules .cursorrules
12
+ ```
13
+ 2. **Edit `.cursorrules`** — replace `null` values with your project's actual commands and conventions
14
+ 3. **Ensure `AGENTS.md` exists** at your project root (Cursor can reference it)
15
+
16
+ ## How It Works
17
+
18
+ Cursor loads `.cursorrules` at session start. The adapter file:
19
+ - Contains project rules in Cursor's native comment format
20
+ - References root `AGENTS.md` for full details
21
+ - Includes boundary rules (files not to modify)
22
+
23
+ ## Tips
24
+
25
+ - Keep `.cursorrules` under 100 lines — Cursor has a context budget
26
+ - For Caveman Mode, use an even shorter `.cursorrules` with just build commands
27
+ - Cursor also supports `@` references to files — point it at `MEMORY.md` for context
28
+
29
+ ## Troubleshooting
30
+
31
+ | Issue | Solution |
32
+ |-------|----------|
33
+ | Rules not loading | Ensure `.cursorrules` is at project root (not in adapters/) |
34
+ | Context too long | Trim `.cursorrules` or switch to Caveman Mode |
35
+ | Cursor ignores boundaries | Reinforce no-touch rules at the top of the file |
@@ -0,0 +1,31 @@
1
+ <!-- AUTO-GENERATED REFERENCE — Source of truth: /AGENTS.md -->
2
+ <!-- Do not edit this file directly. Edit /AGENTS.md and re-sync. -->
3
+
4
+ # GEMINI.md
5
+
6
+ This project uses [multimodel-dev-os](https://github.com/rizvee/multimodel-dev-os).
7
+
8
+ **Full instructions:** See `/AGENTS.md` at the project root.
9
+
10
+ ## Project Rules
11
+
12
+ - Read `/AGENTS.md` for build commands, coding conventions, and boundaries
13
+ - Read `/MEMORY.md` for architecture decisions and session history
14
+ - Check `/TASKS.md` before starting any work
15
+ - Follow `/RUNBOOK.md` for deployment and operational procedures
16
+
17
+ ## Gemini-Specific Notes
18
+
19
+ - Gemini reads `AGENTS.md` from the repo root
20
+ - This file provides Gemini-specific behavioral overrides
21
+ - When making architecture decisions, update `/MEMORY.md`
22
+ - When completing a task, update `/TASKS.md`
23
+ - When handing off to another agent, write a log to `.ai/session-logs/`
24
+
25
+ ## Build Commands
26
+
27
+ See `/AGENTS.md` → Build Commands section.
28
+
29
+ ## Boundaries
30
+
31
+ See `/AGENTS.md` → Boundaries section.
@@ -0,0 +1,34 @@
1
+ # Gemini Setup Guide
2
+
3
+ ## Overview
4
+
5
+ Google Gemini (via AI Studio or API) can be directed to read `AGENTS.md` or a custom `GEMINI.md` instruction file.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Copy `GEMINI.md` to your project root:**
10
+ ```bash
11
+ cp adapters/gemini/GEMINI.md GEMINI.md
12
+ ```
13
+ 2. **Ensure `AGENTS.md` exists** at your project root
14
+ 3. **When starting a Gemini session**, reference `GEMINI.md` or `AGENTS.md` as system context
15
+
16
+ ## How It Works
17
+
18
+ Unlike Cursor or Claude, Gemini does not auto-detect instruction files. You need to:
19
+ - Include `GEMINI.md` or `AGENTS.md` content in your system prompt
20
+ - Or reference these files when using Gemini in an IDE that supports file context
21
+
22
+ ## Tips
23
+
24
+ - Keep `GEMINI.md` concise — Gemini has generous context but benefits from focused instructions
25
+ - Use Caveman Mode for API-heavy workflows where tokens cost money
26
+ - Gemini works well with structured YAML — reference `.ai/config.yaml` for project settings
27
+
28
+ ## Troubleshooting
29
+
30
+ | Issue | Solution |
31
+ |-------|----------|
32
+ | Gemini doesn't follow rules | Include GEMINI.md content in system prompt |
33
+ | Token costs too high | Switch to Caveman Mode templates |
34
+ | Context not persisting | Use MEMORY.md and include it each session |
@@ -0,0 +1,21 @@
1
+ {
2
+ "//": "VS Code adapter settings for multimodel-dev-os",
3
+ "//note": "Source of truth is /AGENTS.md — this file provides editor-level settings only",
4
+ "editor.formatOnSave": true,
5
+ "editor.defaultFormatter": null,
6
+ "editor.tabSize": 2,
7
+ "editor.insertSpaces": true,
8
+ "files.trimTrailingWhitespace": true,
9
+ "files.insertFinalNewline": true,
10
+ "files.trimFinalNewlines": true,
11
+ "files.exclude": {
12
+ "node_modules": true,
13
+ ".next": true,
14
+ "dist": true,
15
+ "__pycache__": true
16
+ },
17
+ "search.exclude": {
18
+ "node_modules": true,
19
+ ".ai/session-logs": true
20
+ }
21
+ }
@@ -0,0 +1,40 @@
1
+ # VS Code Setup Guide
2
+
3
+ ## Overview
4
+
5
+ VS Code uses `.vscode/settings.json` for workspace settings. This adapter provides settings aligned with multimodel-dev-os conventions.
6
+
7
+ ## Setup Steps
8
+
9
+ 1. **Copy `.vscode/` to your project root:**
10
+ ```bash
11
+ cp -r adapters/vscode/.vscode/ .vscode/
12
+ ```
13
+ 2. **Edit `.vscode/settings.json`** — set your preferred formatter and tab size
14
+ 3. **Install recommended extensions** (optional):
15
+ - EditorConfig for VS Code
16
+ - Markdown All in One
17
+ - YAML
18
+
19
+ ## What's Included
20
+
21
+ The settings file configures:
22
+ - Format on save
23
+ - Tab size matching `.editorconfig`
24
+ - Trailing whitespace trimming
25
+ - File exclusions for `node_modules`, build output
26
+ - Search exclusions for session logs
27
+
28
+ ## Tips
29
+
30
+ - VS Code's Copilot extension also reads `AGENTS.md` — no additional setup needed
31
+ - Use the integrated terminal to run commands from `RUNBOOK.md`
32
+ - Pin `TASKS.md` as a tab for quick reference
33
+
34
+ ## Troubleshooting
35
+
36
+ | Issue | Solution |
37
+ |-------|----------|
38
+ | Settings not applied | Ensure `.vscode/` is at project root |
39
+ | Formatter conflicts | Set `editor.defaultFormatter` to your preferred formatter |
40
+ | Files not excluded | Check `files.exclude` patterns in settings.json |