ใช้ภายในInternal Use

AI Search Checker

เครื่องมือภายในสำหรับทีม Sale — ใช้ตรวจเว็บลูกค้าเพื่อตอบคำถามเรื่อง AI readiness แบบมีหลักฐาน ประกอบการนำเสนอ service และป้องกันไม่ให้ Sale over-promise กับลูกค้า

An internal sales enablement tool — used by the Sales team to audit customer websites, answer AI readiness questions with evidence, support service proposals, and prevent sales reps from over-promising.

01สรุปภาพรวมExecutive Summary

AI Search Checker วิเคราะห์เว็บไซต์เพื่อตอบ 2 คำถามสำคัญ:

AI Search Checker analyzes any website to answer 2 key questions:

  1. เว็บของคุณพร้อมสำหรับ AI Search ไหม? — ตรวจ 10 ปัจจัยทางเทคนิค (Schema.org, Semantic HTML, SSR, robots.txt ฯลฯ)
  2. AI รู้จักแบรนด์ของคุณขนาดไหน? — ถาม GPT-4.1 nano ตรงๆ แล้ววัด 7 มิติ พร้อมเช็ค Google Knowledge Graph
  1. Is your website ready for AI Search? — Tests 10 technical factors (Schema.org, Semantic HTML, SSR, robots.txt, etc.)
  2. How well does AI know your brand? — Directly asks GPT-4.1 nano and measures 7 dimensions plus Google Knowledge Graph
Internal Use — เครื่องมือสำหรับทีม Sale เท่านั้น Internal Use — Sales Team Only

aicheck.ohmai.me ไม่ใช่ public product — เป็นเครื่องมือภายในสำหรับตรวจสอบว่าเว็บไซต์ขาดองค์ประกอบใดที่ทำให้ AI ค้นหาและเข้าถึงข้อมูลได้ไม่ครบ

aicheck.ohmai.me is not a public product — it is an internal tool for checking which elements a website is missing that would otherwise allow AI to discover and access its content.

เมื่อใช้ aicheck จะทราบได้ทันทีว่าเว็บไซต์ขาดองค์ประกอบทางเทคนิคในส่วนใด และสามารถตรวจสอบได้ว่า AI รู้จักแบรนด์หรือองค์กรนั้นมากน้อยเพียงใดในปัจจุบัน

aicheck immediately shows which technical elements a website is missing, and lets you verify how well AI systems currently recognize that brand or organization.

สิ่งที่ 10 ข้อตรวจสอบบอกได้ และบอกไม่ได้ What the 10 Checks Can and Cannot Tell You

การผ่านทั้ง 10 ข้อตรวจสอบไม่ได้การันตีว่า AI จะรู้จักแบรนด์ของคุณ — 10 ข้อนั้นเป็นเพียงการยืนยันว่าเว็บไซต์ "เปิดประตู" ให้ AI Crawler สามารถเข้าถึงและอ่านข้อมูลได้ถูกต้อง

Passing all 10 checks does not guarantee that AI will recognize your brand. Those checks only confirm that the website is technically accessible to AI crawlers — the door is open.

การที่ AI อย่าง ChatGPT หรือ Perplexity จะรู้จักและอ้างถึงแบรนด์ในคำตอบนั้น ต้องอาศัยสิ่งที่เรียกว่า GEO (Generative Engine Optimization) ซึ่งประกอบด้วย: การมีหน้า Wikipedia หรือ Knowledge Base, การถูกอ้างอิงในบทความข่าวและสื่อที่น่าเชื่อถือ, การมีเนื้อหาคุณภาพสูงที่ AI เลือกอ้างอิง, Backlink จากแหล่งที่มีสิทธิ์, และการมี Brand mention ข้ามแพลตฟอร์มอย่างสม่ำเสมอ

For AI to actually mention your brand in generated responses, you need GEO (Generative Engine Optimization): a Wikipedia or knowledge base entry, citations in reputable news and media, high-quality content that AI systems choose to reference, authoritative backlinks, and consistent brand mentions across platforms.

แหล่งอ้างอิง: Sources: Search Engine Land — What is GEO · EngageCoders — Top 5 GEO Strategies 2026

02สิ่งที่เราสร้างWhat We Built

เว็บแอปที่มี 2 feature หลัก

A web app with 2 main features.

1. 10 Checks — พื้นฐาน AI-Friendly (หน้าแรกของเว็บ)

1. 10 Checks — AI-Friendly Fundamentals (main page)

ตรวจ 10 ปัจจัยทางเทคนิคที่ทำให้เว็บ AI รู้จักได้ง่าย ให้ผลลัพธ์เป็น Grade A-D + per-check score + คำแนะนำการแก้ไข น้ำหนักของแต่ละปัจจัยถูกตั้งตามผลกระทบจริงที่มีต่อความสามารถของ AI ในการเข้าถึงและเข้าใจเนื้อหา ไม่ใช่แบ่งเท่ากันทุกข้อ

Tests 10 technical factors that make a website AI-readable. Returns a Grade A-D + per-check score + actionable recommendations. Weights are assigned based on each factor's actual impact on AI accessibility — not split equally.

#CheckerWeightTestsเหตุผลที่ weight เท่านี้Why this weight
1Schema.org22%JSON-LD: Organization, Article, LocalBusinessข้อมูลโครงสร้างที่ AI อ่านได้โดยตรง — ส่งผลสูงสุดต่อความเข้าใจของ AIStructured data AI reads directly — highest single impact on AI comprehension
2SSR/CSR Detection17%Server-rendered vs JavaScript-dependentถ้าเว็บใช้ JavaScript render (CSR) AI Crawler จะเห็นหน้าว่างเปล่า — ปัญหาร้ายแรงIf the site renders via JavaScript (CSR), AI crawlers see a blank page — a critical blocker
3robots.txt12%robots.txt exists + allows AI crawlersถ้า block AI bot ไว้ ไม่ว่าเนื้อหาจะดีแค่ไหนก็ไม่มีประโยชน์Blocking AI bots makes all other optimizations irrelevant
4Image AI Readiness10%alt text + optimizationรูปภาพที่ไม่มี alt text AI มองไม่เห็นบริบท — ส่งผลต่อความเข้าใจเนื้อหาโดยรวมImages without alt text are invisible to AI context — affects overall content understanding
5Heading Hierarchy9%H1-H6 orderโครงสร้างหัวข้อที่ถูกต้องช่วยให้ AI เข้าใจลำดับความสำคัญของเนื้อหาCorrect heading order helps AI understand content priority and structure
6Semantic HTML7%<main>, <article>, <nav>Tag ที่มีความหมายช่วยให้ AI แยกแยะส่วนต่างๆ ของหน้าได้ถูกต้องSemantic tags help AI distinguish page regions and their roles
7sitemap.xml7%Sitemap exists + validช่วยให้ AI Crawler ค้นพบทุกหน้าของเว็บ ไม่ใช่แค่หน้าแรกHelps AI crawlers discover all pages, not just the homepage
8llms.txt6%llms.txt presence (Answer.AI standard)มาตรฐานใหม่สำหรับบอก LLM ว่าเว็บนี้อนุญาตให้ใช้เนื้อหาได้อย่างไร ยังอยู่ในช่วง adoptionEmerging standard for telling LLMs how to use site content — still gaining adoption
9Open Graph5%og:title, og:description, og:imageส่วนใหญ่ใช้สำหรับ social media preview — ผลกระทบต่อ AI Search น้อยกว่าข้ออื่นPrimarily for social media previews — lower direct impact on AI Search vs. other checks
10Page Speed5%TTFB performanceเว็บที่ช้ามาก AI Crawler อาจ timeout ก่อนโหลดเสร็จ แต่ส่งผลน้อยกว่า content factorsVery slow sites may time out before crawlers finish loading — less impactful than content factors

แหล่งอ้างอิงสำหรับน้ำหนักคะแนน:Weight references: [1] Google Search Central — Structured Data · [2] Google — JavaScript SEO basics · [3] Google — robots.txt introduction · [4] llms.txt specification — Answer.AI · [5] GEO: Generative Engine Optimization (Aggarwal et al., 2024)

2. AI Visibility

2. AI Visibility

หนึ่งในไม่กี่เครื่องมือในไทยที่ ถาม GPT ตรงๆ ว่ารู้จักเว็บนี้ไหม + เช็ค Google Knowledge Graph + วัดเป็น 7 มิติ รวม 100 คะแนน

One of the few tools in Thailand that asks GPT directly whether it knows a website + checks Google Knowledge Graph + measures 7 dimensions totaling 100 points.

DimensionPointsMeasuresเหตุผลที่ตั้งคะแนนเท่านี้Why this score
AI Recognition20Does AI recognize the brand?พื้นฐานที่สุด — ถ้า AI ไม่รู้จักเลยก็ไม่มีประโยชน์ตรวจมิติอื่น คะแนนสูงสุดMost fundamental — if AI doesn't recognize the brand at all, other dimensions are irrelevant
Accuracy15Is AI's knowledge accurate?รู้จักแต่ข้อมูลผิดอาจเป็นอันตรายมากกว่าไม่รู้จัก — ความถูกต้องสำคัญสูงKnowing wrong facts can be worse than not knowing — accuracy carries high weight
URL Known10Can AI provide the URL?บ่งบอกว่า AI มีข้อมูลเฉพาะเจาะจงเพียงพอ ไม่ใช่แค่รู้จักชื่อแบรนด์กว้างๆIndicates AI has specific enough information, not just a vague brand awareness
Knowledge Depth15How deep is the knowledge?ความลึกของข้อมูลสะท้อน Brand Authority — แบรนด์ที่ AI รู้ลึกมักถูก cite บ่อยกว่าDepth reflects brand authority — brands AI knows deeply tend to get cited more often
Products/Services15Can AI name products?ถ้า AI พูดถึง product ได้ แสดงว่าเนื้อหาเว็บถูก index อย่างสมบูรณ์If AI can name products, the site's content has been indexed comprehensively
Google Presence10Google search ranking (SEO)SEO แบบเดิมยังส่งผลต่อ AI training data — เว็บที่ rank ดีมักถูก crawl บ่อยกว่าTraditional SEO still feeds AI training data — well-ranked sites get crawled more
AI Overview15In Google Knowledge Graphการอยู่ใน Knowledge Graph คือสัญญาณที่แข็งแกร่งที่สุดว่า Google ยืนยันตัวตนแบรนด์แล้วPresence in the Knowledge Graph is the strongest signal that Google has verified the brand's identity

แหล่งอ้างอิงสำหรับคะแนน AI Visibility:AI Visibility score references: [5] GEO: Generative Engine Optimization (Aggarwal et al., 2024) · [6] Search Engine Land — What is GEO? · [7] Google — Knowledge Graph overview

ทุกมิติมีคำอธิบาย 3 ส่วน: Why it matters · How to improve · How we detect this

Each dimension has three explanation panels: Why it matters · How to improve · How we detect this

Features อื่นๆ

Other Features

03โปรเจกต์นี้ถูกสร้างขึ้นมาได้ยังไงHow This Was Built

aicheck เขียนด้วยวิธี "Vibe Coding" — สั่งงาน AI ด้วยภาษาพูด Developer เป็นผู้กำกับ (สั่ง/ตรวจ/ตัดสิน architecture) AI เป็นผู้เขียนโค้ด

aicheck was built with "Vibe Coding" — instructions in plain language. Developer directs (commands, reviews, decides architecture); AI implements.

Toolchain: Claude Code CLI (Opus 4.6, 1M context) ใน VS Code integrated terminal · Git + GitHub (AI ทำ branch/commit/PR ได้แต่ human review ก่อน merge) · Playwright MCP สำหรับให้ AI ควบคุม browser จริงตอน test

Toolchain: Claude Code CLI (Opus 4.6, 1M context) in VS Code's integrated terminal · Git + GitHub (AI handles branches/commits/PRs, humans review before merge) · Playwright MCP so the AI can drive a real browser during testing

วิธี Vibe Coding ที่ทำให้ MA ได้จริง

Structured Vibe Coding — Built to be Maintainable

aicheck ไม่ได้ถูกสร้างขึ้นด้วยการสั่ง AI ว่า "ทำเว็บนี้ให้หน่อย" — แต่มีกระบวนการที่ชัดเจนก่อนเขียนโค้ดบรรทัดแรก

aicheck was not built by simply telling AI to "make this website." There was a clear process established before the first line of code was written.

ก่อนเริ่ม มีการวางแผนผ่าน Global CLAUDE.md ซึ่งเป็นเอกสารที่กำหนดพฤติกรรมของ AI ตลอดโปรเจกต์ — ครอบคลุม User Flow, Architecture, Security edge cases และ Folder Structure ทั้งหมดต้องถูก confirm ก่อนที่ AI จะเริ่มสร้าง

Before starting, a Global CLAUDE.md was established — a document defining AI behavior throughout the project. User Flow, Architecture, Security edge cases, and Folder Structure were all confirmed before AI began building anything.

ในแต่ละส่วนงาน มีการเรียกใช้ Skill ที่เหมาะสม แทนที่จะให้ AI ตัดสินใจเองทั้งหมด:

Each phase of work called on a specific Skill rather than leaving all decisions to the AI:

ส่วนงานPhase Skill วัตถุประสงค์Purpose
ออกแบบ UIUI Design ui-ux-pro-max เลือก Navy + Sky Bento palette + B2B layout pattern Selected Navy + Sky Bento palette and B2B layout pattern
สร้าง FrontendFrontend Build frontend-design สร้าง component คุณภาพสูงพร้อม design system Built production-grade components with a defined design system
แก้ BugDebugging systematic-debugging วิเคราะห์ root cause ก่อน fix ทุกครั้ง ห้ามเดาแล้วแก้ Root cause analysis before every fix — no guessing
ทดสอบ UIUI Testing Playwright MCP AI ควบคุม browser จริงเพื่อทดสอบ flow ทุก scenario AI drove a real browser to test every user flow scenario
ตรวจคุณภาพโค้ดCode Review /review-all รัน 4 agent พร้อมกัน ครอบคลุม security, performance, React/TS, maintainability Ran 4 agents in parallel covering security, performance, React/TS, and maintainability
5 skills ที่ถูกเรียกใช้ skills called
21 skills ที่ติดตั้งทั้งหมด skills installed total
ใช้ในโปรเจกต์นี้used in this project
slash commandslash command
ติดตั้งแต่ไม่ได้ใช้installed, not used here
ui-ux-pro-max frontend-design systematic-debugging brand-design-ref webapp-testing /review-all agent-browser banner-design brand design design-system docx mcp-builder pdf pptx python-error-handling python-performance-optimization review-and-clean skill-creator slides ui-styling xlsx

ผลลัพธ์คือโค้ดที่ developer คนใหม่เปิดมาแล้วเข้าใจได้ทันที — โครงสร้างไฟล์สม่ำเสมอ, naming convention ชัดเจน, ไม่มี magic number หรือ logic ที่ซ่อนอยู่

The result is code that a new developer can open and understand immediately — consistent file structure, clear naming conventions, no hidden logic or magic numbers.

ขยายต่อยอดในระดับองค์กร Scaling this across a team ถ้าองค์กรมี coding pattern เป็นของตัวเอง — เช่น วิธีตั้งชื่อตัวแปร, โครงสร้างไฟล์, วิธีเขียน error handling — สามารถนำมาเขียนเป็น Skill ได้เลย เมื่อทุกคนในทีม vibe code แล้วเรียกใช้ skill นั้น AI จะเขียน code ตาม pattern ขององค์กรโดยอัตโนมัติ ไม่ว่า developer คนไหนจะเป็นคนสั่ง — code ที่ได้ออกมาก็จะหน้าตาเดียวกันหมด If your organization has its own coding patterns — naming conventions, file structure, error handling style — those can be encoded as a Skill. Once every developer on the team invokes that skill, AI will write code that follows your organization's standards automatically. Regardless of who gives the instruction, the output looks the same — consistent code across the entire team.

Subagents ตรวจคุณภาพโค้ด (4 ตัว — รัน parallel ผ่าน /review-all)

Code Review Subagents (4 — run in parallel via /review-all)

ก่อน agent แต่ละตัวจะ report ผล จะอ่านไฟล์ .known-issues.md ก่อนเสมอ — ไฟล์นี้คือรายการ "ปัญหาที่ทีมรู้แล้วและยอมรับไว้แล้ว" เช่น สิ่งที่แก้ไม่ได้ตอนนี้หรือตั้งใจปล่อยไว้ agent จะข้ามสิ่งเหล่านี้ทั้งหมด ไม่ flag ซ้ำในทุกรอบ นอกจากนี้ /review-all ยังมี Phase 2 ที่ทดสอบกับเว็บไซต์จริง ไม่ใช่แค่อ่าน code — เพื่อจับ bug ที่อ่าน code อย่างเดียวไม่เห็น

Before each agent reports its findings, it reads .known-issues.md first — a file listing "problems the team already knows about and has accepted," such as things that can't be fixed right now or are intentionally left as-is. Agents skip all of these, so the same issues don't get flagged on every review. /review-all also runs a Phase 2 that tests against a real website — not just reading code — to catch bugs that only appear when the site is actually running.

04Tech Stack

Frontend & Framework

Frontend & Framework

LayerTechnologyVersionวัตถุประสงค์Purpose
FrameworkNext.js15.5.14App Router, standalone output, middlewareApp Router, standalone output, middleware
LanguageTypeScript5.7.3strict mode, ห้าม anystrict mode, no any
UI LibraryReact19.0.0Functional components + hooks onlyFunctional components + hooks only
StylingTailwind CSS3.4.19Utility-first + Arctic Frost themeUtility-first + Arctic Frost theme
Iconslucide-react0.474Tree-shakeable SVGTree-shakeable SVG
ValidationZod4.3.6Runtime schema + URL validationRuntime schema + URL validation

External APIs

ServiceEndpointวัตถุประสงค์Purposeค่าใช้จ่ายCost
OpenAIapi.openai.com/v1/chat/completionsGPT-4.1 nano (AI Visibility)GPT-4.1 nano (AI Visibility)~$0.001/check~$0.001/check
Serper.devgoogle.serper.dev/searchGoogle Search + Knowledge GraphGoogle Search + Knowledge Graphฟรี 2,500 queriesFree 2,500 queries
Why Serper, not Google Custom Search API? Google ปิด Custom Search JSON API สำหรับลูกค้าใหม่ตั้งแต่ปี 2026 เรา migrate มา Serper.dev ที่ถูกกว่า 30-50 เท่า Google closed Custom Search JSON API to new customers starting 2026. We migrated to Serper.dev which is 30-50× cheaper.

Infrastructure

ComponentTechnologyDetails
RuntimeNode.js20.20.0
Process ManagerPM2fork mode, auto-restart, pm2 savefork mode, auto-restart, pm2 save
ServerAWS EC2Ubuntu
Web ServerNginxReverse proxy → localhost:3001
CDNCloudflareDDoS, SSL, caching

05สถาปัตยกรรมArchitecture

เมื่อคุณกรอก URL แล้วกด Check — เกิดอะไรขึ้น?

What Happens When You Click Check?

1
คุณส่ง URL
You submit URL
เช่น https://example.com
e.g. https://example.com
2
ตรวจ URL ก่อนเสมอ
Safety check first
บล็อก IP ภายใน, URL ปลอม, DNS rebinding
Blocks internal IPs, spoofed URLs, DNS rebinding
3
Server ดึงข้อมูลเว็บ
Server fetches website
โหลด HTML ของเว็บนั้นจริงๆ
Loads the actual HTML of that site
4
แยกเส้นทางตามหน้า
Split by feature
10 Checks หรือ AI Visibility
10 Checks or AI Visibility

10 Checks (หน้าแรก)

10 Checks (home page)

รัน 10 checkers พร้อมกัน ไม่รอทีละตัว Run all 10 checkers simultaneously
📊
คำนวณคะแนนตาม weight แต่ละข้อ Calculate weighted score per check
💡
สร้างคำแนะนำตามสิ่งที่พัง Generate recommendations from failures
คะแนน A–D + รายการที่ต้องแก้
Grade A–D + fix recommendations

AI Visibility (หน้า /ai-check)

AI Visibility (/ai-check)

🤖
ถาม GPT ว่า "รู้จักเว็บนี้ไหม" โดยตรง Ask GPT directly "do you know this website?"
🔍
ค้น Google + Knowledge Graph พร้อมกัน Search Google + Knowledge Graph simultaneously
🌐
ตอบกลับ 2 ภาษาในครั้งเดียว — ไม่ call API ซ้ำ Returns TH + EN in one call — no re-fetch on language switch
คะแนน 7 มิติ รวม 100 คะแนน
7-dimension score out of 100

ความปลอดภัย

Security

โครงสร้างโปรเจกต์

Project Structure

aicheck/
├── app/                  // หน้าเว็บ + API endpoints
│   ├── page.tsx          //   หน้า 10 Checks
│   ├── ai-check/         //   หน้า AI Visibility
│   └── api/{check,ai-check}/route.ts
├── components/           // UI ที่ใช้ร่วมกัน (navbar, results)
├── lib/
│   ├── checkers/         // 10 checkers + AI visibility; น้ำหนักอยู่ใน base.ts
│   ├── i18n/             // ระบบ EN/TH ไม่ใช้ library
│   ├── security.ts       // ตรวจ URL + fetch ปลอดภัย
│   └── rate-limiter.ts   // จำกัดจำนวน request
├── middleware.ts         // CORS + security headers
└── public/               // robots.txt, sitemap.xml, llms.txt