Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计提醒

mobilemobile 搜索

Agent Skill

mobile 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

343

周安装

14

GitHub Stars

4

下载量

111
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mobile(mobile 搜索)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/mobile
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill mobile
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill mobile

简介

该技能用于移动应用开发指导,涵盖原生与跨平台框架选型建议。

  • 适用于 App Store 合规审查、UX 设计规范及性能优化等场景。
  • 通过 GitHub 仓库安装,适用于 Codex、Claude、Cursor、Gemini CLI。
  • 需区分 iOS/Android 平台特性,避免通用方案导致审核失败。
  • 推荐结合具体 SDK 文档进行深度定制开发。

SKILL.md

mobile

Purpose

This skill helps OpenClaw assist in mobile app development by evaluating native (e.g., Swift for iOS, Kotlin for Android) vs. cross-platform (e.g., React Native, Flutter) approaches, ensuring compliance with app store guidelines (e.g., Apple's App Store Review Guidelines, Google Play Policies), and applying mobile UX principles like touch-friendly designs and responsive layouts.

When to Use

Use this skill when starting a new mobile project, refactoring existing apps, or optimizing for platforms; for example, when deciding between native for performance-critical apps or cross-platform for faster development. Apply it during design phases for UX audits or when preparing app submissions to avoid rejections.

Key Capabilities

  • Analyze native vs. cross-platform trade-offs: Compare build times, maintenance, and performance using metrics like app size and startup speed.
  • Validate against app store guidelines: Check for issues like data privacy compliance (e.g., GDPR alignment) or in-app purchase rules via automated scans.
  • Enforce mobile UX principles: Generate recommendations for layouts, such as ensuring button sizes > 44x44 pixels for iOS, or using Material Design components for Android.
  • Provide code generation: Output snippets for platform-specific features, like handling permissions in Android Manifest or SwiftUI views.
  • Integration with tools: Query external APIs for real-time guideline updates, e.g., fetching Apple guidelines via unofficial scrapers (not recommended for production).

Usage Patterns

Invoke this skill via OpenClaw's CLI or API by prefixing commands with the skill ID, e.g., openclaw mobile [subcommand]. Always pass required parameters like platform and project type. For decisions, use interactive mode to refine inputs based on user feedback. Example: Pipe outputs to other skills for chaining, like combining with a "testing" skill for automated UX tests. Handle asynchronous operations by checking response status codes.

Common Commands/API

Use the OpenClaw CLI for quick tasks or the REST API for programmatic access. Authentication requires setting $OPENCLAW_API_KEY as an environment variable.

  • CLI Command: openclaw mobile decide --platform ios --type native-vs-cross --factors performance,cost

- Output: JSON with pros/cons, e.g., {"native": "Faster performance but higher cost", "cross": "Shared codebase but potential UI inconsistencies"}. - Code Snippet: response = subprocess.run(['openclaw', 'mobile', 'decide', '--platform', 'android', '--type', 'cross'], capture_output=True) print(response.stdout.decode())

  • CLI Command: openclaw mobile validate --app-path /path/to/app --store apple

- Flags: --store (apple/google) for guideline checks; --app-path for local file analysis. - Code Snippet: import os os.system('openclaw mobile validate --app-path./myapp --store google') # Checks for policies like ad compliance and returns exit code 0 if pass

  • API Endpoint: POST /api/v1/skills/mobile/decide

- Body: JSON like {"platform": "ios", "type": "ux-principles", "query": "button sizing"} - Response: 200 OK with data, e.g., {"recommendation": "Use.frame(width: 50, height: 50) for buttons"}. - Code Snippet: import requests headers = {'Authorization': f'Bearer {os.environ.get("OPENCLAW_API_KEY")}'} response = requests.post('https://api.openclaw.ai/api/v1/skills/mobile/decide', json={"platform": "android"}, headers=headers) print(response.json()['advice'])

  • Config Format: Use YAML for custom profiles, e.g., mobile: defaultPlatform: android uxRules: minButtonSize: 48 Load via: openclaw mobile config --file path/to/config.yaml.

Integration Notes

Integrate by wrapping OpenClaw calls in your build scripts or IDE extensions. For example, in a CI/CD pipeline, add a step like openclaw mobile validate before deployment. If using VS Code, install the OpenClaw extension and bind to keyboard shortcuts. For API integrations, ensure $OPENCLAW_API_KEY is set securely via secrets management. Handle rate limits by caching responses; OpenClaw enforces 100 requests/min, so implement retry logic with exponential backoff.

Error Handling

Common errors include authentication failures (HTTP 401) if $OPENCLAW_API_KEY is missing or invalid—fix by verifying the env var and regenerating keys. For invalid inputs, like unsupported platforms, expect HTTP 400 with details; parse the error JSON and prompt for corrections. Platform-specific issues, e.g., iOS guideline mismatches, return structured errors like {"code": "APP_STORE_101", "message": "Privacy policy missing"}—use try-except blocks in scripts:

try:
    result = requests.post(url, headers=headers)
    result.raise_for_status()
except requests.exceptions.HTTPError as e:
    print(f"Error: {e.response.json()['message']}. Retrying...")

Always log errors with timestamps for debugging, and fallback to default behaviors if API is down.

Graph Relationships

  • Related to: "ios" skill (child node for iOS-specific implementations)
  • Related to: "android" skill (sibling node for Android optimizations)
  • Connected via: "ux-design" cluster (parent for shared UX principles)
  • Links to: "app-store" external resource for guideline references

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.22%
按下载量换算40

Claude

27.35%
按下载量换算30

Cursor

16.93%
按下载量换算19

Gemini CLI

9.6%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills