Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

vagus-mcpvagus MCP 开发

Agent Skill

vagus-mcp 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,245

周安装

526

GitHub Stars

公开资料未说明

下载量

4,292
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:vagus-mcp(vagus MCP 开发)
来源仓库:https://github.com/embodiedsystems-org/vagus-mcp
安装命令:
openclaw skills install vagus-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install vagus-mcp

简介

通过 VAGUS MCP 服务器连接 Android 手机,读取传感器与设备状态。

  • 适用于移动端数据整理、环境监测或物联网原型开发场景。
  • 支持运动、位置、电池、连接状态等多维度信息实时获取。
  • 安装命令为 openclaw skills install vagus-mcp,需在手机端启用调试模式并配对。
  • 涉及隐私数据访问,请遵循最小权限原则并告知用户用途。

SKILL.md

name
vagus
description
Connect to the user's Android phone via the VAGUS MCP server. Read phone sensors (motion, location, environment), device state (battery, connectivity, screen, notifications, clipboard), and act through the phone (haptics, TTS, notifications, clipboard). Use when you need physical-world awareness or need to reach the user through their phone.
metadata
{"openclaw":{"requires":{"bins":["node"]},"emoji":"📱","homepage":"https://withvagus.com"}}

VAGUS - Phone MCP Connection

VAGUS gives you access to the user's Android phone through the Model Context Protocol. You interact with it by running subcommands of the connection script at {baseDir}/scripts/vagus-connect.js.

Note on installation location: The skill must reside in the user OpenClaw skills directory ~/.openclaw/skills/vagus. This directory is persistent and survives OpenClaw updates. System-wide installs to /usr/local/lib/node_modules/openclaw/skills/vagus may be removed during updates and are not recommended.

All commands output one JSON object per line (JSONL). Parse the output to get structured data.

Connection Management

Check if already paired

cat ~/.openclaw/vagus-session.json 2>/dev/null

If the file exists and contains a session_token, you can connect directly. If not, you need to pair first.

Pair with the phone (first time)

Ask the user: "Open the VAGUS app on your phone and tap Generate Code. What's the 6-character code?"

Then run:

node {baseDir}/scripts/vagus-connect.js pair <CODE>

If {baseDir} is not set or the script not found, ensure the skill is installed correctly in ~/.openclaw/skills/vagus (see README).

Output on success:

{"type":"paired","session_token":"...","device_model":"...","vagus_version":"..."}
{"type":"capabilities","resources":[...],"tools":[...]}

Output on failure:

{"type":"error","code":"PAIR_FAILED","message":"..."}

If pairing fails, ask the user to check the VAGUS app is running and generate a new code.

Set agent identity name (required after install/pair)

After a successful pair (or first successful connect on a fresh install), set the device-side agent name to your Identity Name.

Run:

node {baseDir}/scripts/vagus-connect.js call agent/set_name '{"name":"<IDENTITY_NAME>"}'

If you need to clear the stored name:

node {baseDir}/scripts/vagus-connect.js call agent/set_name '{"name":""}'

Connect (already paired)

node {baseDir}/scripts/vagus-connect.js connect

Output:

{"type":"connected","device_model":"...","vagus_version":"..."}
{"type":"capabilities","resources":[...],"tools":[...]}

If the session token is expired or invalid:

{"type":"error","code":"SESSION_EXPIRED","message":"..."}

Delete the session file and re-pair:

rm ~/.openclaw/vagus-session.json

Then ask the user for a new pairing code.

Check status

node {baseDir}/scripts/vagus-connect.js status

Output:

{"type":"status","connected":true,"device_model":"...","active_modules":[...],"subscriptions":[...],"uptime_s":3600}

Or if disconnected:

{"type":"status","connected":false,"last_error":"...","reconnect_attempts":3}

Reading Phone State

Read a resource (one-shot)

node {baseDir}/scripts/vagus-connect.js read vagus://sensors/motion

Output:

{"type":"resource","uri":"vagus://sensors/motion","data":{"ax":0.38801706,"ay":-0.26395237,"az":0.86320007,"gx":0.89825606,"gy":0.7034855,"gz":-0.21225691,"ts":1771626476045}}

Available resources

URIWhat it tells you
vagus://sensors/motionRaw motion telemetry (accelerometer/gyroscope vectors)
vagus://sensors/activityActivity recognition state and confidence
vagus://sensors/activity_recognitionActivity recognition state and confidence (compat alias)
vagus://sensors/locationLatitude/longitude, accuracy, speed, altitude, provider. Requires location permission in app
vagus://sensors/environmentInferred environment context from sensors/activity/connectivity/time, plus supporting evidence
vagus://inference/attentionAttention availability inferred from screen/lock state, activity, charging, and local time
vagus://inference/indoor_confidenceIndoor probability inference from ambient sensors, connectivity, and activity
vagus://inference/sleep_likelihoodSleep likelihood/probability inferred from time, screen/lock state, activity, light, and charging
vagus://inference/notification_timingNotification timing suitability inferred from attention, sleep likelihood, activity, and context
vagus://device/batteryBattery percent and charging state
vagus://device/connectivityNetwork context (transport, validation, metered/roaming, carrier)
vagus://device/screenScreen on/off and lock state
vagus://device/notificationsIncoming notification stream. Requires notification permission in app
vagus://device/clipboardCurrent clipboard text. Requires clipboard permission in app
vagus://session/infoActive modules, device model, Android version, connection time

Always read vagus://session/info first to see which modules are active. If a module is not in active_modules, do not try to read its resource, it will fail with a permission error.

Subscribe to continuous updates

node {baseDir}/scripts/vagus-connect.js subscribe vagus://sensors/motion

This streams updates as they occur, one JSON line per update:

{"type":"update","uri":"vagus://sensors/motion","data":{"ax":0.12,"ay":-0.04,"az":0.98,"gx":0.01,"gy":0.02,"gz":-0.01,"ts":1771626476045}}
{"type":"update","uri":"vagus://sensors/motion","data":{"ax":0.20,"ay":-0.10,"az":0.92,"gx":0.03,"gy":0.05,"gz":-0.02,"ts":1771626477045}}

Unsubscribe:

node {baseDir}/scripts/vagus-connect.js unsubscribe vagus://sensors/motion

How subscribe works in OpenClaw

  • subscribe is a long-running command. The agent should keep the exec process alive while updates are needed.
  • The script emits one JSON object per line (type: "update") on stdout as updates arrive.
  • OpenClaw receives these JSONL lines directly from the running process output stream.
  • To stop streaming, terminate the process (SIGTERM/SIGINT) or run unsubscribe explicitly.
  • Module lifecycle is subscription-driven: modules start when at least one active subscription needs them, and stop when subscriptions end.
  • For inference URIs, accuracy is highest while actively subscribed (stream-warm state). One-off read may be cold-start and less accurate briefly.
  • On reconnect, the server sends a session/reconnect marker that includes sessionId, gap_ms, and ts.
  • After reconnect, each subscribed/re-subscribed resource receives bounded replay (up to last 64 buffered updates since disconnect window), then one fresh snapshot, then normal live updates.

List all available resources

node {baseDir}/scripts/vagus-connect.js list-resources

Acting Through the Phone

Call a tool

node {baseDir}/scripts/vagus-connect.js call <tool-name> '<json-params>'

Output on success:

{"type":"result","tool":"notify","success":true,"data":{...}}

Output on failure:

{"type":"result","tool":"notify","success":false,"error":"PERMISSION_DENIED","message":"..."}

Available tools

haptic/pulse - Single vibration

node {baseDir}/scripts/vagus-connect.js call haptic/pulse '{"durationMs":200}'

Parameters: durationMs (10-5000, optional; default device value)

haptic/pattern - Custom vibration pattern

node {baseDir}/scripts/vagus-connect.js call haptic/pattern '{"pattern":[0,120,80,120]}'

Parameters: pattern (array of integer durations in ms, optional; default device pattern)

speak - Text-to-speech through phone speaker

node {baseDir}/scripts/vagus-connect.js call speak '{"text":"You have a meeting in 10 minutes"}'

Parameters: text (string max 5000 chars, required), language (BCP 47 tag, optional), rate (0.25-2.0, optional), pitch (0.5-2.0, optional), interrupt (boolean, optional)

notify - Push notification

node {baseDir}/scripts/vagus-connect.js call notify '{"title":"Reminder","body":"Check your email"}'

Parameters: title (string max 200 chars, required), body (string max 1000 chars, required)

clipboard/set - Write to clipboard

node {baseDir}/scripts/vagus-connect.js call clipboard/set '{"content":"https://example.com"}'

Parameters: content (string max 10000 chars, required)

sms/send - Send an SMS message

node {baseDir}/scripts/vagus-connect.js call sms/send '{"to":"+15145551212","body":"Running 10 minutes late"}'

Parameters: to (string phone number in local or E.164 format, required), body (string max 2000 chars, required)

intent/open_url - Open a URL in browser

node {baseDir}/scripts/vagus-connect.js call intent/open_url '{"url":"https://withvagus.com"}'

Parameters: url (string http/https URL, required)

calendar/create_event - Create a calendar event on device

node {baseDir}/scripts/vagus-connect.js call calendar/create_event '{"title":"Team Sync","startTimeMs":1771693200000,"endTimeMs":1771696800000,"location":"Zoom","description":"Weekly planning","allDay":false}'

Parameters: title (string max 200 chars, required), startTimeMs (integer Unix epoch ms, optional), endTimeMs (integer Unix epoch ms, optional), location (string max 200 chars, optional), description (string max 2000 chars, optional), allDay (boolean, optional)

agent/set_name - Set device-side agent identity name

node {baseDir}/scripts/vagus-connect.js call agent/set_name '{"name":"OpenClaw"}'

Parameters: name (string, required; set to "" to clear)

List all available tools

node {baseDir}/scripts/vagus-connect.js list-tools

Behavioral Rules

  1. Read vagus://session/info before using any other resource to check what is available.
  2. Do not read location or notifications unless the user's request is relevant to them.
  3. Prefer notify over speak for non-urgent communication.
  4. Check vagus://device/screen before speaking, do not speak if the screen is off and the user might be sleeping.
  5. If a resource read or tool call returns PERMISSION_DENIED, tell the user which capability they need to enable in the VAGUS app. Do not retry.
  6. If connection drops, run status to check. If SESSION_EXPIRED, delete ~/.openclaw/vagus-session.json and ask for a new pairing code.
  7. Do not poll resources in a tight loop. Read when contextually relevant.
  8. For inference resources, prefer a short subscription window when accuracy matters (instead of immediate one-off read after idle).

Troubleshooting

If something is not working, check in this order:

  1. node {baseDir}/scripts/vagus-connect.js status - is WebSocket connected?
  2. cat ~/.openclaw/vagus-session.json - does session file exist?
  3. Ask user: "Is the VAGUS app running? Do you see the persistent notification?"
  4. Ask user: "Is your phone connected to the internet?"
  5. If nothing works: rm ~/.openclaw/vagus-session.json and re-pair with a new code.

Full diagnostics: {baseDir}/references/troubleshooting.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

78.71%
按下载量换算3,378

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills