Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

nano-return-funds纳米回报基金

Agent Skill

nano-return-funds 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

171

周安装

7

GitHub Stars

公开资料未说明

下载量

55
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/casualsecurityinc/xno-skills --skill nano-return-funds

简介

用于处理资金退回与退款流程。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 支持原路返回或多渠道分配方案。
  • 需验证原始交易与用户身份信息。
  • 操作日志必须完整留存备查。nano-return-funds 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 跨境退款可能产生额外手续费。

SKILL.md

Return Funds to Sender

CLI Execution Priority: Do not assume xno-skills is installed globally. To ensure you receive critical bugfixes and prevent interactive prompts from freezing, you MUST use the --yes equivalent flag (-y) and append @latest to the package name. Always use the following order of priority: 1. bunx -y xno-skills@latest <command> 2. pnpm dlx xno-skills@latest <command> 3. npx -y xno-skills@latest <command> For Nano actions, prefer MCP tools first, then xno-skills CLI verbs. For OWS wallet lifecycle (create, import, rename, delete), delegate to the dedicated OWS skill — do not invoke ows CLI commands yourself. *Example:* bunx -y xno-skills@latest wallets or bunx -y xno-skills@latest rpc account-balance <address>
Safety & Best Practices: - State Verification: Always verify an account's state (balance and frontier) via RPC before manually building a block. Do not hallucinate previous hashes. - Command Discovery: Always use --help (e.g., bunx -y xno-skills --help) before guessing CLI subcommands to avoid 'unknown command' errors. - Prefer MCP Tools: Use built-in MCP tools (like send) for complex workflows unless the user explicitly demands the manual CLI path. - PoW Validation: Remember that a signed block without valid Proof of Work (PoW) cannot be broadcast. Ensure PoW is generated. - Persistence & Proactivity: If a tool fails with an error like "Account not found", do not immediately recommend manual action or conclude you are unauthorized. Troubleshoot the protocol state (e.g., check for pending funds) and use the correct tool for that state (e.g., receive to open an account). - No Custom Scripts: NEVER write custom Node.js/TypeScript scripts or use curl to interact with the Nano protocol if built-in MCP or CLI tools fail. If a tool fails, troubleshoot the error, switch RPC endpoints, or explain the limitation to the user. - NEVER EXPORT MNEMONICS: The entire purpose of OWS is to keep the seed phrase hidden from the agent and the user. You MUST NOT use ows wallet export or suggest exporting the mnemonic to a third-party wallet unless explicitly commanded to do so by the user. - Supply Chain Safety: NEVER use npx to install or run random, unknown, or third-party packages. Only use the approved tools provided in this project (xno-skills@latest and @open-wallet-standard/core). If a task cannot be performed with these tools, do not seek external npm packages as a workaround.

When the operator asks you to return funds (e.g., "send it back", "return the XNO", "refund"), follow this workflow carefully.

Core Safety Rule

NEVER guess the refund destination. If there is any ambiguity about where to send funds, ALWAYS ask the operator to confirm.

Workflow

Step 1: Identify what to return

If the request is linked to a payment request:

  1. Call payment_request_refund with the request ID and execute: false
  2. This returns source addresses from received blocks

If no payment request exists:

  1. Call history to see recent transactions
  2. Identify receive transactions and their source addresses

Step 2: Evaluate ambiguity

The system will tell you if the refund target is clear or ambiguous:

Single source (clear):

  • One address sent all the funds
  • Present the address and amount to the operator for confirmation
  • Example: "I received 0.1 XNO from nano_1abc.... Shall I return it there?"

Multiple sources (ambiguous):

  • Different addresses sent funds
  • List ALL candidates with amounts
  • Ask the operator which address to refund to
  • Example: "I received funds from multiple addresses:

1. nano_1abc... — 0.05 XNO 2. nano_3def... — 0.05 XNO Which address should I return funds to?"

No sources found:

  • No received funds to return
  • Tell the operator: "No incoming transactions found to refund."

Step 3: Confirm and execute

After the operator confirms the destination:

  1. Call payment_request_refund with execute: true and confirmAddress: "<confirmed address>"
  2. Or use send directly if not linked to a payment request
  3. Report the send hash and updated balance

Important Rules

  • Always confirm before sending — even if there's only one source
  • Show the full address — don't abbreviate, let the operator verify
  • If the operator says "send it back" without context, check payment_request_list for recent requests, then history for recent receives
  • Partial refunds are OK — if the operator asks to return only part of the funds, respect that
  • Check allowance limits — if spending limits are set, the refund may need operator approval to increase limits first
  • Log everything — all refund operations are tracked in transaction history

Edge Cases

"Return everything"

  1. Check total balance across all wallet accounts
  2. List all accounts with balances
  3. Confirm with operator before draining accounts

"Return to [specific address]"

  1. Validate the address first (validate_address)
  2. Confirm amount
  3. Send directly — no need to match against sources

Allowance blocks the refund

If spending limits prevent the refund:

  • Tell the operator: "The current spending limit prevents this send. Please increase the limit via config_set({maxSendXno: \"...\"}) or confirm you'd like to proceed."

Related Skills

  • nano-request-payment — the inbound counterpart
  • nano-mcp-wallet — wallet operations
  • nano-validate-address — verify addresses before sending

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.4%
按下载量换算21

Claude

29.43%
按下载量换算16

Cursor

18.64%
按下载量换算10

Gemini CLI

10.38%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills