← 返回 Skills 市场
shaiss

Near Dca

作者 shaiss · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1114
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install near-dca
功能描述
Dollar-cost averaging for NEAR tokens with flexible scheduling, performance tracking, and cancellation support.
安全使用建议
This skill appears to implement the described DCA functionality, but exercise caution before installing or providing secrets. Key points to consider: - Do not supply real private keys to the skill until you verify how the host stores them. The code accepts both config-stored and per-call private_key parameters and README examples show plaintext config values — which is insecure. - The skill's manifest does not declare required credentials even though the code uses account_id/private_key; that mismatch can lead to accidental secret placement in plaintext files. Prefer using OpenClaw's secure credential storage (or hardware wallets / read-only flows) instead of putting keys in config files. - There are inconsistent storage locations in docs and code (~/.near-dca/plans.json vs ./data/dca_state.json). Verify where state will be written on your machine and sandbox the skill (or inspect/modify paths) if you want the data in a specific secure location. - The code simulates swaps (mock price fetch and fake tx hashes) rather than performing real network calls, which is safer for review, but also means you should confirm any production-version network interactions before trusting it with funds. - The packaged test state file appears malformed/duplicated — a sign of sloppy packaging. If you proceed, run the tests in a sandboxed environment first and review the code paths that would perform real network calls or use private keys. If you need this functionality, request from the maintainer that the skill declare required credentials in its manifest, remove plaintext private_key examples from README, support secure credential retrieval, and document exactly where state and history are written.
功能分析
Type: OpenClaw Skill Name: near-dca Version: 1.0.0 The skill is classified as suspicious due to its core functionality requiring direct handling of a user's blockchain private key for executing financial transactions (DCA purchases) in `actions/index.js` and `src/dca-manager.js`. While this capability is plausibly needed for the stated purpose of automating NEAR token purchases and the `README.md` advises secure storage, the direct use of such a high-value credential constitutes a significant inherent risk. There is no evidence of intentional malicious behavior like exfiltration or unauthorized use, nor any prompt injection attempts in the documentation.
能力评估
Purpose & Capability
The code and metadata implement a NEAR DCA manager and associated CLI/actions as described, which legitimately needs account_id and private_key to execute swaps. However, the published manifest (requires.env) declares no required credentials and the SKILL.md/skill.yaml/README disagree about storage paths and configuration keys. Requiring private keys to perform swaps is expected for this purpose, but the skill fails to declare or enforce secure credential handling in its manifest — an incoherence.
Instruction Scope
Runtime instructions and the CLI (scripts/dca.js and SKILL.md) focus on creating/listing/cancelling DCA plans and referencing a local plans file (~/.near-dca/plans.json). The actual manager uses a configurable storage_path (default ./data/dca_state.json) and the README shows storing account_id/private_key in OpenClaw config. The scope is appropriate for DCA, but the documentation/code mismatch about storage locations and where credentials are read from is confusing and could lead to accidental plaintext key storage.
Install Mechanism
This is instruction-only (no install spec). Code files are included in the package and dependencies are minimal (bignumber.js). There are no remote download URLs or extract operations in the provided metadata, so install mechanism risk is low based on available info.
Credentials
The implementation accepts and uses account_id and private_key to perform swaps (DCAManager.executePurchase and NEARIntegration.executeSwap). Yet the skill declares no required environment variables/primary credential and the manifest doesn't require secure credential storage. The README suggests putting private_key in config (a plaintext example). Actions also accept private_key in params, increasing risk of accidental secret exposure. Requesting/using private keys is proportionate to the DCA purpose, but omitting any declared secret requirement and providing examples that encourage insecure storage is a notable mismatch and risk.
Persistence & Privilege
The skill does not request always:true and uses local JSON files for state. It defines a scheduled trigger (*/5 * * * *) that will run the executor periodically — expected for automation but worth noting because scheduled execution combined with private-key usage increases impact if misconfigured. The skill does not modify other skills or system-wide settings in the provided code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install near-dca
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /near-dca 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of near-dca skill: - Provides flexible dollar-cost averaging (DCA) for NEAR tokens. - Supports creating, listing, and canceling DCA plans. - Tracks DCA performance and purchase history. - Allows flexible scheduling (daily, weekly, biweekly, monthly). - Requires DEX integration and scheduling setup for full automation.
元数据
Slug near-dca
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Near Dca 是什么?

Dollar-cost averaging for NEAR tokens with flexible scheduling, performance tracking, and cancellation support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1114 次。

如何安装 Near Dca?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install near-dca」即可一键安装,无需额外配置。

Near Dca 是免费的吗?

是的,Near Dca 完全免费(开源免费),可自由下载、安装和使用。

Near Dca 支持哪些平台?

Near Dca 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Near Dca?

由 shaiss(@shaiss)开发并维护,当前版本 v1.0.0。

💬 留言讨论