← Back to Skills Marketplace
kenee

Dietu CLI Agent

by Ken · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
113
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install mibatt-dietu-cli-agent
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mibatt-dietu-cli-agent
  3. After installation, invoke the skill by name or use /mibatt-dietu-cli-agent
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug mibatt-dietu-cli-agent
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.

How do I install Dietu CLI Agent?

Run "/install mibatt-dietu-cli-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dietu CLI Agent free?

Yes, Dietu CLI Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dietu CLI Agent support?

Dietu CLI Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dietu CLI Agent?

It is built and maintained by Ken (@kenee); the current version is v0.1.0.

💬 Comments