RTOS

RTOS is a skill for Claude Code, Codex from amap-demo/amap-sdk-skills. It costs 0 tokens per session (8,262 once invoked), scanned A, original, MIT.

An integration assistant for WatchSDK, a map software library for real-time operating systems and smart watches. It covers maps, route navigation, map overlays, adapters, device activation, and Apple Watch integration.

In plain words
What is it for?
It helps with SDK setup, raster and vector map rendering, tiles, zooming, rotation, markers, routes, callbacks, memory and network adapters, SwiftUI, WatchOS, and demo projects.
Why use it?
It gives developers guidance for connecting a watch map SDK to an app instead of requiring them to piece together many platform-specific details.

Skill for Claude CodeCodex

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

Good fit It helps with SDK setup, raster and vector map rendering, tiles, zooming, rotation, markers, routes, callbacks, memory and network adapters, SwiftUI, WatchOS, and demo projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amap-demo/amap-sdk-skills/rtos
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 amap-demo/amap-sdk-skills --skill rtos
Clone the repo
git clone --depth 1 https://github.com/amap-demo/amap-sdk-skills

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 RTOS

README.md
[![agentmods](https://agentmods.dev/badge/skills/amap-demo/amap-sdk-skills/rtos/github.svg)](https://agentmods.dev/skills/amap-demo/amap-sdk-skills/rtos)
Your own site
<a href="https://agentmods.dev/skills/amap-demo/amap-sdk-skills/rtos"><img src="https://agentmods.dev/badge/skills/amap-demo/amap-sdk-skills/rtos/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 RTOS

Your own site · 80×15
<a href="https://agentmods.dev/skills/amap-demo/amap-sdk-skills/rtos"><img src="https://agentmods.dev/badge/skills/amap-demo/amap-sdk-skills/rtos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,262 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.
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.00000 $0.08262
Opus 5 $0.00000 $0.04131
Sonnet 5 $0.00000 $0.01652
Haiku 4.5 $0.00000 $0.00826

Measured 12d ago against content hash 0e9e4a5898ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

RTOS 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 12d 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.

RTOS/SKILL.md · 807 lines

How it starts

The opening of the file, as written. The whole thing — 807 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WatchSDK Agent Skill

RTOS 地图 SDK 接入助手 - 支持栅格/矢量地图渲染与轨迹导航

触发词

当用户询问以下内容时,应触发此 Skill:

SDK 相关

  • WatchSDK、RTOS地图SDK、手表地图SDK、智能硬件地图
  • awk_init、awk_uninit、SDK初始化、SDK接入

地图相关

  • awk_map、地图渲染、创建地图、销毁地图
  • 瓦片、tile、栅格地图、矢量地图
  • 地图缩放、地图旋转、地图中心点
  • awk_map_create_view、awk_map_do_render

覆盖物相关

  • overlay、覆盖物、点标注、线标注、面标注
  • awk_map_add_overlay、awk_map_remove_overlay
  • point_overlay、polyline_overlay、polygon_overlay

导航相关

  • awk_navi、导航、轨迹导航、实时导航
  • 导航回调、导航数据、转向图标
  • awk_init_navi、awk_navi_data

适配器相关

  • adapter、适配器、适配器函数、必需函数
  • memory_adapter、内存适配器
  • file_adapter、文件适配器
  • render_adapter、渲染适配器
  • network_adapter、网络适配器
  • system_adapter、系统适配器
  • thread_adapter、线程适配器
  • tile_file_adapter、瓦片文件适配器
  • AWK_CHECK_ADAPTER_FUNC、适配器检查

iOS 相关

  • iOS 集成、iOS 接入、iOS 适配器
  • Objective-C、Swift 集成
  • CADisplayLink、GCD、主线程
  • .a 静态库、静态库引入
  • Header Search Paths、Library Search Paths

设备与激活

  • 设备激活、awk_activate_device、license
  • device_id、开放平台key

SwiftUI 与 WatchOS 相关

  • SwiftUI 地图视图、GDMapView、AMapMyLocationView
  • 手势处理、拖拽、单点、双击、表冠旋转
  • NavigationLink、视图导航
  • 视图生命周期、onAppear、onDisappear

Demo 与示例

  • WatchSDKDemo、我的地图、导航组件
  • GDWatchEngine、GDMapViewModel
  • 地图场景、MapScene、GDSceneParam
  • 渲染回调、AMapRenderDelegate

坐标相关

  • GCJ02、坐标系、坐标转换
  • 经纬度转屏幕坐标、屏幕坐标转经纬度
  • awk_map_lonlat_to_xy、awk_map_xy_to_lonlat

错误与问题

  • 错误码、初始化失败、激活失败
  • 地图不显示、渲染异常、线程问题
  • 适配器错误、-200、-300、-400、-500、-600、-701、-800
  • 缺失函数、未实现函数

核心能力

WatchSDK 是一个面向 RTOS 设备的轻量级地图 SDK,提供:

  • 地图渲染:栅格/矢量地图显示、缩放、旋转
  • 覆盖物:点/线/面标注
  • 轨迹导航:实时导航数据展示
  • 离线地图:离线数据下载与使用

快速导航

接入指南

文档 说明
快速开始 5分钟完成 SDK 接入
iOS 集成 iOS 平台完整接入指南
iOS Demo 指南 基于 WatchSDKDemo 的功能实现参考
生命周期 初始化、激活、销毁流程
适配器 内存/文件/网络/渲染适配器实现

API 文档

文档 说明
地图操作 创建、控制、渲染地图
覆盖物 点/线/面覆盖物管理
导航 导航初始化与数据回调

Read the full file on GitHub · 807 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. 12d ago First seen · 807 lines · 0 tokens per session scan A 0e9e4a5898ba

Subscribe to this mod's changes

RTOS is a skill published in the GitHub repository amap-demo/amap-sdk-skills (55 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,262 tokens. 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