{
  "name": "DevOps Doctor for AI agents",
  "description": "Live package safety checks, config linting and DevOps error diagnosis for AI coding agents. Pay per call via x402 (USDC on Base).",
  "url": "https://devops-doctor.ameeras-official.workers.dev",
  "version": "1.0.0",
  "provider": {
    "organization": "DevOps Doctor for AI agents",
    "url": "https://devops-doctor.ameeras-official.workers.dev"
  },
  "capabilities": {
    "streaming": false
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "packageCheck",
      "name": "Check if an npm or PyPI package is real, current and safe before installing it",
      "description": "Live check against the npm / PyPI registry and the OSV vulnerability database. Catches hallucinated package names, typosquats, deprecated packages and known vulnerabilities. POST https://devops-doctor.ameeras-official.workers.dev/package-check. Price 0.005 USDC.",
      "tags": [
        "devops"
      ],
      "examples": [
        "{\"ecosystem\":\"npm\",\"name\":\"express\"}"
      ]
    },
    {
      "id": "errorDoctor",
      "name": "Diagnose a DevOps / cloud error and get the fix",
      "description": "Send an error message from Kubernetes, Helm, Docker, CI/CD, Terraform, Vault, Nginx or Linux. Returns likely cause, fix steps and commands to verify, as JSON. POST https://devops-doctor.ameeras-official.workers.dev/error-doctor. Price 0.02 USDC.",
      "tags": [
        "devops"
      ],
      "examples": [
        "{\"error\":\"Back-off restarting failed container (CrashLoopBackOff)\",\"context\":\"kubectl apply of a Node.js deployment\"}"
      ]
    },
    {
      "id": "configCheck",
      "name": "Lint a Kubernetes, Docker Compose, GitHub Actions or Dockerfile config before deploying",
      "description": "Finds YAML syntax errors with line numbers plus common deploy-breaking and security mistakes: selector/label mismatch, :latest images, missing resource limits and probes, privileged containers, hard-coded secrets, GitHub Actions security (pwn-request checkouts on pull_request_target, actions not pinned to a commit SHA, script injection from issue/PR titles, secrets printed to logs, write-all tokens, self-hosted runners on PRs, curl | bash), root Docker images. POST https://devops-doctor.ameeras-official.workers.dev/config-check. Price 0.01 USDC.",
      "tags": [
        "devops"
      ],
      "examples": [
        "{\"content\":\"apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n  name: web\\nspec:\\n  selector:\\n    matchLabels: {app: web}\\n  template:\\n    metadata:\\n      labels: {app: web}\\n    spec:\\n      containers:\\n        - name: web\\n          image: nginx:latest\\n\"}"
      ]
    },
    {
      "id": "scanDeps",
      "name": "Scan a whole project's dependencies (lockfile) for known vulnerabilities and typosquats in one call",
      "description": "Send package-lock.json, yarn.lock, pnpm-lock.yaml, package.json, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, go.sum, Cargo.lock, composer.lock or Gemfile.lock. Checks up to 1000 exact versions against OSV.dev and returns every vulnerable package with CVE, severity and the version to upgrade to, plus names that look like typosquats of popular packages. Not charged if the vulnerability database is down. POST https://devops-doctor.ameeras-official.workers.dev/scan-deps. Price 0.01 USDC.",
      "tags": [
        "devops"
      ],
      "examples": [
        "{\"filename\":\"requirements.txt\",\"content\":\"django==3.2.0\\nrequests==2.19.0\\nreqeusts==1.0.0\\n\"}"
      ]
    }
  ],
  "payments": {
    "x402": {
      "network": "base",
      "asset": "USDC",
      "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xFd0a60AAe059a256C7c56029727F7f32232B5225"
    }
  },
  "endpoints": [
    {
      "path": "/package-check",
      "url": "https://devops-doctor.ameeras-official.workers.dev/package-check",
      "method": "POST",
      "price_usdc": "0.005",
      "summary": "Check if an npm or PyPI package is real, current and safe before installing it",
      "description": "Live check against the npm / PyPI registry and the OSV vulnerability database. Catches hallucinated package names, typosquats, deprecated packages and known vulnerabilities.",
      "example_body": {
        "ecosystem": "npm",
        "name": "express"
      },
      "fields": {
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ],
          "description": "npm or pypi",
          "required": true
        },
        "name": {
          "type": "string",
          "description": "Package name, e.g. express or requests",
          "required": true
        },
        "version": {
          "type": "string",
          "description": "Optional version to check for vulnerabilities (defaults to latest)"
        }
      }
    },
    {
      "path": "/error-doctor",
      "url": "https://devops-doctor.ameeras-official.workers.dev/error-doctor",
      "method": "POST",
      "price_usdc": "0.02",
      "summary": "Diagnose a DevOps / cloud error and get the fix",
      "description": "Send an error message from Kubernetes, Helm, Docker, CI/CD, Terraform, Vault, Nginx or Linux. Returns likely cause, fix steps and commands to verify, as JSON.",
      "example_body": {
        "error": "Back-off restarting failed container (CrashLoopBackOff)",
        "context": "kubectl apply of a Node.js deployment"
      },
      "fields": {
        "error": {
          "type": "string",
          "description": "The error message or log lines (max 4000 chars)",
          "required": true
        },
        "context": {
          "type": "string",
          "description": "Optional: what you were doing, tool versions, platform"
        }
      }
    },
    {
      "path": "/config-check",
      "url": "https://devops-doctor.ameeras-official.workers.dev/config-check",
      "method": "POST",
      "price_usdc": "0.01",
      "summary": "Lint a Kubernetes, Docker Compose, GitHub Actions or Dockerfile config before deploying",
      "description": "Finds YAML syntax errors with line numbers plus common deploy-breaking and security mistakes: selector/label mismatch, :latest images, missing resource limits and probes, privileged containers, hard-coded secrets, GitHub Actions security (pwn-request checkouts on pull_request_target, actions not pinned to a commit SHA, script injection from issue/PR titles, secrets printed to logs, write-all tokens, self-hosted runners on PRs, curl | bash), root Docker images.",
      "example_body": {
        "content": "apiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: web\nspec:\n  selector:\n    matchLabels: {app: web}\n  template:\n    metadata:\n      labels: {app: web}\n    spec:\n      containers:\n        - name: web\n          image: nginx:latest\n"
      },
      "fields": {
        "content": {
          "type": "string",
          "description": "The file text (max 50000 chars)",
          "required": true
        },
        "type": {
          "type": "string",
          "enum": [
            "kubernetes",
            "docker-compose",
            "github-actions",
            "dockerfile",
            "yaml"
          ],
          "description": "Optional; auto-detected if omitted"
        }
      }
    },
    {
      "path": "/scan-deps",
      "url": "https://devops-doctor.ameeras-official.workers.dev/scan-deps",
      "method": "POST",
      "price_usdc": "0.01",
      "summary": "Scan a whole project's dependencies (lockfile) for known vulnerabilities and typosquats in one call",
      "description": "Send package-lock.json, yarn.lock, pnpm-lock.yaml, package.json, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, go.sum, Cargo.lock, composer.lock or Gemfile.lock. Checks up to 1000 exact versions against OSV.dev and returns every vulnerable package with CVE, severity and the version to upgrade to, plus names that look like typosquats of popular packages. Not charged if the vulnerability database is down.",
      "example_body": {
        "filename": "requirements.txt",
        "content": "django==3.2.0\nrequests==2.19.0\nreqeusts==1.0.0\n"
      },
      "fields": {
        "content": {
          "type": "string",
          "description": "The lockfile or manifest text (max 3 MB)",
          "required": true
        },
        "filename": {
          "type": "string",
          "description": "Optional file name, e.g. package-lock.json (helps detection)"
        },
        "include_dev": {
          "type": "boolean",
          "description": "Include dev dependencies (default true)"
        }
      }
    }
  ]
}