Skip to content

marcusquinn/aidevops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI DevOps Framework

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.

"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.

Why This Framework?

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.

DevOps Superpowers for AI:

  • Multi-Service Management: 30+ APIs (hosting, Git, security, monitoring, deployment)
  • Real-Time Operations: SSH, domain management, database operations
  • Cross-Service Intelligence: Connect patterns across your entire ecosystem
  • Unlimited Scope: Full access to your development infrastructure for bug fixes and feature development

GitHub Actions Quality Gate Status CodeFactor Maintainability Codacy Badge CodeRabbit

License: MIT Copyright

GitHub stars GitHub forks GitHub watchers

GitHub release (latest by date) GitHub Release Date GitHub commits since latest release

Version GitHub repo size Lines of code GitHub language count GitHub top language

GitHub issues GitHub closed issues GitHub pull requests GitHub contributors

Services Supported AGENTS.md AI Optimized MCP Servers API Integrations

Enterprise-Grade Quality & Security

Comprehensive DevOps framework with tried & tested services integrations, popular and trusted MCP servers, and enterprise-grade infrastructure quality assurance code monitoring and recommendations.

Security Notice

This framework provides agentic AI assistants with powerful infrastructure access. Use responsibly.

Capabilities: Execute commands, access credentials, modify infrastructure, interact with APIs Your responsibility: Use trusted AI providers, rotate credentials regularly, monitor activity

Quick Start

One-liner install (fresh install or update):

bash <(curl -fsSL https://raw.githubusercontent.com/marcusquinn/aidevops/main/setup.sh)

Or manually:

git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops
~/Git/aidevops/setup.sh

That's it! The setup script will:

  • Clone/update the repo to ~/Git/aidevops
  • Deploy agents to ~/.aidevops/agents/
  • Install the aidevops CLI command
  • Configure your AI assistants automatically
  • Guide you through recommended tools (Tabby, Zed, Git CLIs)

New users: Start OpenCode and type /onboarding to configure your services interactively. The onboarding wizard will:

  • Explain what aidevops can do
  • Ask about your work to give personalized recommendations
  • Show which services are configured vs need setup
  • Guide you through setting up each service with links and commands

After installation, use the CLI:

aidevops status     # Check what's installed
aidevops update     # Update to latest version
aidevops init       # Initialize aidevops in any project
aidevops features   # List available features
aidevops uninstall  # Remove aidevops

Use aidevops in Any Project

Initialize aidevops features in any git repository:

cd ~/your-project
aidevops init                         # Enable all features
aidevops init planning                # Enable only planning
aidevops init planning,time-tracking  # Enable specific features

This creates:

  • .aidevops.json - Configuration with enabled features
  • .agent symlink → ~/.aidevops/agents/
  • TODO.md - Quick task tracking with time estimates
  • todo/PLANS.md - Complex execution plans
  • .beads/ - Task graph database (if beads enabled)

Available features: planning, git-workflow, code-quality, time-tracking, beads

Task Graph Visualization with Beads

Beads provides task dependency tracking and graph visualization:

aidevops init beads              # Enable beads (includes planning)

Task Dependencies:

- [ ] t001 First task
- [ ] t002 Second task blocked-by:t001
- [ ] t001.1 Subtask of t001
Syntax Meaning
blocked-by:t001 Task waits for t001 to complete
blocks:t002 This task blocks t002
t001.1 Subtask of t001 (hierarchical)

Commands:

Command Purpose
/ready Show tasks with no open blockers
/sync-beads Sync TODO.md/PLANS.md with Beads graph
bd list List all tasks in Beads
bd ready Show ready tasks (Beads CLI)
bd graph <id> Show dependency graph for an issue

Architecture: aidevops markdown files (TODO.md, PLANS.md) are the source of truth. Beads syncs from them for visualization.

Optional Viewers: Beyond the bd CLI, there are community viewers for richer visualization:

  • beads_viewer (Python TUI) - PageRank, critical path analysis
  • beads-ui (Web) - Live updates in browser
  • bdui (React/Ink TUI) - Modern terminal UI
  • perles (Rust TUI) - BQL query language

See .agent/tools/task-management/beads.md for complete documentation and installation commands.

Your AI assistant now has agentic access to 30+ service integrations.

OpenCode Antigravity OAuth Plugin

The setup automatically installs the opencode-antigravity-auth plugin, enabling Google OAuth authentication for OpenCode. This gives you access to Antigravity rate limits and premium models.

After setup, authenticate:

opencode auth login
# Select: Google → OAuth with Google (Antigravity)
# Press Enter to skip Project ID prompt

Available models via Antigravity:

  • gemini-3-pro-high / gemini-3-pro-low / gemini-3-flash
  • claude-sonnet-4-5 / claude-sonnet-4-5-thinking / claude-opus-4-5-thinking
  • gpt-oss-120b-medium

Multi-account load balancing: Add multiple Google accounts for automatic rate limit distribution and failover. See the plugin documentation for model configuration.

Oh-My-OpenCode Plugin (Optional)

The setup offers to install oh-my-opencode - a complementary plugin that adds coding productivity features:

Feature Description
Async Background Agents Run multiple agents in parallel (like Claude Code)
LSP Tools 11 tools: hover, goto definition, references, rename, code actions
AST-Grep Semantic code search and replace across 25 languages
Curated Agents OmO (Opus 4.5), Oracle (GPT 5.2), Librarian (Sonnet 4.5), Explore (Grok)
Claude Code Compatibility Full support for hooks, commands, skills from .claude/ directories
21 Lifecycle Hooks Comment checker, todo enforcer, context window monitor, session recovery

How they complement each other:

  • aidevops provides DevOps infrastructure (30+ services: hosting, DNS, WordPress, SEO, code quality)
  • oh-my-opencode provides coding productivity (LSP, AST, background agents, hooks)

Usage after installation:

# Trigger maximum performance mode
> ultrawork implement the authentication system

# Use curated agents
> @oracle review this architecture
> @librarian find examples of this pattern on GitHub
> @explore search for authentication handling

See .agent/tools/opencode/oh-my-opencode.md for the full compatibility guide.

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.)

Preferred:

  • Tabby - Modern terminal with colour-coded Profiles. Use different profile colours per project/repo to visually distinguish which codebase you're working in.
  • OpenCode - Primary choice. Powerful agentic TUI/CLI with native MCP support, Tab-based agent switching, and excellent DX.
  • Zed - High-performance editor with AI (Preferred, with the OpenCode Agent Extension)

IDE-Based:

Claude Family:

Enterprise & Professional:

Specialized:

Terminal & CLI:

  • Aider - CLI pair programmer with native MCP
  • Warp AI - Terminal with AI (no native MCP, use OpenCode/Claude in Warp)
  • Qwen - Alibaba's CLI (MCP support experimental)

Core Capabilities

AI-First Infrastructure Management:

  • SSH server access, remote command execution, API integrations
  • DNS management, application deployment, email monitoring
  • Git platform management, domain purchasing, setup automation
  • WordPress management, credential security, code auditing

Unified Interface:

  • Standardized commands across all providers
  • Automated SSH configuration and multi-account support for all services
  • Security-first design with comprehensive logging, code quality reviews, and continual feedback-based improvement

Quality Control & Monitoring:

  • Multi-Platform Analysis: SonarCloud, CodeFactor, Codacy, CodeRabbit, Qlty, Gemini Code Assist, Snyk
  • Performance Auditing: PageSpeed Insights and Lighthouse integration
  • Uptime Monitoring: Updown.io integration for website and SSL monitoring

Requirements

# Install dependencies (auto-detected by setup.sh)
brew install sshpass jq curl mkcert dnsmasq  # macOS
sudo apt-get install sshpass jq curl dnsmasq  # Ubuntu/Debian

# Generate SSH key
ssh-keygen -t ed25519 -C "your-email@domain.com"

Comprehensive Service Coverage

Infrastructure & Hosting

  • Hostinger: Shared hosting, domains, email
  • Hetzner Cloud: VPS servers, networking, load balancers
  • Closte: Managed hosting, application deployment
  • Coolify Enhanced with CLI: Self-hosted PaaS with CLI integration
  • Cloudron: Server and app management platform
  • Vercel Enhanced with CLI: Modern web deployment platform with CLI integration
  • AWS: Cloud infrastructure support via standard protocols
  • DigitalOcean: Cloud infrastructure support via standard protocols

Domain & DNS

Development & Git Platforms with CLI Integration

  • GitHub Enhanced with CLI: Repository management, actions, API, GitHub CLI (gh) integration
  • GitLab Enhanced with CLI: Self-hosted and cloud Git platform with GitLab CLI (glab) integration
  • Gitea Enhanced with CLI: Lightweight Git service with Gitea CLI (tea) integration
  • Agno: Local AI agent operating system for DevOps automation
  • Pandoc: Document conversion to markdown for AI processing

WordPress Development

  • LocalWP: WordPress development environment with MCP database access
  • MainWP: WordPress site management dashboard

Git CLI Enhancement Features:

  • .agent/scripts/github-cli-helper.sh: Advanced GitHub repository, issue, PR, and branch management
  • .agent/scripts/gitlab-cli-helper.sh: Complete GitLab project, issue, MR, and branch management
  • .agent/scripts/gitea-cli-helper.sh: Full Gitea repository, issue, PR, and branch management

Security & Code Quality

  • Vaultwarden: Password and secrets management
  • SonarCloud: Security and quality analysis (A-grade ratings)
  • CodeFactor: Code quality metrics (A+ score)
  • Codacy: Multi-tool analysis (0 findings)
  • CodeRabbit: AI-powered code reviews
  • Snyk: Security vulnerability scanning
  • Qlty: Universal code quality platform (70+ linters, auto-fixes)
  • Gemini Code Assist: Google's AI-powered code completion and review

AI Prompt Optimization

  • Augment Context Engine: Semantic codebase retrieval with deep code understanding
  • Repomix: Pack codebases into AI-friendly context (80% token reduction with compress mode)
  • DSPy: Framework for programming with language models
  • DSPyGround: Interactive playground for prompt optimization
  • TOON Format: Token-Oriented Object Notation - 20-60% token reduction for LLM prompts

Performance & Monitoring

AI & Documentation

  • Context7: Real-time documentation access for libraries and frameworks

MCP Integrations

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.

All Supported MCPs

MCP Purpose API Key Required
Ahrefs SEO analysis & backlinks Yes
Augment Context Engine Semantic codebase retrieval Yes (Augment account)
DataForSEO SERP, keywords, backlinks, on-page Yes
Chrome DevTools Browser debugging & automation No
Cloudflare Browser Server-side rendering Yes (Cloudflare)
Context7 Library documentation lookup No
Crawl4AI Web crawling & scraping No
Google Search Console Search performance data Yes (Google API)
Grep by Vercel GitHub code search No
LocalWP WordPress database access No (local)
Next.js DevTools React/Next.js assistance No
Outscraper Google Maps & business data extraction Yes
PageSpeed Insights Performance auditing Yes (Google API)
Perplexity AI-powered research Yes
Playwright Cross-browser testing No
Repomix Codebase packing for AI context No
Serper Google Search API (web, images, news) Yes
shadcn/ui UI component library browsing & installation No
Snyk Security vulnerability scanning Yes
Stagehand (JS) AI browser automation Optional (Browserbase)
Stagehand (Python) AI browser automation Optional (Browserbase)

By Category

Context & Codebase:

  • Augment Context Engine - Semantic codebase retrieval with deep code understanding
  • osgrep - Local semantic search (100% private, no cloud)
  • Context7 - Real-time documentation access for thousands of libraries
  • Repomix - Pack codebases into AI-friendly context

Browser Automation:

SEO & Research:

  • Ahrefs - SEO analysis, backlink research, keyword data
  • DataForSEO - Comprehensive SEO data APIs (SERP, keywords, backlinks, on-page)
  • Serper - Google Search API (web, images, news, places, shopping)
  • Google Search Console - Search performance insights
  • Perplexity - AI-powered web search and research
  • Grep by Vercel - Search code snippets across GitHub repositories
  • Keyword Research - Strategic keyword research with SERP weakness detection (via DataForSEO + Serper + Ahrefs)
  • Site Crawler - Screaming Frog-like SEO auditing: broken links, redirects, meta issues, structured data
  • Domain Research - DNS intelligence via THC (4.51B records) and Reconeer APIs: rDNS, subdomains, CNAMEs

Data Extraction:

  • Outscraper - Google Maps, business data, reviews extraction

Performance & Security:

WordPress & Development:

UI Components:

  • shadcn/ui - Browse, search, and install shadcn/ui components directly via MCP

Quick Setup

# Install all MCP integrations
bash .agent/scripts/setup-mcp-integrations.sh all

# Install specific integration
bash .agent/scripts/setup-mcp-integrations.sh stagehand          # JavaScript version
bash .agent/scripts/setup-mcp-integrations.sh stagehand-python   # Python version
bash .agent/scripts/setup-mcp-integrations.sh stagehand-both     # Both versions
bash .agent/scripts/setup-mcp-integrations.sh chrome-devtools

Repomix - AI Context Generation

Repomix packages your codebase into AI-friendly formats for sharing with AI assistants. This framework includes optimized Repomix configuration for consistent context generation.

Why Repomix?

Use Case Tool When to Use
Interactive coding Augment Context Engine Real-time semantic search during development
Share with external AI Repomix Self-contained snapshot for ChatGPT, Claude web, etc.
Architecture review Repomix (compress) 80% token reduction, structure only
CI/CD integration GitHub Action Automated context in releases

Quick Usage

# Pack current repo with configured defaults
npx repomix

# Compress mode (~80% smaller, structure only)
npx repomix --compress

# Or use the helper script
.agent/scripts/context-builder-helper.sh pack      # Full context
.agent/scripts/context-builder-helper.sh compress  # Compressed

Configuration Files

File Purpose
repomix.config.json Default settings (style, includes, security)
.repomixignore Additional exclusions beyond .gitignore
repomix-instruction.md Custom AI instructions included in output

Key Design Decisions

  • No pre-generated files: Outputs are generated on-demand to avoid staleness
  • Inherits .gitignore: Security patterns automatically respected
  • Secretlint enabled: Scans for exposed credentials before output
  • Symlinks excluded: Avoids duplicating .agent/ content

MCP Integration

Repomix runs as an MCP server for direct AI assistant integration:

{
  "repomix": {
    "type": "local",
    "command": ["npx", "-y", "repomix@latest", "--mcp"],
    "enabled": true
  }
}

See .agent/tools/context/context-builder.md for complete documentation.

Augment Context Engine - Semantic Codebase Search

Augment Context Engine 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.

Why Augment Context Engine?

Feature grep/glob Augment Context Engine
Text matching Exact patterns Semantic understanding
Cross-file context Manual Automatic
Code relationships None Understands dependencies
Natural language No Yes

Use it to:

  • Find related code across your entire codebase
  • Understand project architecture quickly
  • Discover patterns and implementations
  • Get context-aware code suggestions

Quick Setup

# 1. Install Auggie CLI (requires Node.js 22+)
npm install -g @augmentcode/auggie@prerelease

# 2. Authenticate (opens browser)
auggie login

# 3. Verify installation
auggie token print

MCP Integration

Add to your AI assistant's MCP configuration:

OpenCode (~/.config/opencode/opencode.json):

{
  "mcp": {
    "augment-context-engine": {
      "type": "local",
      "command": ["auggie", "--mcp"],
      "enabled": true
    }
  }
}

Claude Code:

claude mcp add-json auggie-mcp --scope user '{"type":"stdio","command":"auggie","args":["--mcp"]}'

Cursor: Settings → Tools & MCP → New MCP Server:

{
  "mcpServers": {
    "augment-context-engine": {
      "command": "bash",
      "args": ["-c", "auggie --mcp -m default -w \"${WORKSPACE_FOLDER_PATHS%%,*}\""]
    }
  }
}

Verification

Test with this prompt:

What is this project? Please use codebase retrieval tool to get the answer.

The AI should provide a semantic understanding of your project architecture.

Repomix vs Augment Context Engine

Use Case Tool When to Use
Interactive coding Augment Context Engine Real-time semantic search during development
Share with external AI Repomix Self-contained snapshot for ChatGPT, Claude web, etc.
Architecture review Repomix (compress) 80% token reduction, structure only
CI/CD integration Repomix GitHub Action Automated context in releases

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.

osgrep - Local Alternative (Experimental)

osgrep provides 100% local semantic search with no cloud dependency:

npm install -g osgrep && osgrep setup
osgrep "where is authentication handled?"
Feature osgrep Augment
Privacy 100% local Cloud-based
Auth None required Account + login
Node.js 18+ 22+

See .agent/tools/context/osgrep.md for complete documentation and AI tool configurations.

Cross-Tool Compatibility

Agent Skills Standard

aidevops implements the Agent Skills standard for cross-tool compatibility. Skills are auto-discovered by compatible AI assistants.

Generated SKILL.md files in ~/.aidevops/agents/ provide skill metadata for:

  • Cursor
  • Claude Code
  • VS Code (GitHub Copilot)
  • Other Agent Skills-compatible tools

Claude Code Plugin Marketplace

aidevops is registered as a Claude Code plugin marketplace. Install with two commands:

/plugin marketplace add marcusquinn/aidevops
/plugin install aidevops@aidevops

This installs the complete framework: 14 domain agents, 80+ subagents, and 100+ helper scripts.

AI Agents & Subagents

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.

Call them in your AI assistant conversation with a simple @mention

How Agents Work

Concept Description
Main Agent Domain-focused assistant (e.g., WordPress, SEO, DevOps)
Subagent Specialized assistant for specific services (invoked with @mention)
MCP Tools Only loaded when relevant agent is invoked (saves tokens)

Main Agents

Ordered as they appear in OpenCode Tab selector and other AI assistants (14 total):

Name File Purpose MCPs Enabled
Plan+ plan-plus.md Read-only planning with semantic codebase search context7, augment, repomix
Build+ build-plus.md Enhanced Build with context tools context7, augment, repomix
Build-Agent build-agent.md Design and improve AI agents context7, augment, repomix
Build-MCP build-mcp.md Build MCP servers with TS+Bun+ElysiaJS context7, augment, repomix
Accounts accounts.md Financial operations quickfile, augment
AI-DevOps aidevops.md Framework operations, meta-agents, setup context7, augment, repomix
Content content.md Content creation workflows augment
Health health.md Health and wellness guidance augment
Legal legal.md Legal compliance and documentation augment
Marketing marketing.md Marketing strategy and automation augment
Research research.md Research and analysis tasks context7, augment
Sales sales.md Sales operations and CRM augment
SEO seo.md SEO optimization, Search Console, keyword research gsc, ahrefs, dataforseo, serper, context7, augment
WordPress wordpress.md WordPress ecosystem (dev, admin, MainWP, LocalWP) localwp, context7, augment

Example Subagents with MCP Integration

These are examples of subagents that have supporting MCPs enabled. See .agent/ for the full list of 80+ subagents organized by domain.

Agent Purpose MCPs Enabled
@hostinger Hosting, WordPress, DNS, domains hostinger-api
@hetzner Cloud servers, firewalls, volumes hetzner-* (multi-account)
@wordpress Local dev, MainWP management localwp, context7
@seo Search Console, keyword research, domain intelligence gsc, ahrefs, dataforseo, serper, context7
@dataforseo SERP, keywords, backlinks, on-page analysis dataforseo
@domain-research DNS intelligence: rDNS, subdomains, CNAMEs (THC + Reconeer) (API-based)
@serper Google Search API (web, images, news, places) serper
@list-keys List all configured API keys and storage locations (read-only)
@code-standards Quality standards reference, compliance checking context7
@browser-automation Testing, scraping, DevTools chrome-devtools, context7
@git-platforms GitHub, GitLab, Gitea gh_grep, context7
@agent-review Session analysis, agent improvement (under build-agent/) (read/write only)

Setup for OpenCode

# Install aidevops agents for OpenCode
.agent/scripts/generate-opencode-agents.sh

# Check status
.agent/scripts/generate-opencode-agents.sh  # Shows status after generation

Setup for Other AI Assistants

Claude Code (recommended):

/plugin marketplace add marcusquinn/aidevops
/plugin install aidevops-all@aidevops

Agent Skills-compatible tools (Cursor, VS Code, etc.): Skills are auto-discovered from ~/.aidevops/agents/ via SKILL.md files after running setup.sh.

Manual configuration (other tools): Add to your AI assistant's system prompt:

Before any DevOps operations, read ~/git/aidevops/AGENTS.md for authoritative guidance.

When working with specific services, read the corresponding .agent/[service].md file
for focused guidance. Available services: hostinger, hetzner, wordpress, seo,
code-quality, browser-automation, git-platforms.

Continuous Improvement with @agent-review

End every session by calling @agent-review to analyze what worked and what didn't:

@agent-review analyze this session and suggest improvements to the agents used

The review agent will:

  1. Identify which agents were used
  2. Evaluate missing, incorrect, or excessive information
  3. Suggest specific improvements to agent files
  4. Generate ready-to-apply edits
  5. Optionally compose a PR to contribute improvements back to aidevops

This creates a feedback loop:

Session → @agent-review → Improvements → Better Agents → Better Sessions
                ↓
         PR to aidevops repo (optional)

Contributing improvements:

@agent-review create a PR for improvement #2

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.

Code quality learning loop:

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:

Quality Issue → Fix Applied → Pattern Identified → Framework Updated → Issue Prevented

Slash Commands (OpenCode)

Slash commands provide quick access to common workflows directly from the OpenCode prompt. Type / to see available commands.

Available Commands

Planning & Task Management:

Command Purpose
/list-todo List tasks with sorting, filtering, and grouping
/save-todo Save discussion as task or plan (auto-detects complexity)
/plan-status Check status of plans in TODO.md and todo/PLANS.md
/create-prd Create a Product Requirements Document for complex features
/generate-tasks Generate implementation tasks from a PRD
/log-time-spent Log time spent on a task for tracking
/ready Show tasks with no open blockers (Beads integration)
/sync-beads Sync TODO.md/PLANS.md with Beads task graph

Plans are tracked in TODO.md (all tasks) and todo/PLANS.md (complex execution plans). Task dependencies are visualized with Beads.

/list-todo options:

Option Example Purpose
--priority /list-todo -p Sort by priority (high → low)
--estimate /list-todo -e Sort by time estimate (shortest first)
--tag /list-todo -t seo Filter by tag
--owner /list-todo -o marcus Filter by assignee
--estimate /list-todo --estimate "<2h" Filter by estimate range
--group-by /list-todo -g tag Group by tag, owner, status, or estimate
--plans /list-todo --plans Include full plan details
--compact /list-todo --compact One-line per task

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.

Development Workflow (typical order):

Command Purpose
/context Build AI context with Repomix for complex tasks
/feature Start a new feature branch workflow
/bugfix Start a bugfix branch workflow
/hotfix Start an urgent hotfix workflow
/linters-local Run local linting (ShellCheck, secretlint)
/code-audit-remote Run remote auditing (CodeRabbit, Codacy, SonarCloud)
/code-standards Check against documented quality standards
/list-keys List all configured API keys and their storage locations
/pr Unified PR workflow (orchestrates all checks)

SEO Workflow:

Command Purpose
/keyword-research Seed keyword expansion with volume, CPC, difficulty
/autocomplete-research Google autocomplete long-tail discovery
/keyword-research-extended Full SERP analysis with weakness detection
/webmaster-keywords Keywords from GSC + Bing for your verified sites

Release Workflow (in order):

Command Purpose
/preflight Run quality checks before release
/changelog Update CHANGELOG.md with recent changes
/version-bump Bump version following semver
/release Full release workflow (bump, tag, GitHub release, auto-changelog)
/postflight Verify release health after deployment

Meta/Improvement:

Command Purpose
/agent-review Analyze session and suggest agent improvements

Installation

Slash commands are automatically installed by setup.sh:

# Commands are deployed to:
~/.config/opencode/commands/

# Regenerate commands manually:
.agent/scripts/generate-opencode-commands.sh

Usage

In OpenCode, type the command at the prompt:

/preflight
/release minor
/feature add-user-authentication

Commands invoke the corresponding workflow subagent with appropriate context.


Creating Custom Agents

Create a markdown file in ~/.config/opencode/agent/ (OpenCode) or reference in your AI's system prompt:

---
description: Short description of what this agent does
mode: subagent
temperature: 0.2
tools:
  bash: true
  specific-mcp_*: true
---

# Agent Name

Detailed instructions for the agent...

See .agent/opencode-integration.md for complete documentation.


Usage Examples

Server Management

# List all servers across providers
./.agent/scripts/servers-helper.sh list

# Connect to specific servers
./.agent/scripts/hostinger-helper.sh connect example.com
./.agent/scripts/hetzner-helper.sh connect main web-server

# Execute commands remotely
./.agent/scripts/hostinger-helper.sh exec example.com "uptime"

Monitoring & Uptime (Updown.io)

# List all monitors
./.agent/scripts/updown-helper.sh list

# Add a new website check
./.agent/scripts/updown-helper.sh add https://example.com "My Website"

Domain & DNS Management

# Purchase and configure domain
./.agent/scripts/spaceship-helper.sh purchase example.com
./.agent/scripts/dns-helper.sh cloudflare add-record example.com A 192.168.1.1

# Check domain availability
./.agent/scripts/101domains-helper.sh check-availability example.com

Strategic Keyword Research

# Basic keyword research with volume, CPC, difficulty
./.agent/scripts/keyword-research-helper.sh research "seo tools" --limit 20

# Google autocomplete long-tail discovery
./.agent/scripts/keyword-research-helper.sh autocomplete "how to" --provider both

# Extended research with SERP weakness detection
./.agent/scripts/keyword-research-helper.sh extended "keywords" --quick

# Competitor keyword research
./.agent/scripts/keyword-research-helper.sh extended --competitor ahrefs.com --limit 50

# Keyword gap analysis (find keywords competitor ranks for but you don't)
./.agent/scripts/keyword-research-helper.sh extended --gap semrush.com,ahrefs.com

# Domain research (all keywords a domain ranks for)
./.agent/scripts/keyword-research-helper.sh extended --domain example.com --limit 100

Features:

  • 6 Research Modes: Keyword expansion, autocomplete, domain research, competitor research, keyword gap, extended SERP analysis
  • 17 SERP Weaknesses: Low domain score, no backlinks, thin content, UGC-heavy, non-HTTPS, and more
  • KeywordScore Algorithm: 0-100 score based on weakness count, volume, and difficulty
  • Multi-Provider: DataForSEO (primary), Serper (autocomplete), Ahrefs (domain ratings)
  • Locale Support: US/UK/CA/AU/DE/FR/ES with saved preferences
  • Output Formats: Markdown tables (TUI) and CSV export to ~/Downloads

Quality Control & Performance

# Run quality analysis with auto-fixes
bash .agent/scripts/qlty-cli.sh check 10
bash .agent/scripts/qlty-cli.sh fix

# Run chunked Codacy analysis for large repositories
bash .agent/scripts/codacy-cli-chunked.sh quick    # Fast analysis
bash .agent/scripts/codacy-cli-chunked.sh chunked # Full analysis

# AI coding assistance
bash .agent/scripts/ampcode-cli.sh scan ./src
bash .agent/scripts/continue-cli.sh review

# Audit website performance
./.agent/scripts/pagespeed-helper.sh wordpress https://example.com

Documentation & Resources

Wiki Guides:

Agent Guides (in .agent/):

Provider-Specific Guides: Hostinger, Hetzner, Cloudflare, WordPress, Git platforms, Vercel CLI, Coolify CLI, and more in .agent/

Architecture

aidevops/
├── setup.sh                       # Main setup script
├── AGENTS.md                      # AI agent guidance
├── .agent/scripts/                # Automation & setup scripts
├── .agent/scripts/                     # Service helper scripts
├── configs/                       # Configuration templates
├── .agent/                          # Comprehensive documentation
├── .agent/                        # AI agent development tools
├── ssh/                           # SSH key management
└── templates/                     # Reusable templates and examples

Configuration & Setup

# 1. Copy and customize configuration templates
cp configs/hostinger-config.json.txt configs/hostinger-config.json
cp configs/hetzner-config.json.txt configs/hetzner-config.json
# Edit with your actual credentials

# 2. Test connections
./.agent/scripts/servers-helper.sh list

# 3. Install MCP integrations (optional)
bash .agent/scripts/setup-mcp-integrations.sh all

Security & Best Practices

Credential Management:

  • Store API tokens in separate config files (never hardcode)
  • Use Ed25519 SSH keys (modern, secure, fast)
  • Set proper file permissions (600 for configs)
  • Regular key rotation and access audits

Quality Assurance:

  • Multi-platform analysis (SonarCloud, CodeFactor, Codacy, CodeRabbit, Qlty, Snyk, Gemini Code Assist)
  • Automated security monitoring and vulnerability detection

Contributing & License

Contributing:

  1. Fork the repository
  2. Create feature branch
  3. Add provider support or improvements
  4. Test with your infrastructure
  5. Submit pull request

License: MIT License - see LICENSE file for details Created by Marcus Quinn - Copyright © 2025


What This Framework Achieves

For You:

  • Unified infrastructure management across all services
  • AI-powered automation with standardized commands
  • Enterprise-grade security and quality assurance
  • Time savings through consistent interfaces

For Your AI Assistant:

  • Structured access to entire DevOps ecosystem
  • Real-time documentation via Context7 MCP
  • Quality control with automated fixes
  • Performance monitoring with and continual improvement of agents' token efficiency, tool use, and file location consistency

Get Started:

bash <(curl -fsSL https://raw.githubusercontent.com/marcusquinn/aidevops/main/setup.sh)

Or: git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops && ~/Git/aidevops/setup.sh

Transform your AI assistant into a powerful infrastructure management tool with seamless access to all your servers and services.