{
  "$schema": "https://agentskills.org/schema/v1/index.json",
  "version": "1.0.0",
  "provider": {
    "name": "YB",
    "name_ar": "واي بي",
    "url": "https://yb.sa",
    "contact": "info@yb.sa",
    "whatsapp": "+966538827592",
    "country": "SA",
    "founded": "2019"
  },
  "description": "YB digital services platform — discoverable AI agent skills for content, marketing, e-commerce, social media and AI solutions in Saudi Arabia.",
  "languages": ["ar", "en"],
  "skills": [
    {
      "id": "get_packages",
      "name": "List service packages and pricing",
      "description": "Returns all YB service packages with bilingual names, monthly/one-time prices in SAR, and feature highlights.",
      "manifest": "/.well-known/agent-skills/get_packages.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/get_packages",
      "method": "GET",
      "auth": "none",
      "output": "application/json"
    },
    {
      "id": "request_service_quote",
      "name": "Request a service quote",
      "description": "Submit a quote request for any YB service. Creates a pending order in the system and notifies the YB team. Returns a checkout URL.",
      "manifest": "/.well-known/agent-skills/request_service_quote.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/request_quote",
      "method": "POST",
      "auth": "none",
      "input": {
        "type": "object",
        "required": ["package_slug", "customer_name", "customer_email"],
        "properties": {
          "package_slug": { "type": "string", "enum": ["website", "website_management", "content_writing", "social_media", "digital_marketing", "flexible"] },
          "customer_name": { "type": "string", "minLength": 2, "maxLength": 100 },
          "customer_email": { "type": "string", "format": "email" },
          "customer_phone": { "type": "string", "maxLength": 30 },
          "notes": { "type": "string", "maxLength": 1000 }
        }
      },
      "output": "application/json"
    },
    {
      "id": "contact_message",
      "name": "Send a contact message",
      "description": "Send an inquiry or general message to the YB team. Triggers an email notification to info@yb.sa.",
      "manifest": "/.well-known/agent-skills/contact_message.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/contact_message",
      "method": "POST",
      "auth": "none",
      "input": {
        "type": "object",
        "required": ["name", "email", "message"],
        "properties": {
          "name": { "type": "string", "minLength": 2, "maxLength": 100 },
          "email": { "type": "string", "format": "email" },
          "phone": { "type": "string", "maxLength": 30 },
          "subject": { "type": "string", "maxLength": 200 },
          "message": { "type": "string", "minLength": 5, "maxLength": 4000 }
        }
      },
      "output": "application/json"
    },
    {
      "id": "register_murtah_interest",
      "name": "Register interest for Murtah AI assistant",
      "description": "Register a business owner as an early-access lead for Murtah — YB's upcoming AI merchant assistant.",
      "manifest": "/.well-known/agent-skills/register_murtah_interest.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/register_murtah_interest",
      "method": "POST",
      "auth": "none",
      "input": {
        "type": "object",
        "required": ["name", "email", "business_type"],
        "properties": {
          "name": { "type": "string", "minLength": 2, "maxLength": 100 },
          "email": { "type": "string", "format": "email" },
          "business_type": { "type": "string", "minLength": 2, "maxLength": 200 }
        }
      },
      "output": "application/json"
    },
    {
      "id": "analyze_business",
      "name": "Analyze a business and recommend services",
      "description": "AI-powered analysis: given a short business description, returns a maturity assessment plus a recommended YB package.",
      "manifest": "/.well-known/agent-skills/analyze_business.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/analyze_business",
      "method": "POST",
      "auth": "none",
      "input": {
        "type": "object",
        "required": ["business_description"],
        "properties": {
          "business_description": { "type": "string", "minLength": 20, "maxLength": 2000 },
          "language": { "type": "string", "enum": ["ar", "en"], "default": "ar" }
        }
      },
      "output": "application/json"
    },
    {
      "id": "generate_marketing_plan",
      "name": "Generate a 30-day marketing plan",
      "description": "AI-generated 30-day digital marketing plan tailored to the business goal, audience and budget.",
      "manifest": "/.well-known/agent-skills/generate_marketing_plan.md",
      "endpoint": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/agent-tools/generate_marketing_plan",
      "method": "POST",
      "auth": "none",
      "input": {
        "type": "object",
        "required": ["goal", "audience"],
        "properties": {
          "goal": { "type": "string", "maxLength": 500 },
          "audience": { "type": "string", "maxLength": 500 },
          "monthly_budget_sar": { "type": "number", "minimum": 0 },
          "language": { "type": "string", "enum": ["ar", "en"], "default": "ar" }
        }
      },
      "output": "application/json"
    }
  ],
  "links": {
    "mcp_server": "/.well-known/mcp/server-card.json",
    "mcp_streamable_http": "https://uihgbaoahupfqxfcahbe.supabase.co/functions/v1/mcp-server",
    "api_catalog": "/.well-known/api-catalog",
    "openid_configuration": "/.well-known/openid-configuration",
    "oauth_protected_resource": "/.well-known/oauth-protected-resource",
    "documentation": "https://yb.sa/services",
    "terms": "https://yb.sa/terms",
    "privacy": "https://yb.sa/privacy"
  }
}
