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 automation. Covers GitHub device flow login, PAT usage, output formats, and stable command recipes.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mibatt-dietu-cli-agent" with this command: npx skills add kenee/mibatt-dietu-cli-agent

Dietu CLI Agent

Use this skill when the task should be completed through the official dietu CLI instead of web UI clicks or backend-only scripts.

Typical fit:

  • Query A-share market overviews, stock snapshots, indices, or search results
  • Run strategy lists and screening commands
  • Pull decision, trading, and review data from Dietu
  • Set up CLI authentication for human users or automation
  • Produce machine-readable CLI output for another agent or script

Quick rules

  • Prefer the public CLI package: npm i -g @mibatt/dietu@latest
  • For human login, use dietu auth login
  • For automation, prefer a PAT in DIETU_ACCESS_TOKEN
  • For agent consumption, prefer --format json
  • For user-facing pasted output, prefer --format markdown
  • For quick terminal inspection, prefer --format table
  • Use real ts_code symbols such as 600519.SH or 000001.SZ
  • If you do not know the command surface, run dietu schema
  • If connectivity or auth looks suspicious, run dietu doctor

Authentication

Read references/auth.md when the task involves login, token sourcing, base URL switching, or PAT usage.

Important:

  • The primary interactive path is GitHub device flow
  • The recommended automation path is PAT from Settings / Access Tokens
  • Do not invent outdated commands such as dietu ping or dietu mcp start

Command recipes

Read references/commands.md when you need concrete command sequences for:

  • market
  • research
  • decision
  • trading
  • review
  • schema and doctor

Working style

  • Start with the smallest command that can answer the task
  • Add --format json before doing downstream parsing or summarization
  • Preserve the user's chosen --base-url, --profile, or token source
  • For commands that require an account, explicitly provide --account <id>
  • If the task spans multiple CLI calls, keep outputs structured and consistent

Non-goals

  • Do not call internal Python scripts as the primary interface when the CLI already exposes the capability
  • Do not assume browser-only login or password login is the preferred path
  • Do not treat short-lived JWT copied from local profile as the recommended long-term automation credential

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Vnsh Skill

Securely share files using encrypted, expiring vnsh.dev links with the vnsh CLI for uploading and decrypting shared content.

Registry SourceRecently Updated
Coding

Notion

Notion API for creating and managing pages, databases, blocks, relations, rollups, and multi-workspace profiles via the notioncli CLI tool.

Registry SourceRecently Updated
Coding

Lybic Sandbox

Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead.

Registry SourceRecently Updated
1.2K0aenjoy
Coding

Homeassistant Skill

Control Home Assistant devices and automations via REST API. 25 entity domains including lights, climate, locks, presence, weather, calendars, notifications, scripts, and more. Use when the user asks about their smart home, devices, or automations.

Registry SourceRecently Updated
5.1K7anotb