Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/wasintoh/toh-framework/platform-specialistnpx skills add wasintoh/toh-framework --skill platform-specialistgit clone --depth 1 https://github.com/wasintoh/toh-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/wasintoh/toh-framework/platform-specialist)<a href="https://agentmods.dev/skills/wasintoh/toh-framework/platform-specialist"><img src="https://agentmods.dev/badge/skills/wasintoh/toh-framework/platform-specialist.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00161 | $0.03241 |
| Opus 5 | $0.00081 | $0.01621 |
| Sonnet 5 | $0.00032 | $0.00648 |
| Haiku 4.5 | $0.00016 | $0.00324 |
Grade A, and why
platform-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Platform Specialist
Make one web app run everywhere — LINE, phone home screen, App Store, desktop — โดย adapt ไม่ rewrite. Core logic เดิมอยู่ครบ, เพิ่มแค่ชั้น platform.
<core_principle>
🥇 Golden Rule: Docs First, Code Second
SDK เหล่านี้ (LIFF, Capacitor, Serwist, Tauri) ออกเวอร์ชันใหม่บ่อยมาก — snippet ที่ hardcode ไว้จะเน่า (rot) ภายในไม่กี่เดือน. ก่อนเขียนโค้ด platform ทุกครั้ง:
- ดึง docs ปัจจุบันก่อน — ผ่าน Context7 (
resolve-library-id→query-docs) หรือ WebFetch หน้า official - เช็ค version ล่าสุดจริง —
npm view @line/liff version,npm view @capacitor/core versionฯลฯ — อย่าจำเลข - แล้วค่อย implement ตาม API ที่ docs ปัจจุบันบอก
หลักการนี้สำคัญกว่าโค้ดตัวอย่างใดๆ ในไฟล์นี้. ตัวอย่างด้านล่างคือ โครง + จุดพลาด ไม่ใช่โค้ดที่ copy ได้เลย. </core_principle>
<line_mini_app>
📱 LINE MINI App (LIFF SDK)
สองคำที่ต้องแยกให้ออก
- LINE MINI App channel = channel ชนิดใหม่ (แนะนำให้สร้างแอปใหม่เป็นชนิดนี้) มาแทนวิธีเดิม (LINE Login channel + ผูก LIFF app เอง). 🇹🇭 ไทยสร้างได้แล้วตั้งแต่ มี.ค. 2026
- LIFF SDK (
@line/liff) = ตัว SDK ที่ยังใช้เหมือนเดิม รันแอป web ข้างใน LINE + เรียก LINE APIs. LINE MINI App ก็ยังใช้ LIFF SDK นี้
📚 Pull docs first
- LINE MINI App overview:
developers.line.biz/en/docs/line-mini-app/ - LIFF API reference:
developers.line.biz/en/reference/liff/ - Release notes (เช็ค version ล่าสุด):
developers.line.biz/en/docs/liff/release-notes/ - Context7:
/line/line-developers-docs-sourceหรือ/websites/developers_line_biz_en_reference_liff
Convert checklist
- สร้าง LINE MINI App channel ใน LINE Developers Console (region = Thailand)
- คัดลอก LIFF ID จาก channel → ใส่เป็น env
NEXT_PUBLIC_LIFF_ID - ติดตั้ง SDK เวอร์ชันล่าสุด:
npm install @line/liff(เช็ค version จาก release notes ก่อน) - Wrap แอปด้วย provider ที่เรียก
liff.init()แล้ว gate การ render จนกว่าจะ resolve - Set endpoint URL ใน channel = URL ที่ deploy จริง (ต้อง HTTPS)
- Adapt UX: safe-area, ปุ่ม action เต็มความกว้าง, ไม่ต้องมีหน้า login แยก (ใช้ LINE profile)
- Test ใน LINE app จริง + ทดสอบ fallback ตอนเปิดนอก LINE
- (ถ้าจะ publish เป็น verified) request review — ไทยต้องผ่าน certified provider
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 185 lines · 161 tokens per session scan A c8de21cd890c
platform-specialist is a skill published in the GitHub repository wasintoh/toh-framework (95 stars, last pushed 3d ago), licensed MIT. It adds 161 tokens to every session and 3,241 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
agent-spec-mobile-react-native
Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.
frontend-mobile-development-component-scaffold
You are a React component architecture expert specializing in scaffolding production-ready, accessible, and performant components. Generate complete component implementations with TypeScript, tests, s.
flutter-expert
Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or cross-platform features.
apple-ecosystem-expert
Expert guide for Apple Ecosystem development. Covers iOS support, Safari WebKit compatibility, PWAs (Progressive Web Apps) for iOS, and Human Interface Guidelines (HIG) for web and native apps / Panduan ahli pengembangan ekosistem Apple (iOS & Web).