aidevops 2.52.1

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 (329) hide show
  1. package/.agent/AGENTS.md +614 -0
  2. package/.agent/accounts.md +65 -0
  3. package/.agent/aidevops/add-new-mcp-to-aidevops.md +456 -0
  4. package/.agent/aidevops/api-integrations.md +335 -0
  5. package/.agent/aidevops/architecture.md +510 -0
  6. package/.agent/aidevops/configs.md +274 -0
  7. package/.agent/aidevops/docs.md +244 -0
  8. package/.agent/aidevops/extension.md +311 -0
  9. package/.agent/aidevops/mcp-integrations.md +340 -0
  10. package/.agent/aidevops/mcp-troubleshooting.md +162 -0
  11. package/.agent/aidevops/memory-patterns.md +172 -0
  12. package/.agent/aidevops/providers.md +217 -0
  13. package/.agent/aidevops/recommendations.md +321 -0
  14. package/.agent/aidevops/requirements.md +301 -0
  15. package/.agent/aidevops/resources.md +214 -0
  16. package/.agent/aidevops/security-requirements.md +174 -0
  17. package/.agent/aidevops/security.md +350 -0
  18. package/.agent/aidevops/service-links.md +400 -0
  19. package/.agent/aidevops/services.md +357 -0
  20. package/.agent/aidevops/setup.md +153 -0
  21. package/.agent/aidevops/troubleshooting.md +389 -0
  22. package/.agent/aidevops.md +124 -0
  23. package/.agent/build-plus.md +244 -0
  24. package/.agent/content/guidelines.md +109 -0
  25. package/.agent/content.md +87 -0
  26. package/.agent/health.md +59 -0
  27. package/.agent/legal.md +59 -0
  28. package/.agent/loop-state/full-loop.local.md +16 -0
  29. package/.agent/loop-state/ralph-loop.local.md +10 -0
  30. package/.agent/marketing.md +440 -0
  31. package/.agent/memory/README.md +260 -0
  32. package/.agent/onboarding.md +796 -0
  33. package/.agent/plan-plus.md +245 -0
  34. package/.agent/research.md +100 -0
  35. package/.agent/sales.md +333 -0
  36. package/.agent/scripts/101domains-helper.sh +701 -0
  37. package/.agent/scripts/add-missing-returns.sh +140 -0
  38. package/.agent/scripts/agent-browser-helper.sh +311 -0
  39. package/.agent/scripts/agno-setup.sh +712 -0
  40. package/.agent/scripts/ahrefs-mcp-wrapper.js +168 -0
  41. package/.agent/scripts/aidevops-update-check.sh +71 -0
  42. package/.agent/scripts/ampcode-cli.sh +522 -0
  43. package/.agent/scripts/auto-version-bump.sh +156 -0
  44. package/.agent/scripts/autogen-helper.sh +512 -0
  45. package/.agent/scripts/beads-sync-helper.sh +596 -0
  46. package/.agent/scripts/closte-helper.sh +5 -0
  47. package/.agent/scripts/cloudron-helper.sh +321 -0
  48. package/.agent/scripts/codacy-cli-chunked.sh +581 -0
  49. package/.agent/scripts/codacy-cli.sh +442 -0
  50. package/.agent/scripts/code-audit-helper.sh +5 -0
  51. package/.agent/scripts/coderabbit-cli.sh +417 -0
  52. package/.agent/scripts/coderabbit-pro-analysis.sh +238 -0
  53. package/.agent/scripts/commands/code-simplifier.md +86 -0
  54. package/.agent/scripts/commands/full-loop.md +246 -0
  55. package/.agent/scripts/commands/postflight-loop.md +103 -0
  56. package/.agent/scripts/commands/recall.md +182 -0
  57. package/.agent/scripts/commands/remember.md +132 -0
  58. package/.agent/scripts/commands/save-todo.md +175 -0
  59. package/.agent/scripts/commands/session-review.md +154 -0
  60. package/.agent/scripts/comprehensive-quality-fix.sh +106 -0
  61. package/.agent/scripts/context-builder-helper.sh +522 -0
  62. package/.agent/scripts/coolify-cli-helper.sh +674 -0
  63. package/.agent/scripts/coolify-helper.sh +380 -0
  64. package/.agent/scripts/crawl4ai-examples.sh +401 -0
  65. package/.agent/scripts/crawl4ai-helper.sh +1078 -0
  66. package/.agent/scripts/crewai-helper.sh +681 -0
  67. package/.agent/scripts/dev-browser-helper.sh +513 -0
  68. package/.agent/scripts/dns-helper.sh +396 -0
  69. package/.agent/scripts/domain-research-helper.sh +917 -0
  70. package/.agent/scripts/dspy-helper.sh +285 -0
  71. package/.agent/scripts/dspyground-helper.sh +291 -0
  72. package/.agent/scripts/eeat-score-helper.sh +1242 -0
  73. package/.agent/scripts/efficient-return-fix.sh +92 -0
  74. package/.agent/scripts/extract-opencode-prompts.sh +128 -0
  75. package/.agent/scripts/find-missing-returns.sh +113 -0
  76. package/.agent/scripts/fix-auth-headers.sh +104 -0
  77. package/.agent/scripts/fix-common-strings.sh +254 -0
  78. package/.agent/scripts/fix-content-type.sh +100 -0
  79. package/.agent/scripts/fix-error-messages.sh +130 -0
  80. package/.agent/scripts/fix-misplaced-returns.sh +74 -0
  81. package/.agent/scripts/fix-remaining-literals.sh +152 -0
  82. package/.agent/scripts/fix-return-statements.sh +41 -0
  83. package/.agent/scripts/fix-s131-default-cases.sh +249 -0
  84. package/.agent/scripts/fix-sc2155-simple.sh +102 -0
  85. package/.agent/scripts/fix-shellcheck-critical.sh +187 -0
  86. package/.agent/scripts/fix-string-literals.sh +273 -0
  87. package/.agent/scripts/full-loop-helper.sh +773 -0
  88. package/.agent/scripts/generate-opencode-agents.sh +497 -0
  89. package/.agent/scripts/generate-opencode-commands.sh +1629 -0
  90. package/.agent/scripts/generate-skills.sh +366 -0
  91. package/.agent/scripts/git-platforms-helper.sh +640 -0
  92. package/.agent/scripts/gitea-cli-helper.sh +743 -0
  93. package/.agent/scripts/github-cli-helper.sh +702 -0
  94. package/.agent/scripts/gitlab-cli-helper.sh +682 -0
  95. package/.agent/scripts/gsc-add-user-helper.sh +325 -0
  96. package/.agent/scripts/gsc-sitemap-helper.sh +678 -0
  97. package/.agent/scripts/hetzner-helper.sh +485 -0
  98. package/.agent/scripts/hostinger-helper.sh +229 -0
  99. package/.agent/scripts/keyword-research-helper.sh +1815 -0
  100. package/.agent/scripts/langflow-helper.sh +544 -0
  101. package/.agent/scripts/linkedin-automation.py +241 -0
  102. package/.agent/scripts/linter-manager.sh +599 -0
  103. package/.agent/scripts/linters-local.sh +434 -0
  104. package/.agent/scripts/list-keys-helper.sh +488 -0
  105. package/.agent/scripts/local-browser-automation.py +339 -0
  106. package/.agent/scripts/localhost-helper.sh +744 -0
  107. package/.agent/scripts/loop-common.sh +806 -0
  108. package/.agent/scripts/mainwp-helper.sh +728 -0
  109. package/.agent/scripts/markdown-formatter.sh +338 -0
  110. package/.agent/scripts/markdown-lint-fix.sh +311 -0
  111. package/.agent/scripts/mass-fix-returns.sh +58 -0
  112. package/.agent/scripts/mcp-diagnose.sh +167 -0
  113. package/.agent/scripts/mcp-inspector-helper.sh +449 -0
  114. package/.agent/scripts/memory-helper.sh +650 -0
  115. package/.agent/scripts/monitor-code-review.sh +255 -0
  116. package/.agent/scripts/onboarding-helper.sh +706 -0
  117. package/.agent/scripts/opencode-github-setup-helper.sh +797 -0
  118. package/.agent/scripts/opencode-test-helper.sh +213 -0
  119. package/.agent/scripts/pagespeed-helper.sh +464 -0
  120. package/.agent/scripts/pandoc-helper.sh +362 -0
  121. package/.agent/scripts/postflight-check.sh +555 -0
  122. package/.agent/scripts/pre-commit-hook.sh +259 -0
  123. package/.agent/scripts/pre-edit-check.sh +169 -0
  124. package/.agent/scripts/qlty-cli.sh +356 -0
  125. package/.agent/scripts/quality-cli-manager.sh +525 -0
  126. package/.agent/scripts/quality-feedback-helper.sh +462 -0
  127. package/.agent/scripts/quality-fix.sh +263 -0
  128. package/.agent/scripts/quality-loop-helper.sh +1108 -0
  129. package/.agent/scripts/ralph-loop-helper.sh +836 -0
  130. package/.agent/scripts/ralph-upstream-check.sh +341 -0
  131. package/.agent/scripts/secretlint-helper.sh +847 -0
  132. package/.agent/scripts/servers-helper.sh +241 -0
  133. package/.agent/scripts/ses-helper.sh +619 -0
  134. package/.agent/scripts/session-review-helper.sh +404 -0
  135. package/.agent/scripts/setup-linters-wizard.sh +379 -0
  136. package/.agent/scripts/setup-local-api-keys.sh +330 -0
  137. package/.agent/scripts/setup-mcp-integrations.sh +472 -0
  138. package/.agent/scripts/shared-constants.sh +246 -0
  139. package/.agent/scripts/site-crawler-helper.sh +1487 -0
  140. package/.agent/scripts/snyk-helper.sh +940 -0
  141. package/.agent/scripts/sonarcloud-autofix.sh +193 -0
  142. package/.agent/scripts/sonarcloud-cli.sh +191 -0
  143. package/.agent/scripts/sonarscanner-cli.sh +455 -0
  144. package/.agent/scripts/spaceship-helper.sh +747 -0
  145. package/.agent/scripts/stagehand-helper.sh +321 -0
  146. package/.agent/scripts/stagehand-python-helper.sh +321 -0
  147. package/.agent/scripts/stagehand-python-setup.sh +441 -0
  148. package/.agent/scripts/stagehand-setup.sh +439 -0
  149. package/.agent/scripts/system-cleanup.sh +340 -0
  150. package/.agent/scripts/terminal-title-helper.sh +388 -0
  151. package/.agent/scripts/terminal-title-setup.sh +549 -0
  152. package/.agent/scripts/test-stagehand-both-integration.sh +317 -0
  153. package/.agent/scripts/test-stagehand-integration.sh +309 -0
  154. package/.agent/scripts/test-stagehand-python-integration.sh +341 -0
  155. package/.agent/scripts/todo-ready.sh +263 -0
  156. package/.agent/scripts/tool-version-check.sh +362 -0
  157. package/.agent/scripts/toon-helper.sh +469 -0
  158. package/.agent/scripts/twilio-helper.sh +917 -0
  159. package/.agent/scripts/updown-helper.sh +279 -0
  160. package/.agent/scripts/validate-mcp-integrations.sh +250 -0
  161. package/.agent/scripts/validate-version-consistency.sh +131 -0
  162. package/.agent/scripts/vaultwarden-helper.sh +597 -0
  163. package/.agent/scripts/vercel-cli-helper.sh +816 -0
  164. package/.agent/scripts/verify-mirrors.sh +169 -0
  165. package/.agent/scripts/version-manager.sh +831 -0
  166. package/.agent/scripts/webhosting-helper.sh +471 -0
  167. package/.agent/scripts/webhosting-verify.sh +238 -0
  168. package/.agent/scripts/wordpress-mcp-helper.sh +508 -0
  169. package/.agent/scripts/worktree-helper.sh +595 -0
  170. package/.agent/scripts/worktree-sessions.sh +577 -0
  171. package/.agent/seo/dataforseo.md +215 -0
  172. package/.agent/seo/domain-research.md +532 -0
  173. package/.agent/seo/eeat-score.md +659 -0
  174. package/.agent/seo/google-search-console.md +366 -0
  175. package/.agent/seo/gsc-sitemaps.md +282 -0
  176. package/.agent/seo/keyword-research.md +521 -0
  177. package/.agent/seo/serper.md +278 -0
  178. package/.agent/seo/site-crawler.md +387 -0
  179. package/.agent/seo.md +236 -0
  180. package/.agent/services/accounting/quickfile.md +159 -0
  181. package/.agent/services/communications/telfon.md +470 -0
  182. package/.agent/services/communications/twilio.md +569 -0
  183. package/.agent/services/crm/fluentcrm.md +449 -0
  184. package/.agent/services/email/ses.md +399 -0
  185. package/.agent/services/hosting/101domains.md +378 -0
  186. package/.agent/services/hosting/closte.md +177 -0
  187. package/.agent/services/hosting/cloudflare.md +251 -0
  188. package/.agent/services/hosting/cloudron.md +478 -0
  189. package/.agent/services/hosting/dns-providers.md +335 -0
  190. package/.agent/services/hosting/domain-purchasing.md +344 -0
  191. package/.agent/services/hosting/hetzner.md +327 -0
  192. package/.agent/services/hosting/hostinger.md +287 -0
  193. package/.agent/services/hosting/localhost.md +419 -0
  194. package/.agent/services/hosting/spaceship.md +353 -0
  195. package/.agent/services/hosting/webhosting.md +330 -0
  196. package/.agent/social-media.md +69 -0
  197. package/.agent/templates/plans-template.md +114 -0
  198. package/.agent/templates/prd-template.md +129 -0
  199. package/.agent/templates/tasks-template.md +108 -0
  200. package/.agent/templates/todo-template.md +89 -0
  201. package/.agent/tools/ai-assistants/agno.md +471 -0
  202. package/.agent/tools/ai-assistants/capsolver.md +326 -0
  203. package/.agent/tools/ai-assistants/configuration.md +221 -0
  204. package/.agent/tools/ai-assistants/overview.md +209 -0
  205. package/.agent/tools/ai-assistants/status.md +171 -0
  206. package/.agent/tools/ai-assistants/windsurf.md +193 -0
  207. package/.agent/tools/ai-orchestration/autogen.md +406 -0
  208. package/.agent/tools/ai-orchestration/crewai.md +445 -0
  209. package/.agent/tools/ai-orchestration/langflow.md +405 -0
  210. package/.agent/tools/ai-orchestration/openprose.md +487 -0
  211. package/.agent/tools/ai-orchestration/overview.md +362 -0
  212. package/.agent/tools/ai-orchestration/packaging.md +647 -0
  213. package/.agent/tools/browser/agent-browser.md +464 -0
  214. package/.agent/tools/browser/browser-automation.md +400 -0
  215. package/.agent/tools/browser/chrome-devtools.md +282 -0
  216. package/.agent/tools/browser/crawl4ai-integration.md +422 -0
  217. package/.agent/tools/browser/crawl4ai-resources.md +277 -0
  218. package/.agent/tools/browser/crawl4ai-usage.md +416 -0
  219. package/.agent/tools/browser/crawl4ai.md +585 -0
  220. package/.agent/tools/browser/dev-browser.md +341 -0
  221. package/.agent/tools/browser/pagespeed.md +260 -0
  222. package/.agent/tools/browser/playwright.md +266 -0
  223. package/.agent/tools/browser/playwriter.md +310 -0
  224. package/.agent/tools/browser/stagehand-examples.md +456 -0
  225. package/.agent/tools/browser/stagehand-python.md +483 -0
  226. package/.agent/tools/browser/stagehand.md +421 -0
  227. package/.agent/tools/build-agent/agent-review.md +224 -0
  228. package/.agent/tools/build-agent/build-agent.md +784 -0
  229. package/.agent/tools/build-mcp/aidevops-plugin.md +476 -0
  230. package/.agent/tools/build-mcp/api-wrapper.md +445 -0
  231. package/.agent/tools/build-mcp/build-mcp.md +240 -0
  232. package/.agent/tools/build-mcp/deployment.md +401 -0
  233. package/.agent/tools/build-mcp/server-patterns.md +632 -0
  234. package/.agent/tools/build-mcp/transports.md +366 -0
  235. package/.agent/tools/code-review/auditing.md +383 -0
  236. package/.agent/tools/code-review/automation.md +219 -0
  237. package/.agent/tools/code-review/best-practices.md +203 -0
  238. package/.agent/tools/code-review/codacy.md +151 -0
  239. package/.agent/tools/code-review/code-simplifier.md +174 -0
  240. package/.agent/tools/code-review/code-standards.md +309 -0
  241. package/.agent/tools/code-review/coderabbit.md +101 -0
  242. package/.agent/tools/code-review/management.md +155 -0
  243. package/.agent/tools/code-review/qlty.md +248 -0
  244. package/.agent/tools/code-review/secretlint.md +565 -0
  245. package/.agent/tools/code-review/setup.md +250 -0
  246. package/.agent/tools/code-review/snyk.md +563 -0
  247. package/.agent/tools/code-review/tools.md +230 -0
  248. package/.agent/tools/content/summarize.md +353 -0
  249. package/.agent/tools/context/augment-context-engine.md +468 -0
  250. package/.agent/tools/context/context-builder-agent.md +76 -0
  251. package/.agent/tools/context/context-builder.md +375 -0
  252. package/.agent/tools/context/context7.md +371 -0
  253. package/.agent/tools/context/dspy.md +302 -0
  254. package/.agent/tools/context/dspyground.md +374 -0
  255. package/.agent/tools/context/llm-tldr.md +219 -0
  256. package/.agent/tools/context/osgrep.md +488 -0
  257. package/.agent/tools/context/prompt-optimization.md +338 -0
  258. package/.agent/tools/context/toon.md +292 -0
  259. package/.agent/tools/conversion/pandoc.md +304 -0
  260. package/.agent/tools/credentials/api-key-management.md +154 -0
  261. package/.agent/tools/credentials/api-key-setup.md +224 -0
  262. package/.agent/tools/credentials/environment-variables.md +180 -0
  263. package/.agent/tools/credentials/vaultwarden.md +382 -0
  264. package/.agent/tools/data-extraction/outscraper.md +974 -0
  265. package/.agent/tools/deployment/coolify-cli.md +388 -0
  266. package/.agent/tools/deployment/coolify-setup.md +353 -0
  267. package/.agent/tools/deployment/coolify.md +345 -0
  268. package/.agent/tools/deployment/vercel.md +390 -0
  269. package/.agent/tools/git/authentication.md +132 -0
  270. package/.agent/tools/git/gitea-cli.md +193 -0
  271. package/.agent/tools/git/github-actions.md +207 -0
  272. package/.agent/tools/git/github-cli.md +223 -0
  273. package/.agent/tools/git/gitlab-cli.md +190 -0
  274. package/.agent/tools/git/opencode-github-security.md +350 -0
  275. package/.agent/tools/git/opencode-github.md +328 -0
  276. package/.agent/tools/git/opencode-gitlab.md +252 -0
  277. package/.agent/tools/git/security.md +196 -0
  278. package/.agent/tools/git.md +207 -0
  279. package/.agent/tools/opencode/oh-my-opencode.md +375 -0
  280. package/.agent/tools/opencode/opencode-anthropic-auth.md +446 -0
  281. package/.agent/tools/opencode/opencode.md +651 -0
  282. package/.agent/tools/social-media/bird.md +437 -0
  283. package/.agent/tools/task-management/beads.md +336 -0
  284. package/.agent/tools/terminal/terminal-title.md +251 -0
  285. package/.agent/tools/ui/shadcn.md +196 -0
  286. package/.agent/tools/ui/ui-skills.md +115 -0
  287. package/.agent/tools/wordpress/localwp.md +311 -0
  288. package/.agent/tools/wordpress/mainwp.md +391 -0
  289. package/.agent/tools/wordpress/scf.md +527 -0
  290. package/.agent/tools/wordpress/wp-admin.md +729 -0
  291. package/.agent/tools/wordpress/wp-dev.md +940 -0
  292. package/.agent/tools/wordpress/wp-preferred.md +398 -0
  293. package/.agent/tools/wordpress.md +95 -0
  294. package/.agent/workflows/branch/bugfix.md +63 -0
  295. package/.agent/workflows/branch/chore.md +95 -0
  296. package/.agent/workflows/branch/experiment.md +115 -0
  297. package/.agent/workflows/branch/feature.md +59 -0
  298. package/.agent/workflows/branch/hotfix.md +98 -0
  299. package/.agent/workflows/branch/refactor.md +92 -0
  300. package/.agent/workflows/branch/release.md +96 -0
  301. package/.agent/workflows/branch.md +347 -0
  302. package/.agent/workflows/bug-fixing.md +267 -0
  303. package/.agent/workflows/changelog.md +129 -0
  304. package/.agent/workflows/code-audit-remote.md +279 -0
  305. package/.agent/workflows/conversation-starter.md +69 -0
  306. package/.agent/workflows/error-feedback.md +578 -0
  307. package/.agent/workflows/feature-development.md +355 -0
  308. package/.agent/workflows/git-workflow.md +702 -0
  309. package/.agent/workflows/multi-repo-workspace.md +268 -0
  310. package/.agent/workflows/plans.md +709 -0
  311. package/.agent/workflows/postflight.md +604 -0
  312. package/.agent/workflows/pr.md +571 -0
  313. package/.agent/workflows/preflight.md +278 -0
  314. package/.agent/workflows/ralph-loop.md +773 -0
  315. package/.agent/workflows/release.md +498 -0
  316. package/.agent/workflows/session-manager.md +254 -0
  317. package/.agent/workflows/session-review.md +311 -0
  318. package/.agent/workflows/sql-migrations.md +631 -0
  319. package/.agent/workflows/version-bump.md +283 -0
  320. package/.agent/workflows/wiki-update.md +333 -0
  321. package/.agent/workflows/worktree.md +477 -0
  322. package/LICENSE +21 -0
  323. package/README.md +1446 -0
  324. package/VERSION +1 -0
  325. package/aidevops.sh +1746 -0
  326. package/bin/aidevops +21 -0
  327. package/package.json +75 -0
  328. package/scripts/npm-postinstall.js +60 -0
  329. package/setup.sh +2366 -0
package/README.md ADDED
@@ -0,0 +1,1446 @@
1
+ # AI DevOps Framework
2
+
3
+ **[aidevops.sh](https://aidevops.sh)** — Unleash your AI assistant's true potential with specialist DevOps agents, designed to manage all your infrastructure and services with security and reliability guidance on every decision.
4
+
5
+ *"List all my servers and websites, and check each for theme and plugin update needs, SEO and page loading performance scores, and give me a list of recommended priorities"* - **One conversation, complete infrastructure management.**
6
+
7
+ ## **The Philosophy**
8
+
9
+ **Sane vibe-coding through git workflow best practices.** **[aidevops](https://aidevops.sh)** brings structure to AI-assisted development:
10
+
11
+ - **Git-first workflow** - Protected branches, PR reviews, quality gates before merge
12
+ - **Parallel agents** - Multiple AI sessions running full [Ralph loops](#ralph-loop---iterative-ai-development) on separate branches via [git worktrees](#git-worktrees---parallel-branch-development)
13
+ - **Progressive discovery** - `/slash` commands and `@subagent` mentions load knowledge into context only when needed
14
+ - **Guided development** - Build your AI team incrementally, with specialists for every online need
15
+
16
+ The result: AI agents that work *with* your development process, not around it.
17
+
18
+ **Built on proven patterns**: aidevops implements [industry-standard agent design patterns](#agent-design-patterns) validated across Claude Code, Manus, and Cursor - including multi-layer action spaces, context isolation, and iterative execution loops.
19
+
20
+ **[aidevops](https://aidevops.sh)** knows what you need to know.
21
+
22
+ ## **Why This Framework?**
23
+
24
+ **Beyond Single-Repo Limitations:** VS Code and Web UIs work on one repo at a time. CLI AI assistants can manage your entire infrastructure when given the right tools, access, and guidance.
25
+
26
+ **DevOps Superpowers for AI:**
27
+
28
+ - **Multi-Service Management**: 30+ APIs (hosting, Git, security, monitoring, deployment)
29
+ - **Real-Time Operations**: SSH, domain management, database operations
30
+ - **Cross-Service Intelligence**: Connect patterns across your entire ecosystem
31
+ - **Unlimited Scope**: Full access to your development infrastructure for bug fixes and feature development
32
+
33
+ ---
34
+
35
+ <!-- Build & Quality Status -->
36
+ [![GitHub Actions](https://github.com/marcusquinn/aidevops/workflows/Code%20Quality%20Analysis/badge.svg)](https://github.com/marcusquinn/aidevops/actions)
37
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=marcusquinn_aidevops&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=marcusquinn_aidevops)
38
+ [![CodeFactor](https://www.codefactor.io/repository/github/marcusquinn/aidevops/badge)](https://www.codefactor.io/repository/github/marcusquinn/aidevops)
39
+ [![Maintainability](https://qlty.sh/gh/marcusquinn/projects/aidevops/maintainability.svg)](https://qlty.sh/gh/marcusquinn/projects/aidevops)
40
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b1adbd66c454dae92234341e801b984)](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
41
+ [![CodeRabbit](https://img.shields.io/badge/CodeRabbit-AI%20Reviews-FF570A?logo=coderabbit&logoColor=white)](https://coderabbit.ai)
42
+
43
+ <!-- License & Legal -->
44
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
45
+ [![Copyright](https://img.shields.io/badge/Copyright-Marcus%20Quinn%202025-blue.svg)](https://github.com/marcusquinn)
46
+
47
+ <!-- GitHub Stats -->
48
+ [![GitHub stars](https://img.shields.io/github/stars/marcusquinn/aidevops.svg?style=social)](https://github.com/marcusquinn/aidevops/stargazers)
49
+ [![GitHub forks](https://img.shields.io/github/forks/marcusquinn/aidevops.svg?style=social)](https://github.com/marcusquinn/aidevops/network)
50
+ [![GitHub watchers](https://img.shields.io/github/watchers/marcusquinn/aidevops.svg?style=social)](https://github.com/marcusquinn/aidevops/watchers)
51
+
52
+ <!-- Release & Version Info -->
53
+ [![GitHub release (latest by date)](https://img.shields.io/github/v/release/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/releases)
54
+ [![GitHub Release Date](https://img.shields.io/github/release-date/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/releases)
55
+ [![GitHub commits since latest release](https://img.shields.io/github/commits-since/marcusquinn/aidevops/latest)](https://github.com/marcusquinn/aidevops/commits/main)
56
+
57
+ <!-- Repository Stats -->
58
+ [![Version](https://img.shields.io/badge/Version-2.52.1-blue)](https://github.com/marcusquinn/aidevops/releases)
59
+ [![GitHub repo size](https://img.shields.io/github/repo-size/marcusquinn/aidevops?style=flat&color=blue)](https://github.com/marcusquinn/aidevops)
60
+ [![Lines of code](https://img.shields.io/badge/Lines%20of%20Code-18%2C000%2B-brightgreen)](https://github.com/marcusquinn/aidevops)
61
+ [![GitHub language count](https://img.shields.io/github/languages/count/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops)
62
+ [![GitHub top language](https://img.shields.io/github/languages/top/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops)
63
+
64
+ <!-- Community & Issues -->
65
+ [![GitHub issues](https://img.shields.io/github/issues/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/issues)
66
+ [![GitHub closed issues](https://img.shields.io/github/issues-closed/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/issues?q=is%3Aissue+is%3Aclosed)
67
+ [![GitHub pull requests](https://img.shields.io/github/issues-pr/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/pulls)
68
+ [![GitHub contributors](https://img.shields.io/github/contributors/marcusquinn/aidevops)](https://github.com/marcusquinn/aidevops/graphs/contributors)
69
+
70
+ <!-- Framework Specific -->
71
+ [![Services Supported](https://img.shields.io/badge/Services%20Supported-30+-brightgreen.svg)](#comprehensive-service-coverage)
72
+ [![AGENTS.md](https://img.shields.io/badge/AGENTS.md-Compliant-blue.svg)](https://agents.md/)
73
+ [![AI Optimized](https://img.shields.io/badge/AI%20Optimized-Yes-brightgreen.svg)](https://github.com/marcusquinn/aidevops/blob/main/AGENTS.md)
74
+ [![MCP Servers](https://img.shields.io/badge/MCP%20Servers-20-orange.svg)](#mcp-integrations)
75
+ [![API Integrations](https://img.shields.io/badge/API%20Integrations-30+-blue.svg)](#comprehensive-service-coverage)
76
+
77
+ ## **Enterprise-Grade Quality & Security**
78
+
79
+ **Comprehensive DevOps framework with tried & tested services integrations, popular and trusted MCP servers, and enterprise-grade infrastructure quality assurance code monitoring and recommendations.**
80
+
81
+ ## **Security Notice**
82
+
83
+ **This framework provides agentic AI assistants with powerful infrastructure access. Use responsibly.**
84
+
85
+ **Capabilities:** Execute commands, access credentials, modify infrastructure, interact with APIs
86
+ **Your responsibility:** Use trusted AI providers, rotate credentials regularly, monitor activity
87
+
88
+ ## **Quick Start**
89
+
90
+ **One-liner install** (fresh install or update):
91
+
92
+ ```bash
93
+ bash <(curl -fsSL https://raw.githubusercontent.com/marcusquinn/aidevops/main/setup.sh)
94
+ ```
95
+
96
+ Or manually:
97
+
98
+ ```bash
99
+ git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops
100
+ ~/Git/aidevops/setup.sh
101
+ ```
102
+
103
+ **That's it!** The setup script will:
104
+ - Clone/update the repo to `~/Git/aidevops`
105
+ - Deploy agents to `~/.aidevops/agents/`
106
+ - Install the `aidevops` CLI command
107
+ - Configure your AI assistants automatically
108
+ - Guide you through recommended tools (Tabby, Zed, Git CLIs)
109
+
110
+ **New users: Start OpenCode and type `/onboarding`** to configure your services interactively. The onboarding wizard will:
111
+ - Explain what **[aidevops](https://aidevops.sh)** can do
112
+ - Ask about your work to give personalized recommendations
113
+ - Show which services are configured vs need setup
114
+ - Guide you through setting up each service with links and commands
115
+
116
+ **After installation, use the CLI:**
117
+
118
+ ```bash
119
+ aidevops status # Check what's installed
120
+ aidevops update # Update to latest version
121
+ aidevops init # Initialize aidevops in any project
122
+ aidevops features # List available features
123
+ aidevops uninstall # Remove aidevops
124
+ ```
125
+
126
+ ### **Use aidevops in Any Project**
127
+
128
+ Initialize **[aidevops](https://aidevops.sh)** features in any git repository:
129
+
130
+ ```bash
131
+ cd ~/your-project
132
+ aidevops init # Enable all features
133
+ aidevops init planning # Enable only planning
134
+ aidevops init planning,time-tracking # Enable specific features
135
+ ```
136
+
137
+ This creates:
138
+ - `.aidevops.json` - Configuration with enabled features
139
+ - `.agent` symlink → `~/.aidevops/agents/`
140
+ - `TODO.md` - Quick task tracking with time estimates
141
+ - `todo/PLANS.md` - Complex execution plans
142
+ - `.beads/` - Task graph database (if beads enabled)
143
+
144
+ **Available features:** `planning`, `git-workflow`, `code-quality`, `time-tracking`, `beads`
145
+
146
+ ### Upgrade Planning Files
147
+
148
+ When aidevops templates evolve, upgrade existing projects to the latest format:
149
+
150
+ ```bash
151
+ aidevops upgrade-planning # Interactive upgrade with backup
152
+ aidevops upgrade-planning --dry-run # Preview changes without modifying
153
+ aidevops upgrade-planning --force # Skip confirmation prompt
154
+ ```
155
+
156
+ This preserves your existing tasks while adding TOON-enhanced parsing, dependency tracking, and better structure.
157
+
158
+ ### Task Graph Visualization with Beads
159
+
160
+ [Beads](https://github.com/steveyegge/beads) provides task dependency tracking and graph visualization:
161
+
162
+ ```bash
163
+ aidevops init beads # Enable beads (includes planning)
164
+ ```
165
+
166
+ **Task Dependencies:**
167
+
168
+ ```markdown
169
+ - [ ] t001 First task
170
+ - [ ] t002 Second task blocked-by:t001
171
+ - [ ] t001.1 Subtask of t001
172
+ ```
173
+
174
+ | Syntax | Meaning |
175
+ |--------|---------|
176
+ | `blocked-by:t001` | Task waits for t001 to complete |
177
+ | `blocks:t002` | This task blocks t002 |
178
+ | `t001.1` | Subtask of t001 (hierarchical) |
179
+
180
+ **Commands:**
181
+
182
+ | Command | Purpose |
183
+ |---------|---------|
184
+ | `/ready` | Show tasks with no open blockers |
185
+ | `/sync-beads` | Sync TODO.md/PLANS.md with Beads graph |
186
+ | `bd list` | List all tasks in Beads |
187
+ | `bd ready` | Show ready tasks (Beads CLI) |
188
+ | `bd graph <id>` | Show dependency graph for an issue |
189
+
190
+ **Architecture:** **[aidevops](https://aidevops.sh)** markdown files (TODO.md, PLANS.md) are the source of truth. Beads syncs from them for visualization.
191
+
192
+ **Optional Viewers:** Beyond the `bd` CLI, there are community viewers for richer visualization:
193
+ - `beads_viewer` (Python TUI) - PageRank, critical path analysis
194
+ - `beads-ui` (Web) - Live updates in browser
195
+ - `bdui` (React/Ink TUI) - Modern terminal UI
196
+ - `perles` (Rust TUI) - BQL query language
197
+
198
+ See `.agent/tools/task-management/beads.md` for complete documentation and installation commands.
199
+
200
+ **Your AI assistant now has agentic access to 30+ service integrations.**
201
+
202
+ ### OpenCode Antigravity OAuth Plugin
203
+
204
+ The setup automatically installs the [opencode-antigravity-auth](https://github.com/NoeFabris/opencode-antigravity-auth) plugin, enabling Google OAuth authentication for OpenCode. This gives you access to Antigravity rate limits and premium models.
205
+
206
+ **After setup, authenticate:**
207
+
208
+ ```bash
209
+ opencode auth login
210
+ # Select: Google → OAuth with Google (Antigravity)
211
+ # Press Enter to skip Project ID prompt
212
+ ```
213
+
214
+ **Available models via Antigravity:**
215
+
216
+ - `gemini-3-pro-high` / `gemini-3-pro-low` / `gemini-3-flash`
217
+ - `claude-sonnet-4-5` / `claude-sonnet-4-5-thinking` / `claude-opus-4-5-thinking`
218
+ - `gpt-oss-120b-medium`
219
+
220
+ **Multi-account load balancing:** Add multiple Google accounts for automatic rate limit distribution and failover. See the [plugin documentation](https://github.com/NoeFabris/opencode-antigravity-auth) for model configuration.
221
+
222
+ ### OpenCode Anthropic OAuth Plugin
223
+
224
+ The setup automatically installs the [opencode-anthropic-auth](https://github.com/anomalyco/opencode-anthropic-auth) plugin, enabling OAuth authentication for Claude Pro/Max accounts. This allows Claude subscribers to use OpenCode with zero API costs.
225
+
226
+ **After setup, authenticate:**
227
+
228
+ ```bash
229
+ opencode auth login
230
+ # Select: Anthropic → Claude Pro/Max
231
+ # Follow OAuth flow in browser
232
+ ```
233
+
234
+ **Benefits:**
235
+
236
+ - **Zero cost** for Claude Pro/Max subscribers (covered by subscription)
237
+ - **Automatic token refresh** - No manual re-authentication needed
238
+ - **Beta features enabled** - Extended thinking modes and latest features
239
+ - **Three authentication methods:**
240
+ - Claude Pro/Max OAuth (recommended for subscribers)
241
+ - Create API Key via OAuth
242
+ - Manual API key entry
243
+
244
+ **Available models:**
245
+
246
+ All Anthropic models available to Pro/Max subscribers, including:
247
+ - `claude-sonnet-4-20250514`
248
+ - `claude-opus-4-5`
249
+ - Extended thinking modes
250
+
251
+ See the [plugin documentation](https://github.com/anomalyco/opencode-anthropic-auth) and `.agent/tools/opencode/opencode-anthropic-auth.md` for complete setup and troubleshooting.
252
+
253
+ ### Oh-My-OpenCode Plugin (Optional)
254
+
255
+ The setup offers to install [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) - a complementary plugin that adds **coding productivity features**:
256
+
257
+ | Feature | Description |
258
+ |---------|-------------|
259
+ | **Async Background Agents** | Run multiple agents in parallel (like Claude Code) |
260
+ | **LSP Tools** | 11 tools: hover, goto definition, references, rename, code actions |
261
+ | **AST-Grep** | Semantic code search and replace across 25 languages |
262
+ | **Curated Agents** | OmO (Opus 4.5), Oracle (GPT 5.2), Librarian (Sonnet 4.5), Explore (Grok) |
263
+ | **Claude Code Compatibility** | Full support for hooks, commands, skills from `.claude/` directories |
264
+ | **21 Lifecycle Hooks** | Comment checker, todo enforcer, context window monitor, session recovery |
265
+
266
+ **How they complement each other:**
267
+
268
+ - **aidevops** provides DevOps infrastructure (30+ services: hosting, DNS, WordPress, SEO, code quality)
269
+ - **oh-my-opencode** provides coding productivity (LSP, AST, background agents, hooks)
270
+
271
+ **Usage after installation:**
272
+
273
+ ```bash
274
+ # Trigger maximum performance mode
275
+ > ultrawork implement the authentication system
276
+
277
+ # Use curated agents
278
+ > @oracle review this architecture
279
+ > @librarian find examples of this pattern on GitHub
280
+ > @explore search for authentication handling
281
+ ```
282
+
283
+ See `.agent/tools/opencode/oh-my-opencode.md` for the full compatibility guide.
284
+
285
+ ### GitHub AI Agent Integration
286
+
287
+ Enable AI-powered issue resolution directly from GitHub. Comment `/oc fix this` on any issue and the AI creates a branch, implements the fix, and opens a PR.
288
+
289
+ **Security-first design** - The workflow includes:
290
+ - Trusted users only (OWNER/MEMBER/COLLABORATOR)
291
+ - `ai-approved` label required on issues before AI processing
292
+ - Prompt injection pattern detection
293
+ - Audit logging of all invocations
294
+ - 15-minute timeout and rate limiting
295
+
296
+ **Quick setup:**
297
+
298
+ ```bash
299
+ # 1. Install the OpenCode GitHub App
300
+ # Visit: https://github.com/apps/opencode-agent
301
+
302
+ # 2. Add API key secret
303
+ # Repository → Settings → Secrets → ANTHROPIC_API_KEY
304
+
305
+ # 3. Create required labels
306
+ gh label create "ai-approved" --color "0E8A16" --description "Issue approved for AI agent"
307
+ gh label create "security-review" --color "D93F0B" --description "Requires security review"
308
+ ```
309
+
310
+ The secure workflow is included at `.github/workflows/opencode-agent.yml`.
311
+
312
+ **Usage:**
313
+
314
+ | Context | Command | Result |
315
+ |---------|---------|--------|
316
+ | Issue (with `ai-approved` label) | `/oc fix this` | Creates branch + PR |
317
+ | Issue | `/oc explain this` | AI analyzes and replies |
318
+ | PR | `/oc review this PR` | Code review feedback |
319
+ | PR Files tab | `/oc add error handling here` | Line-specific fix |
320
+
321
+ See `.agent/tools/git/opencode-github-security.md` for the full security documentation.
322
+
323
+ **Supported AI Assistants:** (OpenCode & Zed are our daily drivers and preferred tools, so will have the most continual testing. All 18 assistants below have MCP configuration support.)
324
+
325
+ **Preferred:**
326
+
327
+ - **[Tabby](https://tabby.sh/)** - Modern terminal with colour-coded Profiles. Use different profile colours per project/repo to visually distinguish which codebase you're working in. **Auto-syncs tab title with git repo/branch.**
328
+ - **[OpenCode](https://opencode.ai/)** - Primary choice. Powerful agentic TUI/CLI with native MCP support, Tab-based agent switching, and excellent DX.
329
+ - **[Zed](https://zed.dev/)** - High-performance editor with AI (Preferred, with the OpenCode Agent Extension)
330
+
331
+ ### Terminal Tab Title Sync
332
+
333
+ Your terminal tab/window title automatically shows `repo/branch` context when working in git repositories. This helps identify which codebase and branch you're working on across multiple terminal sessions.
334
+
335
+ **Supported terminals:** Tabby, iTerm2, Windows Terminal, Kitty, Alacritty, WezTerm, Hyper, and most xterm-compatible terminals.
336
+
337
+ **How it works:** The `pre-edit-check.sh` script's primary role is enforcing git workflow protection (blocking edits on main/master branches). As a secondary, non-blocking action, it updates the terminal title via escape sequences. No configuration needed - it's automatic.
338
+
339
+ **Example format:** `{repo}/{branch-type}/{description}`
340
+
341
+ See `.agent/tools/terminal/terminal-title.md` for customization options.
342
+
343
+ **IDE-Based:**
344
+
345
+ - **[Cursor](https://cursor.sh/)** - AI-first IDE with MCP support
346
+ - **[Windsurf](https://codeium.com/windsurf)** - Codeium's AI IDE
347
+ - **[Continue.dev](https://continue.dev/)** - VS Code/JetBrains extension
348
+ - **[Cody](https://sourcegraph.com/cody)** - Sourcegraph's AI assistant
349
+
350
+ **Claude Family:**
351
+
352
+ - **[Claude Code](https://claude.ai/)** - CLI version with `claude mcp add`
353
+ - **[Claude Desktop](https://claude.ai/)** - GUI with MCP config
354
+
355
+ **Enterprise & Professional:**
356
+
357
+ - **[Factory AI Droid](https://www.factory.ai/)** - Enterprise-grade agentic AI
358
+ - **[Augment Code](https://www.augmentcode.com/)** - Deep codebase indexing
359
+ - **[GitHub Copilot](https://github.com/features/copilot)** - Agent mode for MCP
360
+
361
+ **Specialized:**
362
+
363
+ - **[Kilo Code](https://kilocode.ai/)** - VS Code extension
364
+ - **[Kiro](https://kiro.dev/)** - AWS's AI assistant
365
+ - **[AntiGravity](https://antigravity.dev/)** - AI coding tool
366
+ - **[Gemini CLI](https://ai.google.dev/)** - Google's CLI
367
+
368
+ **Terminal & CLI:**
369
+
370
+ - **[Aider](https://aider.chat/)** - CLI pair programmer with native MCP
371
+ - **[Warp AI](https://www.warp.dev/)** - Terminal with AI (no native MCP, use OpenCode/Claude in Warp)
372
+ - **[Qwen](https://qwen.ai/)** - Alibaba's CLI (MCP support experimental)
373
+
374
+ ## **Core Capabilities**
375
+
376
+ **AI-First Infrastructure Management:**
377
+
378
+ - SSH server access, remote command execution, API integrations
379
+ - DNS management, application deployment, email monitoring
380
+ - Git platform management, domain purchasing, setup automation
381
+ - [WordPress](https://wordpress.org/) management, credential security, code auditing
382
+
383
+ **Unified Interface:**
384
+
385
+ - Standardized commands across all providers
386
+ - Automated SSH configuration and multi-account support for all services
387
+ - Security-first design with comprehensive logging, code quality reviews, and continual feedback-based improvement
388
+
389
+ **Quality Control & Monitoring:**
390
+
391
+ - **Multi-Platform Analysis**: SonarCloud, CodeFactor, Codacy, CodeRabbit, Qlty, Gemini Code Assist, Snyk
392
+ - **Performance Auditing**: PageSpeed Insights and Lighthouse integration
393
+ - **Uptime Monitoring**: Updown.io integration for website and SSL monitoring
394
+
395
+ ## **Agent Design Patterns**
396
+
397
+ aidevops implements proven agent design patterns identified by [Lance Martin (LangChain)](https://x.com/RLanceMartin/status/2009683038272401719) and validated across successful agents like Claude Code, Manus, and Cursor.
398
+
399
+ | Pattern | Description | aidevops Implementation |
400
+ |---------|-------------|------------------------|
401
+ | **Give Agents a Computer** | Filesystem + shell for persistent context | `~/.aidevops/.agent-workspace/`, 100+ helper scripts |
402
+ | **Multi-Layer Action Space** | Few tools, push actions to computer | Per-agent MCP filtering (~12-20 tools each) |
403
+ | **Progressive Disclosure** | Load context on-demand | Subagent tables, YAML frontmatter, read-on-demand |
404
+ | **Offload Context** | Write results to filesystem | `.agent-workspace/work/[project]/` for persistence |
405
+ | **Cache Context** | Prompt caching for cost | Stable instruction prefixes |
406
+ | **Isolate Context** | Sub-agents with separate windows | Subagent files with specific tool permissions |
407
+ | **Ralph Loop** | Iterative execution until complete | `ralph-loop-helper.sh`, `full-loop-helper.sh` |
408
+ | **Evolve Context** | Learn from sessions | `/remember`, `/recall` with SQLite FTS5 |
409
+
410
+ **Key insight**: Context is a finite resource with diminishing returns. aidevops treats every token as precious - loading only what's needed, when it's needed.
411
+
412
+ See `.agent/aidevops/architecture.md` for detailed implementation notes and references.
413
+
414
+ ## **Requirements**
415
+
416
+ ```bash
417
+ # Install dependencies (auto-detected by setup.sh)
418
+ brew install sshpass jq curl mkcert dnsmasq # macOS
419
+ sudo apt-get install sshpass jq curl dnsmasq # Ubuntu/Debian
420
+
421
+ # Generate SSH key
422
+ ssh-keygen -t ed25519 -C "your-email@domain.com"
423
+ ```
424
+
425
+ ## **Comprehensive Service Coverage**
426
+
427
+ ### **Infrastructure & Hosting**
428
+
429
+ - **[Hostinger](https://www.hostinger.com/)**: Shared hosting, domains, email
430
+ - **[Hetzner Cloud](https://www.hetzner.com/cloud)**: VPS servers, networking, load balancers
431
+ - **[Closte](https://closte.com/)**: Managed hosting, application deployment
432
+ - **[Coolify](https://coolify.io/)** *Enhanced with CLI*: Self-hosted PaaS with CLI integration
433
+ - **[Cloudron](https://www.cloudron.io/)**: Server and app management platform
434
+ - **[Vercel](https://vercel.com/)** *Enhanced with CLI*: Modern web deployment platform with CLI integration
435
+ - **[AWS](https://aws.amazon.com/)**: Cloud infrastructure support via standard protocols
436
+ - **[DigitalOcean](https://www.digitalocean.com/)**: Cloud infrastructure support via standard protocols
437
+
438
+ ### **Domain & DNS**
439
+
440
+ - **[Cloudflare](https://www.cloudflare.com/)**: DNS, CDN, security services
441
+ - **[Spaceship](https://www.spaceship.com/)**: Domain registration and management
442
+ - **[101domains](https://www.101domain.com/)**: Domain purchasing and DNS
443
+ - **[AWS Route 53](https://aws.amazon.com/route53/)**: AWS DNS management
444
+ - **[Namecheap](https://www.namecheap.com/)**: Domain and DNS services
445
+
446
+ ### **Development & Git Platforms with CLI Integration**
447
+
448
+ - **[GitHub](https://github.com/)** *Enhanced with CLI*: Repository management, actions, API, GitHub CLI (gh) integration
449
+ - **[GitLab](https://gitlab.com/)** *Enhanced with CLI*: Self-hosted and cloud Git platform with GitLab CLI (glab) integration
450
+ - **[Gitea](https://gitea.io/)** *Enhanced with CLI*: Lightweight Git service with Gitea CLI (tea) integration
451
+ - **[Agno](https://agno.com/)**: Local AI agent operating system for DevOps automation
452
+ - **[Pandoc](https://pandoc.org/)**: Document conversion to markdown for AI processing
453
+
454
+ ### **AI Orchestration Frameworks**
455
+
456
+ - **[Langflow](https://langflow.org/)**: Visual drag-and-drop builder for AI workflows (MIT, localhost:7860)
457
+ - **[CrewAI](https://crewai.com/)**: Multi-agent teams with role-based orchestration (MIT, localhost:8501)
458
+ - **[AutoGen](https://microsoft.github.io/autogen/)**: Microsoft's agentic AI framework with MCP support (MIT, localhost:8081)
459
+
460
+ ### **WordPress Development**
461
+
462
+ - **[LocalWP](https://localwp.com)**: WordPress development environment with MCP database access
463
+ - **[MainWP](https://mainwp.com/)**: WordPress site management dashboard
464
+
465
+ **Git CLI Enhancement Features:**
466
+
467
+ - **.agent/scripts/github-cli-helper.sh**: Advanced GitHub repository, issue, PR, and branch management
468
+ - **.agent/scripts/gitlab-cli-helper.sh**: Complete GitLab project, issue, MR, and branch management
469
+ - **.agent/scripts/gitea-cli-helper.sh**: Full Gitea repository, issue, PR, and branch management
470
+
471
+ ### **Security & Code Quality**
472
+
473
+ - **[Vaultwarden](https://github.com/dani-garcia/vaultwarden)**: Password and secrets management
474
+ - **[SonarCloud](https://sonarcloud.io/)**: Security and quality analysis (A-grade ratings)
475
+ - **[CodeFactor](https://www.codefactor.io/)**: Code quality metrics (A+ score)
476
+ - **[Codacy](https://www.codacy.com/)**: Multi-tool analysis (0 findings)
477
+ - **[CodeRabbit](https://coderabbit.ai/)**: AI-powered code reviews
478
+ - **[Snyk](https://snyk.io/)**: Security vulnerability scanning
479
+ - **[Qlty](https://qlty.sh/)**: Universal code quality platform (70+ linters, auto-fixes)
480
+ - **[Gemini Code Assist](https://cloud.google.com/gemini/docs/codeassist/overview)**: Google's AI-powered code completion and review
481
+
482
+ ### **AI Prompt Optimization**
483
+
484
+ - **[Augment Context Engine](https://docs.augmentcode.com/context-services/mcp/overview)**: Semantic codebase retrieval with deep code understanding
485
+ - **[Repomix](https://repomix.com/)**: Pack codebases into AI-friendly context (80% token reduction with compress mode)
486
+ - **[DSPy](https://dspy.ai/)**: Framework for programming with language models
487
+ - **[DSPyGround](https://dspyground.com/)**: Interactive playground for prompt optimization
488
+ - **[TOON Format](https://github.com/marcusquinn/aidevops/blob/main/.agent/toon-format.md)**: Token-Oriented Object Notation - 20-60% token reduction for LLM prompts
489
+
490
+ ### **Communications**
491
+
492
+ - **[Twilio](https://www.twilio.com/)**: SMS, voice calls, WhatsApp, phone verification (Verify API), call recording & transcription
493
+ - **[Telfon](https://mytelfon.com/)**: Twilio-powered cloud phone system with iOS/Android/Chrome apps for end-user calling interface
494
+
495
+ ### **Performance & Monitoring**
496
+
497
+ - **[PageSpeed Insights](https://pagespeed.web.dev/)**: Website performance auditing
498
+ - **[Lighthouse](https://developer.chrome.com/docs/lighthouse/)**: Comprehensive web app analysis
499
+ - **[Updown.io](https://updown.io/)**: Website uptime and SSL monitoring
500
+
501
+ ### **AI & Documentation**
502
+
503
+ - **[Context7](https://context7.io/)**: Real-time documentation access for libraries and frameworks
504
+
505
+ ## **MCP Integrations**
506
+
507
+ **Model Context Protocol servers for real-time AI assistant integration.** The framework helps configure these MCPs for **18 AI assistants** including OpenCode (preferred), Cursor, Claude Code/Desktop, Windsurf, Continue.dev, Cody, Zed, GitHub Copilot, Kilo Code, Kiro, AntiGravity, Gemini CLI, Droid, Warp AI, Aider, and Qwen.
508
+
509
+ ### **All Supported MCPs**
510
+
511
+ | MCP | Purpose | API Key Required |
512
+ |-----|---------|------------------|
513
+ | [Ahrefs](https://ahrefs.com/api) | SEO analysis & backlinks | Yes |
514
+ | [Augment Context Engine](https://docs.augmentcode.com/context-services/mcp/overview) | Semantic codebase retrieval | Yes (Augment account) |
515
+ | [DataForSEO](https://dataforseo.com/) | SERP, keywords, backlinks, on-page | Yes |
516
+ | [Chrome DevTools](https://chromedevtools.github.io/devtools-protocol/) | Browser debugging & automation | No |
517
+ | [Cloudflare Browser](https://developers.cloudflare.com/browser-rendering/) | Server-side rendering | Yes (Cloudflare) |
518
+ | [Context7](https://context7.com/) | Library documentation lookup | No |
519
+ | [Crawl4AI](https://github.com/unclecode/crawl4ai) | Web crawling & scraping | No |
520
+ | [Google Search Console](https://developers.google.com/webmaster-tools) | Search performance data | Yes (Google API) |
521
+ | [Grep by Vercel](https://grep.app/) | GitHub code search | No |
522
+ | [LocalWP](https://localwp.com/) | WordPress database access | No (local) |
523
+ | [Next.js DevTools](https://nextjs.org/docs) | React/Next.js assistance | No |
524
+ | [Outscraper](https://outscraper.com/) | Google Maps & business data extraction | Yes |
525
+ | [PageSpeed Insights](https://developers.google.com/speed/docs/insights/v5/get-started) | Performance auditing | Yes (Google API) |
526
+ | [Perplexity](https://docs.perplexity.ai/) | AI-powered research | Yes |
527
+ | [Playwright](https://playwright.dev/) | Cross-browser testing | No |
528
+ | [Repomix](https://github.com/yamadashy/repomix) | Codebase packing for AI context | No |
529
+ | [Serper](https://serper.dev/) | Google Search API (web, images, news) | Yes |
530
+ | [shadcn/ui](https://ui.shadcn.com/) | UI component library browsing & installation | No |
531
+ | [Snyk](https://snyk.io/) | Security vulnerability scanning | Yes |
532
+ | [Stagehand (JS)](https://github.com/browserbase/stagehand) | AI browser automation | Optional (Browserbase) |
533
+ | [Stagehand (Python)](https://github.com/anthropics/stagehand-python) | AI browser automation | Optional (Browserbase) |
534
+ | [llm-tldr](https://github.com/parcadei/llm-tldr) | Semantic code analysis (95% token savings) | No |
535
+
536
+ ### **By Category**
537
+
538
+ **Context & Codebase:**
539
+
540
+ - [Augment Context Engine](https://docs.augmentcode.com/context-services/mcp/overview) - Semantic codebase retrieval with deep code understanding
541
+ - [llm-tldr](https://github.com/parcadei/llm-tldr) - Semantic code analysis with 95% token savings (tree, structure, CFG, DFG, impact analysis)
542
+ - [osgrep](https://github.com/Ryandonofrio3/osgrep) - Local semantic search (100% private, no cloud)
543
+ - [Context7](https://context7.com/) - Real-time documentation access for thousands of libraries
544
+ - [Repomix](https://github.com/yamadashy/repomix) - Pack codebases into AI-friendly context
545
+
546
+ **Browser Automation:**
547
+
548
+ - [Stagehand (JavaScript)](https://github.com/browserbase/stagehand) - AI-powered browser automation with natural language
549
+ - [Stagehand (Python)](https://github.com/anthropics/stagehand-python) - Python version with Pydantic validation
550
+ - [Chrome DevTools](https://chromedevtools.github.io/devtools-protocol/) - Browser automation, performance analysis, debugging
551
+ - [Playwright](https://playwright.dev/) - Cross-browser testing and automation
552
+ - [Crawl4AI](https://github.com/unclecode/crawl4ai) - Async web crawler optimized for AI
553
+ - [Cloudflare Browser Rendering](https://developers.cloudflare.com/browser-rendering/) - Server-side web scraping
554
+
555
+ **SEO & Research:**
556
+
557
+ - [Ahrefs](https://ahrefs.com/api) - SEO analysis, backlink research, keyword data
558
+ - [DataForSEO](https://dataforseo.com/) - Comprehensive SEO data APIs (SERP, keywords, backlinks, on-page)
559
+ - [Serper](https://serper.dev/) - Google Search API (web, images, news, places, shopping)
560
+ - [Google Search Console](https://developers.google.com/webmaster-tools) - Search performance insights
561
+ - [Perplexity](https://docs.perplexity.ai/) - AI-powered web search and research
562
+ - [Grep by Vercel](https://grep.app/) - Search code snippets across GitHub repositories
563
+ - **Keyword Research** - Strategic keyword research with SERP weakness detection (via DataForSEO + Serper + Ahrefs)
564
+ - **Site Crawler** - Screaming Frog-like SEO auditing: broken links, redirects, meta issues, structured data
565
+ - **Domain Research** - DNS intelligence via THC (4.51B records) and Reconeer APIs: rDNS, subdomains, CNAMEs
566
+
567
+ **Data Extraction:**
568
+
569
+ - [Outscraper](https://outscraper.com/) - Google Maps, business data, reviews extraction
570
+
571
+ **Performance & Security:**
572
+
573
+ - [PageSpeed Insights](https://developers.google.com/speed/docs/insights/v5/get-started) - Website performance auditing
574
+ - [Snyk](https://snyk.io/) - Security vulnerability scanning
575
+
576
+ **WordPress & Development:**
577
+
578
+ - [LocalWP](https://localwp.com/) - Direct WordPress database access
579
+ - [Next.js DevTools](https://nextjs.org/docs) - React/Next.js development assistance
580
+
581
+ **UI Components:**
582
+
583
+ - [shadcn/ui](https://ui.shadcn.com/) - Browse, search, and install shadcn/ui components directly via MCP
584
+
585
+ ### **Quick Setup**
586
+
587
+ ```bash
588
+ # Install all MCP integrations
589
+ bash .agent/scripts/setup-mcp-integrations.sh all
590
+
591
+ # Install specific integration
592
+ bash .agent/scripts/setup-mcp-integrations.sh stagehand # JavaScript version
593
+ bash .agent/scripts/setup-mcp-integrations.sh stagehand-python # Python version
594
+ bash .agent/scripts/setup-mcp-integrations.sh stagehand-both # Both versions
595
+ bash .agent/scripts/setup-mcp-integrations.sh chrome-devtools
596
+ ```
597
+
598
+ ## **Repomix - AI Context Generation**
599
+
600
+ [Repomix](https://repomix.com/) packages your codebase into AI-friendly formats for sharing with AI assistants. This framework includes optimized Repomix configuration for consistent context generation.
601
+
602
+ ### Why Repomix?
603
+
604
+ | Use Case | Tool | When to Use |
605
+ |----------|------|-------------|
606
+ | **Interactive coding** | Augment Context Engine | Real-time semantic search during development |
607
+ | **Share with external AI** | Repomix | Self-contained snapshot for ChatGPT, Claude web, etc. |
608
+ | **Architecture review** | Repomix (compress) | 80% token reduction, structure only |
609
+ | **CI/CD integration** | GitHub Action | Automated context in releases |
610
+
611
+ ### Quick Usage
612
+
613
+ ```bash
614
+ # Pack current repo with configured defaults
615
+ npx repomix
616
+
617
+ # Compress mode (~80% smaller, structure only)
618
+ npx repomix --compress
619
+
620
+ # Or use the helper script
621
+ .agent/scripts/context-builder-helper.sh pack # Full context
622
+ .agent/scripts/context-builder-helper.sh compress # Compressed
623
+ ```
624
+
625
+ ### Configuration Files
626
+
627
+ | File | Purpose |
628
+ |------|---------|
629
+ | `repomix.config.json` | Default settings (style, includes, security) |
630
+ | `.repomixignore` | Additional exclusions beyond .gitignore |
631
+ | `repomix-instruction.md` | Custom AI instructions included in output |
632
+
633
+ ### Key Design Decisions
634
+
635
+ - **No pre-generated files**: Outputs are generated on-demand to avoid staleness
636
+ - **Inherits .gitignore**: Security patterns automatically respected
637
+ - **Secretlint enabled**: Scans for exposed credentials before output
638
+ - **Symlinks excluded**: Avoids duplicating `.agent/` content
639
+
640
+ ### MCP Integration
641
+
642
+ Repomix runs as an MCP server for direct AI assistant integration:
643
+
644
+ ```json
645
+ {
646
+ "repomix": {
647
+ "type": "local",
648
+ "command": ["npx", "-y", "repomix@latest", "--mcp"],
649
+ "enabled": true
650
+ }
651
+ }
652
+ ```
653
+
654
+ See `.agent/tools/context/context-builder.md` for complete documentation.
655
+
656
+ ## **Augment Context Engine - Semantic Codebase Search**
657
+
658
+ [Augment Context Engine](https://docs.augmentcode.com/context-services/mcp/overview) provides semantic codebase retrieval - understanding your code at a deeper level than simple text search. It's the recommended tool for real-time interactive coding sessions.
659
+
660
+ ### Why Augment Context Engine?
661
+
662
+ | Feature | grep/glob | Augment Context Engine |
663
+ |---------|-----------|------------------------|
664
+ | Text matching | Exact patterns | Semantic understanding |
665
+ | Cross-file context | Manual | Automatic |
666
+ | Code relationships | None | Understands dependencies |
667
+ | Natural language | No | Yes |
668
+
669
+ Use it to:
670
+
671
+ - Find related code across your entire codebase
672
+ - Understand project architecture quickly
673
+ - Discover patterns and implementations
674
+ - Get context-aware code suggestions
675
+
676
+ ### Quick Setup
677
+
678
+ ```bash
679
+ # 1. Install Auggie CLI (requires Node.js 22+)
680
+ npm install -g @augmentcode/auggie@prerelease
681
+
682
+ # 2. Authenticate (opens browser)
683
+ auggie login
684
+
685
+ # 3. Verify installation
686
+ auggie token print
687
+ ```
688
+
689
+ ### MCP Integration
690
+
691
+ Add to your AI assistant's MCP configuration:
692
+
693
+ **OpenCode** (`~/.config/opencode/opencode.json`):
694
+
695
+ ```json
696
+ {
697
+ "mcp": {
698
+ "augment-context-engine": {
699
+ "type": "local",
700
+ "command": ["auggie", "--mcp"],
701
+ "enabled": true
702
+ }
703
+ }
704
+ }
705
+ ```
706
+
707
+ **Claude Code**:
708
+
709
+ ```bash
710
+ claude mcp add-json auggie-mcp --scope user '{"type":"stdio","command":"auggie","args":["--mcp"]}'
711
+ ```
712
+
713
+ **Cursor**: Settings → Tools & MCP → New MCP Server:
714
+
715
+ ```json
716
+ {
717
+ "mcpServers": {
718
+ "augment-context-engine": {
719
+ "command": "bash",
720
+ "args": ["-c", "auggie --mcp -m default -w \"${WORKSPACE_FOLDER_PATHS%%,*}\""]
721
+ }
722
+ }
723
+ }
724
+ ```
725
+
726
+ ### Verification
727
+
728
+ Test with this prompt:
729
+
730
+ ```text
731
+ What is this project? Please use codebase retrieval tool to get the answer.
732
+ ```
733
+
734
+ The AI should provide a semantic understanding of your project architecture.
735
+
736
+ ### Repomix vs Augment Context Engine
737
+
738
+ | Use Case | Tool | When to Use |
739
+ |----------|------|-------------|
740
+ | **Interactive coding** | Augment Context Engine | Real-time semantic search during development |
741
+ | **Share with external AI** | Repomix | Self-contained snapshot for ChatGPT, Claude web, etc. |
742
+ | **Architecture review** | Repomix (compress) | 80% token reduction, structure only |
743
+ | **CI/CD integration** | Repomix GitHub Action | Automated context in releases |
744
+
745
+ See `.agent/tools/context/augment-context-engine.md` for complete documentation including configurations for Zed, GitHub Copilot, Kilo Code, Kiro, AntiGravity, Gemini CLI, and Factory.AI Droid.
746
+
747
+ ### osgrep - Local Alternative (Experimental)
748
+
749
+ [osgrep](https://github.com/Ryandonofrio3/osgrep) provides 100% local semantic search with no cloud dependency:
750
+
751
+ ```bash
752
+ npm install -g osgrep && osgrep setup
753
+ osgrep "where is authentication handled?"
754
+ ```
755
+
756
+ | Feature | osgrep | Augment |
757
+ |---------|--------|---------|
758
+ | Privacy | 100% local | Cloud-based |
759
+ | Auth | None required | Account + login |
760
+ | Node.js | 18+ | 22+ |
761
+
762
+ See `.agent/tools/context/osgrep.md` for complete documentation and AI tool configurations.
763
+
764
+ ### llm-tldr - Semantic Code Analysis
765
+
766
+ [llm-tldr](https://github.com/parcadei/llm-tldr) extracts code structure and semantics, saving ~95% tokens compared to raw code. From the [Continuous-Claude](https://github.com/parcadei/Continuous-Claude-v3) project.
767
+
768
+ ```bash
769
+ # Install
770
+ pip install llm-tldr
771
+
772
+ # CLI usage
773
+ tldr tree ./src # File structure with line counts
774
+ tldr structure src/auth.py # Code skeleton (classes, functions)
775
+ tldr context src/auth.py # Full semantic analysis
776
+ tldr search "authentication" ./src # Semantic code search
777
+ tldr impact src/auth.py validate # What would change affect?
778
+ ```
779
+
780
+ **MCP Integration:**
781
+
782
+ ```json
783
+ {
784
+ "llm-tldr": {
785
+ "command": "tldr-mcp",
786
+ "args": ["--project", "${workspaceFolder}"]
787
+ }
788
+ }
789
+ ```
790
+
791
+ | Feature | Token Savings | Use Case |
792
+ |---------|---------------|----------|
793
+ | Structure extraction | 90% | Understanding code layout |
794
+ | Context analysis | 95% | Deep code understanding |
795
+ | Semantic search | N/A | Finding code by meaning |
796
+ | Impact analysis | N/A | Change risk assessment |
797
+
798
+ See `.agent/tools/context/llm-tldr.md` for complete documentation.
799
+
800
+ ## **Cross-Tool Compatibility**
801
+
802
+ ### Agent Skills Standard
803
+
804
+ aidevops implements the [Agent Skills](https://agentskills.io/) standard for cross-tool compatibility. Skills are auto-discovered by compatible AI assistants.
805
+
806
+ **Generated SKILL.md files** in `~/.aidevops/agents/` provide skill metadata for:
807
+ - Cursor
808
+ - Claude Code
809
+ - VS Code (GitHub Copilot)
810
+ - Other Agent Skills-compatible tools
811
+
812
+ ### Claude Code Plugin Marketplace
813
+
814
+ aidevops is registered as a **Claude Code plugin marketplace**. Install with two commands:
815
+
816
+ ```bash
817
+ /plugin marketplace add marcusquinn/aidevops
818
+ /plugin install aidevops@aidevops
819
+ ```
820
+
821
+ This installs the complete framework: 14 domain agents, 80+ subagents, and 100+ helper scripts.
822
+
823
+ ## **AI Agents & Subagents**
824
+
825
+ **Agents are specialized AI personas with focused knowledge and tool access.** Instead of giving your AI assistant access to everything at once (which wastes context tokens), agents provide targeted capabilities for specific tasks.
826
+
827
+ Call them in your AI assistant conversation with a simple @mention
828
+
829
+ ### **How Agents Work**
830
+
831
+ | Concept | Description |
832
+ |---------|-------------|
833
+ | **Main Agent** | Domain-focused assistant (e.g., WordPress, SEO, DevOps) |
834
+ | **Subagent** | Specialized assistant for specific services (invoked with @mention) |
835
+ | **MCP Tools** | Only loaded when relevant agent is invoked (saves tokens) |
836
+
837
+ ### **Main Agents**
838
+
839
+ Ordered as they appear in OpenCode Tab selector and other AI assistants (14 total):
840
+
841
+ | Name | File | Purpose | MCPs Enabled |
842
+ |------|------|---------|--------------|
843
+ | Plan+ | `plan-plus.md` | Read-only planning with semantic codebase search | context7, augment, repomix |
844
+ | Build+ | `build-plus.md` | Enhanced Build with context tools | context7, augment, repomix |
845
+ | Build-Agent | `build-agent.md` | Design and improve AI agents | context7, augment, repomix |
846
+ | Build-MCP | `build-mcp.md` | Build MCP servers with TS+Bun+ElysiaJS | context7, augment, repomix |
847
+ | Accounts | `accounts.md` | Financial operations | quickfile, augment |
848
+ | AI-DevOps | `aidevops.md` | Framework operations, meta-agents, setup | context7, augment, repomix |
849
+ | Content | `content.md` | Content creation workflows | augment |
850
+ | Health | `health.md` | Health and wellness guidance | augment |
851
+ | Legal | `legal.md` | Legal compliance and documentation | augment |
852
+ | Marketing | `marketing.md` | Marketing strategy and automation | augment |
853
+ | Research | `research.md` | Research and analysis tasks | context7, augment |
854
+ | Sales | `sales.md` | Sales operations and CRM | augment |
855
+ | SEO | `seo.md` | SEO optimization, Search Console, keyword research | gsc, ahrefs, dataforseo, serper, context7, augment |
856
+ | WordPress | `wordpress.md` | WordPress ecosystem (dev, admin, MainWP, LocalWP) | localwp, context7, augment |
857
+
858
+ ### **Example Subagents with MCP Integration**
859
+
860
+ These are examples of subagents that have supporting MCPs enabled. See `.agent/` for the full list of 80+ subagents organized by domain.
861
+
862
+ | Agent | Purpose | MCPs Enabled |
863
+ |-------|---------|--------------|
864
+ | `@hostinger` | Hosting, WordPress, DNS, domains | hostinger-api |
865
+ | `@hetzner` | Cloud servers, firewalls, volumes | hetzner-* (multi-account) |
866
+ | `@wordpress` | Local dev, MainWP management | localwp, context7 |
867
+ | `@seo` | Search Console, keyword research, domain intelligence | gsc, ahrefs, dataforseo, serper, context7 |
868
+ | `@dataforseo` | SERP, keywords, backlinks, on-page analysis | dataforseo |
869
+ | `@domain-research` | DNS intelligence: rDNS, subdomains, CNAMEs (THC + Reconeer) | (API-based) |
870
+ | `@serper` | Google Search API (web, images, news, places) | serper |
871
+ | `@list-keys` | List all configured API keys and storage locations | (read-only) |
872
+ | `@code-standards` | Quality standards reference, compliance checking | context7 |
873
+ | `@browser-automation` | Testing, scraping, DevTools | chrome-devtools, context7 |
874
+ | `@git-platforms` | GitHub, GitLab, Gitea | gh_grep, context7 |
875
+ | `@agent-review` | Session analysis, agent improvement (under build-agent/) | (read/write only) |
876
+
877
+ ### **Setup for OpenCode**
878
+
879
+ ```bash
880
+ # Install aidevops agents for OpenCode
881
+ .agent/scripts/generate-opencode-agents.sh
882
+
883
+ # Check status
884
+ .agent/scripts/generate-opencode-agents.sh # Shows status after generation
885
+ ```
886
+
887
+ ### **Setup for Other AI Assistants**
888
+
889
+ **Claude Code** (recommended):
890
+
891
+ ```bash
892
+ /plugin marketplace add marcusquinn/aidevops
893
+ /plugin install aidevops-all@aidevops
894
+ ```
895
+
896
+ **Agent Skills-compatible tools** (Cursor, VS Code, etc.):
897
+ Skills are auto-discovered from `~/.aidevops/agents/` via SKILL.md files after running `setup.sh`.
898
+
899
+ **Manual configuration** (other tools):
900
+ Add to your AI assistant's system prompt:
901
+
902
+ ```text
903
+ Before any DevOps operations, read ~/git/aidevops/AGENTS.md for authoritative guidance.
904
+
905
+ When working with specific services, read the corresponding .agent/[service].md file
906
+ for focused guidance. Available services: hostinger, hetzner, wordpress, seo,
907
+ code-quality, browser-automation, git-platforms.
908
+ ```
909
+
910
+ ### **Continuous Improvement with @agent-review**
911
+
912
+ **End every session by calling `@agent-review`** to analyze what worked and what didn't:
913
+
914
+ ```text
915
+ @agent-review analyze this session and suggest improvements to the agents used
916
+ ```
917
+
918
+ The review agent will:
919
+ 1. Identify which agents were used
920
+ 2. Evaluate missing, incorrect, or excessive information
921
+ 3. Suggest specific improvements to agent files
922
+ 4. Generate ready-to-apply edits
923
+ 5. **Optionally compose a PR** to contribute improvements back to aidevops
924
+
925
+ **This creates a feedback loop:**
926
+
927
+ ```text
928
+ Session → @agent-review → Improvements → Better Agents → Better Sessions
929
+
930
+ PR to aidevops repo (optional)
931
+ ```
932
+
933
+ **Contributing improvements:**
934
+
935
+ ```text
936
+ @agent-review create a PR for improvement #2
937
+ ```
938
+
939
+ The agent will create a branch, apply changes, and submit a PR to `marcusquinn/aidevops` with a structured description. Your real-world usage helps improve the framework for everyone.
940
+
941
+ **Code quality learning loop:**
942
+
943
+ The `@code-quality` agent also learns from issues. After fixing violations from SonarCloud, Codacy, ShellCheck, etc., it analyzes patterns and updates framework guidance to prevent recurrence:
944
+
945
+ ```text
946
+ Quality Issue → Fix Applied → Pattern Identified → Framework Updated → Issue Prevented
947
+ ```
948
+
949
+ ## **Slash Commands (OpenCode)**
950
+
951
+ **Slash commands provide quick access to common workflows directly from the OpenCode prompt.** Type `/` to see available commands.
952
+
953
+ ### **Available Commands**
954
+
955
+ **Planning & Task Management**:
956
+
957
+ | Command | Purpose |
958
+ |---------|---------|
959
+ | `/list-todo` | List tasks with sorting, filtering, and grouping |
960
+ | `/save-todo` | Save discussion as task or plan (auto-detects complexity) |
961
+ | `/plan-status` | Check status of plans in `TODO.md` and `todo/PLANS.md` |
962
+ | `/create-prd` | Create a Product Requirements Document for complex features |
963
+ | `/generate-tasks` | Generate implementation tasks from a PRD |
964
+ | `/log-time-spent` | Log time spent on a task for tracking |
965
+ | `/ready` | Show tasks with no open blockers (Beads integration) |
966
+ | `/sync-beads` | Sync TODO.md/PLANS.md with Beads task graph |
967
+ | `/remember` | Store knowledge for cross-session recall |
968
+ | `/recall` | Search memories from previous sessions |
969
+
970
+ Plans are tracked in `TODO.md` (all tasks) and `todo/PLANS.md` (complex execution plans). Task dependencies are visualized with [Beads](https://github.com/steveyegge/beads).
971
+
972
+ **`/list-todo` options:**
973
+
974
+ | Option | Example | Purpose |
975
+ |--------|---------|---------|
976
+ | `--priority` | `/list-todo -p` | Sort by priority (high → low) |
977
+ | `--estimate` | `/list-todo -e` | Sort by time estimate (shortest first) |
978
+ | `--tag` | `/list-todo -t seo` | Filter by tag |
979
+ | `--owner` | `/list-todo -o marcus` | Filter by assignee |
980
+ | `--estimate` | `/list-todo --estimate "<2h"` | Filter by estimate range |
981
+ | `--group-by` | `/list-todo -g tag` | Group by tag, owner, status, or estimate |
982
+ | `--plans` | `/list-todo --plans` | Include full plan details |
983
+ | `--compact` | `/list-todo --compact` | One-line per task |
984
+
985
+ **Time Tracking**: Tasks support time estimates and actuals with the format `~4h (ai:2h test:1h) started:2025-01-15T10:30Z`. Configure per-repo via `.aidevops.json`.
986
+
987
+ **Development Workflow** (typical order):
988
+
989
+ | Command | Purpose |
990
+ |---------|---------|
991
+ | `/context` | Build AI context with Repomix for complex tasks |
992
+ | `/feature` | Start a new feature branch workflow |
993
+ | `/bugfix` | Start a bugfix branch workflow |
994
+ | `/hotfix` | Start an urgent hotfix workflow |
995
+ | `/linters-local` | Run local linting (ShellCheck, secretlint) |
996
+ | `/code-audit-remote` | Run remote auditing (CodeRabbit, Codacy, SonarCloud) |
997
+ | `/code-standards` | Check against documented quality standards |
998
+ | `/code-simplifier` | Simplify and refine code for clarity and maintainability |
999
+ | `/list-keys` | List all configured API keys and their storage locations |
1000
+ | `/pr` | Unified PR workflow (orchestrates all checks) |
1001
+
1002
+ **SEO Workflow**:
1003
+
1004
+ | Command | Purpose |
1005
+ |---------|---------|
1006
+ | `/keyword-research` | Seed keyword expansion with volume, CPC, difficulty |
1007
+ | `/autocomplete-research` | Google autocomplete long-tail discovery |
1008
+ | `/keyword-research-extended` | Full SERP analysis with weakness detection |
1009
+ | `/webmaster-keywords` | Keywords from GSC + Bing for your verified sites |
1010
+
1011
+ **Release Workflow** (in order):
1012
+
1013
+ | Command | Purpose |
1014
+ |---------|---------|
1015
+ | `/preflight` | Run quality checks before release |
1016
+ | `/changelog` | Update CHANGELOG.md with recent changes |
1017
+ | `/version-bump` | Bump version following semver |
1018
+ | `/release` | Full release workflow (bump, tag, GitHub release, auto-changelog) |
1019
+ | `/postflight` | Verify release health after deployment |
1020
+
1021
+ **Meta/Improvement**:
1022
+
1023
+ | Command | Purpose |
1024
+ |---------|---------|
1025
+ | `/agent-review` | Analyze session and suggest agent improvements |
1026
+ | `/session-review` | Review session for completeness and capture learnings |
1027
+ | `/full-loop` | End-to-end development loop (task → preflight → PR → postflight → deploy) |
1028
+ | `/preflight-loop` | Run preflight checks iteratively until all pass |
1029
+
1030
+ ### Ralph Loop - Iterative AI Development
1031
+
1032
+ The **Ralph Loop** (named after Ralph Wiggum's persistent optimism) enables autonomous iterative development. The AI keeps working on a task until it's complete, automatically resolving issues that arise.
1033
+
1034
+ **How it works:**
1035
+
1036
+ ```text
1037
+ Task → Implement → Check → Fix Issues → Re-check → ... → Complete
1038
+ ↑ ↓
1039
+ └────────────────────┘ (loop until done)
1040
+ ```
1041
+
1042
+ **Usage:**
1043
+
1044
+ ```bash
1045
+ # Run quality checks iteratively until all pass
1046
+ .agent/scripts/quality-loop-helper.sh preflight --auto-fix --max-iterations <MAX_ITERATIONS>
1047
+
1048
+ # Or use the slash command
1049
+ /preflight-loop --auto-fix --max-iterations <MAX_ITERATIONS>
1050
+ ```
1051
+
1052
+ **Note:** Store any API credentials securely via environment variables or `.env` files (never commit credentials to version control).
1053
+
1054
+ **Key features:**
1055
+ - Automatic issue detection and resolution
1056
+ - Configurable max iterations (prevents infinite loops)
1057
+ - Works with any quality check (linting, tests, builds)
1058
+ - Detailed logging of each iteration
1059
+
1060
+ See `.agent/workflows/ralph-loop.md` for the full workflow guide.
1061
+
1062
+ ### Full Loop - End-to-End Development Automation
1063
+
1064
+ The **Full Loop** chains all development phases into a single automated workflow:
1065
+
1066
+ ```text
1067
+ Task Development → Preflight → PR Create → PR Review → Postflight → Deploy
1068
+ ```
1069
+
1070
+ **Usage:**
1071
+
1072
+ ```bash
1073
+ # Start a full development loop
1074
+ /full-loop "Implement feature X with tests"
1075
+
1076
+ # With options
1077
+ /full-loop "Fix bug Y" --max-task-iterations 30 --skip-postflight
1078
+ ```
1079
+
1080
+ **Options:**
1081
+
1082
+ | Option | Description |
1083
+ |--------|-------------|
1084
+ | `--max-task-iterations N` | Max iterations for task (default: 50) |
1085
+ | `--skip-preflight` | Skip preflight checks |
1086
+ | `--skip-postflight` | Skip postflight monitoring |
1087
+ | `--no-auto-pr` | Pause for manual PR creation |
1088
+
1089
+ The loop pauses for human input at merge approval, rollback decisions, and scope changes.
1090
+
1091
+ See `.agent/scripts/commands/full-loop.md` for complete documentation.
1092
+
1093
+ ### Git Worktrees - Parallel Branch Development
1094
+
1095
+ Work on multiple branches simultaneously without stashing or switching. Each branch gets its own directory.
1096
+
1097
+ **Quick usage:**
1098
+
1099
+ ```bash
1100
+ # Create worktree for a new branch
1101
+ ~/.aidevops/agents/scripts/worktree-helper.sh add feature/my-feature
1102
+ # Creates: ~/Git/aidevops-feature-my-feature/
1103
+
1104
+ # List all worktrees
1105
+ ~/.aidevops/agents/scripts/worktree-helper.sh list
1106
+
1107
+ # Clean up after merge
1108
+ ~/.aidevops/agents/scripts/worktree-helper.sh clean
1109
+ ```
1110
+
1111
+ **Benefits:**
1112
+ - Run tests on one branch while coding on another
1113
+ - Compare implementations side-by-side
1114
+ - No context switching or stash management
1115
+ - Each OpenCode session can work on a different branch
1116
+
1117
+ **Worktree-first workflow:** The pre-edit check now **enforces** worktrees as the default when creating branches, keeping your main directory on `main`. This prevents uncommitted changes from blocking branch switches and ensures parallel sessions don't inherit wrong branch state.
1118
+
1119
+ See `.agent/workflows/worktree.md` for the complete guide.
1120
+
1121
+ ### Session Management - Parallel AI Sessions
1122
+
1123
+ Spawn new AI sessions for parallel work or fresh context. The framework detects natural session completion points and suggests next steps.
1124
+
1125
+ **Completion signals:**
1126
+
1127
+ | Signal | Meaning |
1128
+ |--------|---------|
1129
+ | PR merged | Branch work complete |
1130
+ | Release published | Version shipped |
1131
+ | All tests passing | Quality gates satisfied |
1132
+ | User says "done" | Explicit completion |
1133
+
1134
+ **Spawning options:**
1135
+
1136
+ ```bash
1137
+ # Background session (same terminal)
1138
+ opencode --non-interactive --prompt "Continue with feature X" &
1139
+
1140
+ # New terminal tab (macOS)
1141
+ osascript -e 'tell application "Terminal" to do script "cd ~/Git/project && opencode"'
1142
+
1143
+ # Worktree-based (isolated branch)
1144
+ ~/.aidevops/agents/scripts/worktree-helper.sh add feature/next-feature
1145
+ cd ../project-feature-next-feature && opencode
1146
+ ```
1147
+
1148
+ **Session handoff pattern:**
1149
+
1150
+ When ending a session, the AI provides a continuation prompt for the next session:
1151
+
1152
+ ```markdown
1153
+ ## Continuation Prompt
1154
+ [Copy this to start a new session with full context]
1155
+ ```
1156
+
1157
+ See `.agent/workflows/session-manager.md` for the complete guide.
1158
+
1159
+ ### Cross-Session Memory System
1160
+
1161
+ **"Compound, then clear"** - Sessions should build on each other. The memory system stores knowledge, patterns, and learnings for future sessions using SQLite FTS5 for fast full-text search.
1162
+
1163
+ **Slash commands:**
1164
+
1165
+ | Command | Purpose |
1166
+ |---------|---------|
1167
+ | `/remember {content}` | Store a memory with AI-assisted categorization |
1168
+ | `/recall {query}` | Search memories by keyword |
1169
+ | `/recall --recent` | Show 10 most recent memories |
1170
+ | `/recall --stats` | Show memory statistics |
1171
+
1172
+ **Memory types:**
1173
+
1174
+ | Type | Use For |
1175
+ |------|---------|
1176
+ | `WORKING_SOLUTION` | Fixes that worked |
1177
+ | `FAILED_APPROACH` | What didn't work (avoid repeating) |
1178
+ | `CODEBASE_PATTERN` | Project conventions |
1179
+ | `USER_PREFERENCE` | Developer preferences |
1180
+ | `TOOL_CONFIG` | Tool setup notes |
1181
+ | `DECISION` | Architecture decisions |
1182
+ | `CONTEXT` | Background info |
1183
+
1184
+ **CLI usage:**
1185
+
1186
+ ```bash
1187
+ # Store a memory
1188
+ ~/.aidevops/agents/scripts/memory-helper.sh store "WORKING_SOLUTION" "Fixed CORS with nginx headers" "cors,nginx"
1189
+
1190
+ # Recall memories
1191
+ ~/.aidevops/agents/scripts/memory-helper.sh recall "cors"
1192
+
1193
+ # View statistics
1194
+ ~/.aidevops/agents/scripts/memory-helper.sh stats
1195
+
1196
+ # Maintenance
1197
+ ~/.aidevops/agents/scripts/memory-helper.sh validate # Check for stale entries
1198
+ ~/.aidevops/agents/scripts/memory-helper.sh prune # Remove stale memories
1199
+ ```
1200
+
1201
+ **Storage:** `~/.aidevops/.agent-workspace/memory/memory.db`
1202
+
1203
+ See `.agent/memory/README.md` for complete documentation.
1204
+
1205
+ ### **Installation**
1206
+
1207
+ Slash commands are automatically installed by `setup.sh`:
1208
+
1209
+ ```bash
1210
+ # Commands are deployed to:
1211
+ ~/.config/opencode/commands/
1212
+
1213
+ # Regenerate commands manually:
1214
+ .agent/scripts/generate-opencode-commands.sh
1215
+ ```
1216
+
1217
+ ### **Usage**
1218
+
1219
+ In OpenCode, type the command at the prompt:
1220
+
1221
+ ```text
1222
+ /preflight
1223
+ /release minor
1224
+ /feature add-user-authentication
1225
+ ```
1226
+
1227
+ Commands invoke the corresponding workflow subagent with appropriate context.
1228
+
1229
+ ---
1230
+
1231
+ ### **Creating Custom Agents**
1232
+
1233
+ Create a markdown file in `~/.config/opencode/agent/` (OpenCode) or reference in your AI's system prompt:
1234
+
1235
+ ```markdown
1236
+ ---
1237
+ description: Short description of what this agent does
1238
+ mode: subagent
1239
+ temperature: 0.2
1240
+ tools:
1241
+ bash: true
1242
+ specific-mcp_*: true
1243
+ ---
1244
+
1245
+ # Agent Name
1246
+
1247
+ Detailed instructions for the agent...
1248
+ ```
1249
+
1250
+ See `.agent/opencode-integration.md` for complete documentation.
1251
+
1252
+ ---
1253
+
1254
+ ## **Usage Examples**
1255
+
1256
+ ### **Server Management**
1257
+
1258
+ ```bash
1259
+ # List all servers across providers
1260
+ ./.agent/scripts/servers-helper.sh list
1261
+
1262
+ # Connect to specific servers
1263
+ ./.agent/scripts/hostinger-helper.sh connect example.com
1264
+ ./.agent/scripts/hetzner-helper.sh connect main web-server
1265
+
1266
+ # Execute commands remotely
1267
+ ./.agent/scripts/hostinger-helper.sh exec example.com "uptime"
1268
+ ```
1269
+
1270
+ ### **Monitoring & Uptime (Updown.io)**
1271
+
1272
+ ```bash
1273
+ # List all monitors
1274
+ ./.agent/scripts/updown-helper.sh list
1275
+
1276
+ # Add a new website check
1277
+ ./.agent/scripts/updown-helper.sh add https://example.com "My Website"
1278
+ ```
1279
+
1280
+ ### **Domain & DNS Management**
1281
+
1282
+ ```bash
1283
+ # Purchase and configure domain
1284
+ ./.agent/scripts/spaceship-helper.sh purchase example.com
1285
+ ./.agent/scripts/dns-helper.sh cloudflare add-record example.com A 192.168.1.1
1286
+
1287
+ # Check domain availability
1288
+ ./.agent/scripts/101domains-helper.sh check-availability example.com
1289
+ ```
1290
+
1291
+ ### **Strategic Keyword Research**
1292
+
1293
+ ```bash
1294
+ # Basic keyword research with volume, CPC, difficulty
1295
+ ./.agent/scripts/keyword-research-helper.sh research "seo tools" --limit 20
1296
+
1297
+ # Google autocomplete long-tail discovery
1298
+ ./.agent/scripts/keyword-research-helper.sh autocomplete "how to" --provider both
1299
+
1300
+ # Extended research with SERP weakness detection
1301
+ ./.agent/scripts/keyword-research-helper.sh extended "keywords" --quick
1302
+
1303
+ # Competitor keyword research
1304
+ ./.agent/scripts/keyword-research-helper.sh extended --competitor ahrefs.com --limit 50
1305
+
1306
+ # Keyword gap analysis (find keywords competitor ranks for but you don't)
1307
+ ./.agent/scripts/keyword-research-helper.sh extended --gap semrush.com,ahrefs.com
1308
+
1309
+ # Domain research (all keywords a domain ranks for)
1310
+ ./.agent/scripts/keyword-research-helper.sh extended --domain example.com --limit 100
1311
+ ```
1312
+
1313
+ **Features:**
1314
+
1315
+ - **6 Research Modes**: Keyword expansion, autocomplete, domain research, competitor research, keyword gap, extended SERP analysis
1316
+ - **17 SERP Weaknesses**: Low domain score, no backlinks, thin content, UGC-heavy, non-HTTPS, and more
1317
+ - **KeywordScore Algorithm**: 0-100 score based on weakness count, volume, and difficulty
1318
+ - **Multi-Provider**: DataForSEO (primary), Serper (autocomplete), Ahrefs (domain ratings)
1319
+ - **Locale Support**: US/UK/CA/AU/DE/FR/ES with saved preferences
1320
+ - **Output Formats**: Markdown tables (TUI) and CSV export to ~/Downloads
1321
+
1322
+ ### **Quality Control & Performance**
1323
+
1324
+ ```bash
1325
+ # Run quality analysis with auto-fixes
1326
+ bash .agent/scripts/qlty-cli.sh check 10
1327
+ bash .agent/scripts/qlty-cli.sh fix
1328
+
1329
+ # Run chunked Codacy analysis for large repositories
1330
+ bash .agent/scripts/codacy-cli-chunked.sh quick # Fast analysis
1331
+ bash .agent/scripts/codacy-cli-chunked.sh chunked # Full analysis
1332
+
1333
+ # AI coding assistance
1334
+ bash .agent/scripts/ampcode-cli.sh scan ./src
1335
+ bash .agent/scripts/continue-cli.sh review
1336
+
1337
+ # Audit website performance
1338
+ ./.agent/scripts/pagespeed-helper.sh wordpress https://example.com
1339
+ ```
1340
+
1341
+ ## **Documentation & Resources**
1342
+
1343
+ **Wiki Guides:**
1344
+
1345
+ - **[Getting Started](.wiki/Getting-Started.md)** - Installation and setup
1346
+ - **[CLI Reference](.wiki/CLI-Reference.md)** - aidevops command documentation
1347
+ - **[MCP Integrations](.wiki/MCP-Integrations.md)** - MCP servers setup
1348
+ - **[Providers](.wiki/Providers.md)** - Service provider configurations
1349
+ - **[Workflows Guide](.wiki/Workflows-Guide.md)** - Development workflows
1350
+ - **[The Agent Directory](.wiki/The-Agent-Directory.md)** - Agent file structure
1351
+ - **[Understanding AGENTS.md](.wiki/Understanding-AGENTS-md.md)** - How agents work
1352
+
1353
+ **Agent Guides** (in `.agent/`):
1354
+
1355
+ - **[API Integrations](.agent/aidevops/api-integrations.md)** - Service APIs
1356
+ - **[Browser Automation](.agent/tools/browser/browser-automation.md)** - Web scraping and automation
1357
+ - **[PageSpeed](.agent/tools/browser/pagespeed.md)** - Performance auditing
1358
+ - **[Pandoc](.agent/tools/conversion/pandoc.md)** - Document format conversion
1359
+ - **[Security](.agent/aidevops/security.md)** - Enterprise security standards
1360
+
1361
+ **Provider-Specific Guides:** Hostinger, Hetzner, Cloudflare, WordPress, Git platforms, Vercel CLI, Coolify CLI, and more in `.agent/`
1362
+
1363
+ ## **Architecture**
1364
+
1365
+ ```text
1366
+ aidevops/
1367
+ ├── setup.sh # Main setup script
1368
+ ├── AGENTS.md # AI agent guidance
1369
+ ├── .agent/scripts/ # Automation & setup scripts
1370
+ ├── .agent/scripts/ # Service helper scripts
1371
+ ├── configs/ # Configuration templates
1372
+ ├── .agent/ # Comprehensive documentation
1373
+ ├── .agent/ # AI agent development tools
1374
+ ├── ssh/ # SSH key management
1375
+ └── templates/ # Reusable templates and examples
1376
+ ```
1377
+
1378
+ ## **Configuration & Setup**
1379
+
1380
+ ```bash
1381
+ # 1. Copy and customize configuration templates
1382
+ cp configs/hostinger-config.json.txt configs/hostinger-config.json
1383
+ cp configs/hetzner-config.json.txt configs/hetzner-config.json
1384
+ # Edit with your actual credentials
1385
+
1386
+ # 2. Test connections
1387
+ ./.agent/scripts/servers-helper.sh list
1388
+
1389
+ # 3. Install MCP integrations (optional)
1390
+ bash .agent/scripts/setup-mcp-integrations.sh all
1391
+ ```
1392
+
1393
+ ## **Security & Best Practices**
1394
+
1395
+ **Credential Management:**
1396
+
1397
+ - Store API tokens in separate config files (never hardcode)
1398
+ - Use Ed25519 SSH keys (modern, secure, fast)
1399
+ - Set proper file permissions (600 for configs)
1400
+ - Regular key rotation and access audits
1401
+
1402
+ **Quality Assurance:**
1403
+
1404
+ - Multi-platform analysis (SonarCloud, CodeFactor, Codacy, CodeRabbit, Qlty, Snyk, Gemini Code Assist)
1405
+ - Automated security monitoring and vulnerability detection
1406
+
1407
+ ## **Contributing & License**
1408
+
1409
+ **Contributing:**
1410
+
1411
+ 1. Fork the repository
1412
+ 2. Create feature branch
1413
+ 3. Add provider support or improvements
1414
+ 4. Test with your infrastructure
1415
+ 5. Submit pull request
1416
+
1417
+ **License:** MIT License - see [LICENSE](LICENSE) file for details
1418
+ **Created by Marcus Quinn** - Copyright © 2025
1419
+
1420
+ ---
1421
+
1422
+ ## **What This Framework Achieves**
1423
+
1424
+ **For You:**
1425
+
1426
+ - Unified infrastructure management across all services
1427
+ - AI-powered automation with standardized commands
1428
+ - Enterprise-grade security and quality assurance
1429
+ - Time savings through consistent interfaces
1430
+
1431
+ **For Your AI Assistant:**
1432
+
1433
+ - Structured access to entire DevOps ecosystem
1434
+ - Real-time documentation via Context7 MCP
1435
+ - Quality control with automated fixes
1436
+ - Performance monitoring with and continual improvement of agents' token efficiency, tool use, and file location consistency
1437
+
1438
+ **Get Started:**
1439
+
1440
+ ```bash
1441
+ bash <(curl -fsSL https://raw.githubusercontent.com/marcusquinn/aidevops/main/setup.sh)
1442
+ ```
1443
+
1444
+ Or: `git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops && ~/Git/aidevops/setup.sh`
1445
+
1446
+ **Transform your AI assistant into a powerful infrastructure management tool with seamless access to all your servers and services.**