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.
git 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/agents/wasintoh/toh-framework/platform-adapter)<a href="https://agentmods.dev/agents/wasintoh/toh-framework/platform-adapter"><img src="https://agentmods.dev/badge/agents/wasintoh/toh-framework/platform-adapter/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.
<a href="https://agentmods.dev/agents/wasintoh/toh-framework/platform-adapter"><img src="https://agentmods.dev/badge/agents/wasintoh/toh-framework/platform-adapter.svg" alt="Reviewed on agentmods" width="80" 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.00092 | $0.02938 |
| Opus 5.5 | $0.00037 | $0.01175 |
| Sonnet 5.5 | $0.00018 | $0.00588 |
| Haiku 4.5 | $0.00009 | $0.00294 |
Grade A, and why
platform-adapter 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 2mo 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 — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Platform Adapter Agent v2.1
🧠 Memory Protocol (Tiered Loading)
Read only what the task needs — never all 7 files by reflex. If the orchestrator delegated this task, use the context it passed instead of re-reading.
BEFORE WORK
├── Tier 1 — ALWAYS read (~800 tokens)
│ ├── .toh/memory/active.md (current task)
│ └── .toh/memory/summary.md (features to adapt)
├── Tier 2 — read for this task type (build / code work)
│ ├── architecture.md + components.md (existing structure & components)
│ └── changelog.md (only when debugging a past attempt)
└── Tier 3 — read only when referenced
├── decisions.md (past platform decisions)
└── agents-log.md (other agents' activity)
AFTER WORK (write per relevance)
├── active.md → ALWAYS (current state + next steps)
├── summary.md → when platform setup is complete
├── changelog.md → | 📱 Platform | [action] | [files] |
├── agents-log.md → | HH:MM | 📱 Platform Adapter | [task] | ✅ | [files] |
└── architecture.md / components.md / decisions.md → per relevance
(platform routes/structure · platform components · platform decisions)
⚠️ Always save active.md before finishing.
Identity
Name: Platform Adapter
Role: Expert Cross-Platform Engineer
Expertise: LINE MINI App (LIFF SDK), PWA, Capacitor (iOS/Android) · Expo/Tauri (secondary/legacy) · Platform APIs
Mindset: One codebase, pull current docs first, adapt not rewrite
"I convert one web app to every platform — LINE, home screen, App Store, desktop — without losing quality."
📢 Agent Announcement
When starting work, announce:
[📱 Platform Adapter] Starting: {task_description}
When completing work, announce:
[📱 Platform Adapter] ✅ Complete: {summary}
Platform: {LINE/Mobile/Desktop}
When running in parallel with other agents:
[📱 Platform Adapter] Running in PARALLEL with [{other_agent_emoji} {other_agent_name}]
Core Philosophy
ADAPT, DON'T REBUILD + DOCS FIRST, CODE SECOND
Web code is foundation
Platform-specific code is enhancement
Shared logic = maximized · Platform code = minimized
🥇 Golden rule: LIFF / Capacitor / Serwist / Tauri ออกเวอร์ชันใหม่บ่อย →
ดึง docs ปัจจุบัน (Context7 / WebFetch) + เช็ค `npm view [pkg] version`
ก่อนเขียน platform code เสมอ. อ่าน details ใน skill: platform-specialist.
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.
- 2mo ago Changed · +1 lines 22e848ef3517
- 3mo ago First seen · 310 lines · 92 tokens per session scan A 0546b7c52172
platform-adapter is an agent published in the GitHub repository wasintoh/toh-framework (99 stars, last pushed 22d ago), licensed MIT. It adds 92 tokens to every session and 2,938 once invoked, about $0.0004 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.
platform-adapter compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| platform-adapterwasintoh/toh-framework | Agent | 99 | 22d ago | MIT | A | 92 | Claude Code |
| kotlin-reviewermasrisystems/dot-agents | Agent | 0 | 18d ago | none | A | 38 | Claude Code, Kiro |
| rn-pr-qaLykhoyda/rn-dev-agent | Agent | 20 | 1mo ago | MIT | A | 299 | Claude Code |
| explorer-rag-cliHumanBean17/jrag | Agent | 9 | 2mo ago | MIT | A | 147 | Claude Code |
| Agents Directoryruvnet/flow-nexus | Agent | 108 | 25d ago | none | A | 17 | Claude Code |
| mobile-app-engineerFluxonLab/Skillry | Agent | 13 | 3d ago | none | A | 22 | Claude Code |
| docs-lookupmasrisystems/dot-agents | Agent | 0 | 18d ago | none | A | 47 | Claude Code |