platform-specialist

platform-specialist is a skill for Claude Code, Codex from wasintoh/toh-framework. It costs 161 tokens per session (3,241 once invoked), scanned A, original, MIT.

A platform-integration guide for adapting a web app to LINE MINI Apps, phone home-screen apps, and iOS or Android apps.

In plain words
What is it for?
It supports integrations involving LINE's LIFF SDK, progressive web apps, and Capacitor, with Expo and Tauri treated as secondary options.
Why use it?
It helps reuse the app's existing core code while adding the platform-specific parts, using current documentation because these tools change often.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports integrations involving LINE's LIFF SDK, progressive web apps, and Capacitor, with Expo and Tauri treated as secondary options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wasintoh/toh-framework/platform-specialist
Install

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.

Any agent
npx skills add wasintoh/toh-framework --skill platform-specialist
Clone the repo
git clone --depth 1 https://github.com/wasintoh/toh-framework

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for platform-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/wasintoh/toh-framework/platform-specialist/github.svg)](https://agentmods.dev/skills/wasintoh/toh-framework/platform-specialist)
Your own site
<a href="https://agentmods.dev/skills/wasintoh/toh-framework/platform-specialist"><img src="https://agentmods.dev/badge/skills/wasintoh/toh-framework/platform-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for platform-specialist

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 118
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 120
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 121
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 122
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 128
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 135
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 128
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00161 $0.03241
Opus 5.5 $0.00064 $0.01296
Sonnet 5.5 $0.00032 $0.00648
Haiku 4.5 $0.00016 $0.00324

Measured 1mo ago against content hash c8de21cd890c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

src/skills/platform-specialist/SKILL.md · 185 lines

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 ทุกครั้ง:

  1. ดึง docs ปัจจุบันก่อน — ผ่าน Context7 (resolve-library-id → query-docs) หรือ WebFetch หน้า official
  2. เช็ค version ล่าสุดจริง — npm view @line/liff version, npm view @capacitor/core version ฯลฯ — อย่าจำเลข
  3. แล้วค่อย 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

Read the full file on GitHub · 185 lines

Changes

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.

  1. 1mo ago First seen · 185 lines · 161 tokens per session scan A c8de21cd890c

Subscribe to this mod's changes

platform-specialist is a skill published in the GitHub repository wasintoh/toh-framework (98 stars, last pushed 1mo ago), licensed MIT. It adds 161 tokens to every session and 3,241 once invoked, about $0.0006 per session on Opus 5.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.

Related

Other skills, from other repositories

performance-profiling

Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.

conorluddy/xclaude-plugin · 52 tokens

accessibility-testing

WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility labels, testing VoiceOver compatibility, checking contrast ratios, or ensuring WCAG 2.1 compliance. Covers accessibility tree analysis, semantic validation, and automated accessibility testing patterns.

conorluddy/xclaude-plugin · 57 tokens

crash-debugging

Crash log analysis, symbolication, and debugging workflows for iOS apps. Use when investigating app crashes, analyzing crash reports, symbolicating stack traces, or identifying root causes. Covers crash log retrieval, symbolication with dSYM files, stack trace analysis, and common crash patterns.

conorluddy/xclaude-plugin · 61 tokens

ios-testing-patterns

XCTest and XCUITest execution workflows and flaky test detection patterns.

conorluddy/xclaude-plugin · 18 tokens

simulator-workflows

Use the executesimulatorcommand MCP tool for all simulator management.

conorluddy/xclaude-plugin · 49 tokens

xcode-workflows

Xcode build system guidance for xcodebuild operations. Use when building iOS projects, running tests, analyzing build failures, or configuring schemes. Covers build/clean/test operations, interpreting xcodebuild output, and troubleshooting common build errors.

conorluddy/xclaude-plugin · 53 tokens