← 返回 Skills 市场
kenee

Dietu CLI Agent

作者 Ken · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
113
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mibatt-dietu-cli-agent
功能描述
Use this skill when you need to operate Dietu through its official CLI for A-share market queries, strategy screening, decision workflows, or agent automatio...
安全使用建议
This skill appears to be a coherent Dietu CLI helper, but verify a few things before installing: (1) Ask the publisher to declare the sensitive env vars (DIETU_ACCESS_TOKEN, DIETU_BASE_URL, DIETU_CONFIG_DIR, etc.) in the skill metadata so you know what the skill expects. (2) Confirm the npm package @mibatt/dietu is the official CLI (check its repository/homepage and recent release history) before running global installs. (3) Limit where you store any PAT; prefer least-privilege tokens and CI-specific tokens rather than long-lived full-access tokens in a personal environment. (4) Be careful about DIETU_BASE_URL — an attacker-controlled base URL could redirect requests to malicious endpoints; prefer the official base URL and avoid putting secrets in env vars that may be read by other code. (5) If you will let the agent invoke this skill autonomously, consider restricting token scope or running it in an isolated environment. If the publisher cannot clarify the metadata vs. docs mismatch, treat the skill as untrusted until you can validate the CLI package and required credentials.
功能分析
Type: OpenClaw Skill Name: mibatt-dietu-cli-agent Version: 0.1.0 The skill bundle provides a comprehensive interface for an AI agent to interact with the 'dietu' CLI for A-share market analysis and trading workflows. It includes detailed instructions for authentication via GitHub device flow or Personal Access Tokens (PATs) and documents various command modules such as market queries, research strategies, and trading account management. The instructions in SKILL.md and the reference files are strictly aligned with the stated purpose, focusing on structured output (JSON/Markdown) and diagnostic best practices (e.g., using 'dietu doctor' and 'dietu schema') without any evidence of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
Name/description and the SKILL.md align: this is an instruction-only skill for operating the Dietu CLI (market queries, screening, decision/trading workflows). The commands and usage shown are consistent with that purpose.
Instruction Scope
The SKILL.md and referenced docs explicitly instruct token usage (DIETU_ACCESS_TOKEN), base URL switching (DIETU_BASE_URL), and config dir (DIETU_CONFIG_DIR) and tell the agent to run commands such as 'dietu auth login', 'dietu schema', and various 'dietu' subcommands. However, the skill metadata did not declare any required env vars or config paths. The instructions therefore access runtime context not represented in the declared requirements, which is an incoherence worth flagging. The docs also mention password login as a legacy fallback — that could lead to prompting for credentials if misused.
Install Mechanism
Instruction-only skill with no install spec and no code files; this is low-risk from a write-to-disk perspective. The README recommends 'npm i -g @mibatt/dietu@latest' but the skill itself does not perform that install; the recommendation is reasonable for using the CLI but the source of the package is unknown in the registry metadata (homepage/source absent).
Credentials
The SKILL.md expects and references sensitive environment variables (DIETU_ACCESS_TOKEN, DIETU_BASE_URL, DIETU_PROFILE, DIETU_CONFIG_DIR, etc.) but the skill metadata lists none and declares no primary credential. Requesting or instructing use of a PAT is appropriate for a CLI helper — but the lack of declaration in metadata is an inconsistency. The skill could instruct an agent to read or use tokens that were not signaled up-front.
Persistence & Privilege
always:false and no install actions; the skill does not request persistent/always-on presence or modifications to other skills. Autonomous invocation remains allowed (platform default) but is not combined with other high-risk flags here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mibatt-dietu-cli-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mibatt-dietu-cli-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of mibatt-dietu-cli-agent. - Enables direct operation of Dietu via its official CLI for A-share market workflows. - Supports login through GitHub device flow and Personal Access Tokens (PAT) for automation. - Provides guidance on output formats for various use cases (JSON, markdown, table). - Includes best practices for authentication, command structure, and workflow coverage. - Helps run queries, strategy screening, decisions, and reviews using stable CLI commands.
元数据
Slug mibatt-dietu-cli-agent
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dietu CLI Agent 是什么?

Use this skill when you need to operate Dietu through its official CLI for A-share market queries, strategy screening, decision workflows, or agent automatio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 Dietu CLI Agent?

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

Dietu CLI Agent 是免费的吗?

是的,Dietu CLI Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dietu CLI Agent 支持哪些平台?

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

谁开发了 Dietu CLI Agent?

由 Ken(@kenee)开发并维护,当前版本 v0.1.0。

💬 留言讨论