Community写作与编辑github.com

mrpulor-gh/nuphus

Nuphus — 本地优先的 AI Agent:真实桌面执行力 + 手机第二块屏幕。Local-first AI agent with real desktop execution and dual-device real-time sync.

nuphus 是什么?

nuphus is a Claude Code agent skill that nuphus — 本地优先的 AI Agent:真实桌面执行力 + 手机第二块屏幕。Local-first AI agent with real desktop execution and dual-device real-time sync.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add mrpulor-gh/nuphus

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

MCP Tool Reference

Load this document via skill_read mcp-tools. WorkAgent should consult it on demand when designing workflows.

Principle

Nuphus connects to external tools via MCP (Model Context Protocol). Each MCP server exposes a set of tools — which can be invoked just like built-in tools in workflows using kind: "mcp" steps:

{ "kind": "mcp", "server": "github", "tool": "search_issues",
  "params": { "query": "repo:nuphus bug", "limit": 5 },
  "capture": { "as": "issues", "as_type": "json" } }

server corresponds to a key in plugin/mcp/servers.yaml, tool is the MCP tool name, and capture.as_type: "json" automatically parses the response. Optional fields include timeout_secs and on_error (supports abort/skip/retry/allow_codes).

Configured Servers

The following list comes from plugin/mcp/servers.yaml. See individual server sections for specific tool signatures.

No MCP servers are currently configured. After configuring a new server in plugin/mcp/servers.yaml, update the "Configured Servers" section of this document.


Tool Discovery

If a new server is configured in servers.yaml but its tools are not listed in this document:

  1. Introspect via tools/list in a workflow:
{ "kind": "mcp", "server": "github", "tool": "tools/list",
  "params": {}, "capture": { "as": "tools", "as_type": "json" } }
  1. Check the {{tools}} variable for the full tool names and inputSchema

Common MCP Server Quick Reference

GitHub (@modelcontextprotocol/server-github)

Environment variable: GITHUB_PERSONAL_ACCESS_TOKEN

ToolDescription
search_repositoriesSearch repositories
search_issuesSearch issues
create_issueCreate an issue
create_pull_requestCreate a PR
get_file_contentsRead file contents
create_or_update_fileCreate or update a file

Postgres (@modelcontextprotocol/server-postgres)

Environment variable: DATABASE_URL

ToolDescription
queryExecute SQL query

Slack (@modelcontextprotocol/server-slack)

Environment variable: SLACK_BOT_TOKEN

ToolDescription
send_messageSend a message
list_channelsList channels
get_channel_historyGet channel history

Filesystem (@modelcontextprotocol/server-filesystem)

Parameter: --directory /path/to/allowed/dir

ToolDescription
read_fileRead a file
write_fileWrite to a file
list_directoryList directory contents
search_filesSearch for files

Design Principles

  • MCP over GUI: When an MCP server exists for the target software, prefer kind: "mcp" — it is faster, more reliable, and does not depend on layout.
  • MCP over system_shell: MCP returns structured JSON, which is more reliable than parsing CLI text output.
  • Degradation path: When an MCP server is unavailable, fall back to system_shell to call the corresponding CLI.

相关技能