{
  "@context": "https://agenticresourcediscovery.org/context/v1",
  "name": "image-optimizer",
  "description": "Agentic resources published by the image-optimizer repository: an HTTP API that audits a page's images and turns a logo or photo into the lightest faithful web asset (traced SVG, or AVIF + WebP) with the markup that keeps Lighthouse image audits green, the same operations as MCP tools at /mcp, and an agent skill describing when and how to call them.",
  "entries": [
    {
      "identifier": "urn:air:github.com:snowtimber:image-optimizer:convert-api",
      "displayName": "image-optimizer convert API",
      "type": "application/openapi+json",
      "url": "https://imageoptimizer.co/api/v1/openapi.json",
      "description": "POST /api/v1/vectorize traces a raster (PNG/JPEG/WebP/GIF/BMP, ≤ 4.5 MB) to an optimised SVG with VTracer + SVGO; POST /api/v1/optimize analyses the image, traces when it is flat art, encodes AVIF + WebP (responsive widths with ?widths=auto), picks the lightest faithful result and returns the img/picture markup with width, height, srcset, decoding and fetchpriority; GET /api/v1/audit?url= audits a public page: every image it serves with format, bytes, markup findings (unsized, lazy LCP, no srcset, legacy format, flat art as raster), Slow 4G cost, share of the 2.5 s good-LCP budget and a labelled estimate of what it would become (nothing stored); JSON bodies take {url} in place of {image}; POST /api/v1/favicons builds the favicon set (SVG, ICO 16/32/48, Apple touch, PWA + maskable icons, manifest, head snippet) as JSON or zip. No auth; JSON errors; unknown routes answer 400.",
      "capabilities": [
        "PageImageAudit",
        "ImageVectorize",
        "ImageOptimize",
        "AvifEncode",
        "WebpEncode",
        "ResponsiveSrcset",
        "FaviconSet",
        "LighthouseImageMarkup"
      ],
      "tags": [
        "images",
        "svg",
        "avif",
        "webp",
        "lighthouse",
        "performance",
        "vectorize",
        "cloudfront"
      ],
      "version": "1.2",
      "updatedAt": "2026-11-09T22:00:00Z",
      "representativeQueries": [
        "audit the images on my web page and tell me what they cost on a phone",
        "convert this PNG logo to an SVG for my website",
        "which image format keeps my Lighthouse score at 100",
        "turn a photo into AVIF and WebP with a picture element fallback",
        "what img attributes stop cumulative layout shift and lazy-loaded LCP"
      ]
    },
    {
      "identifier": "urn:air:github.com:snowtimber:image-optimizer:skill",
      "displayName": "image-optimizer agent skill (MCP + REST)",
      "type": "application/agent-skills+md",
      "url": "https://imageoptimizer.co/skills/image-optimizer/SKILL.md",
      "description": "How an agent optimises a site's images with image-optimizer: connect to the keyless MCP server at https://imageoptimizer.co/mcp (stateless Streamable HTTP; tools image_audit (a page URL → its images, findings, labelled estimates), image_analyze, image_vectorize, image_optimize, image_favicons, image_api_info; inputs by public https URL or base64, files returned as resource blobs, every result with a load-time estimate on Lighthouse's Slow 4G and desktop profiles), or call the same operations over REST. States the decision rule, limits (4.5 MB in, 4 MB out) and how to serve the outputs so Lighthouse image audits stay green.",
      "capabilities": [
        "McpTools",
        "PageImageAudit",
        "ImageVectorize",
        "ImageOptimize",
        "FaviconSet",
        "LoadTimeEstimate",
        "LighthouseImageMarkup"
      ],
      "tags": [
        "mcp",
        "agent-skill",
        "images",
        "svg",
        "avif",
        "lighthouse",
        "performance"
      ],
      "version": "1.1",
      "updatedAt": "2026-11-09T22:00:00Z",
      "representativeQueries": [
        "which images on this page are slowing it down on mobile",
        "optimise the images on my static site with an MCP tool",
        "give me an MCP server that converts logos to SVG",
        "how much faster does my hero image load as AVIF on a phone",
        "build a favicon set from this logo URL"
      ]
    }
  ]
}
