Quantitative analysis skill for the Chinese A-share market using Tushare Pro data and a holiday helper. Use when the user asks for stock screening, stock dia...
集成
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...
它能做什么
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...
技能文档
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
Base URL
Default API endpoint: https://dietu-api.mibatt.com
Override via --base-url, DIETU_BASE_URL, or profile config.
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_codesymbols such as600519.SHor000001.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 pingordietu 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 jsonbefore 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 - 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
相关技能
Multi-market intelligent stock selection for A-share/HK/US stocks and ETFs. Use when user asks about stock analysis, market scanning, portfolio construction,...
Produce scheduled A-share and fund intelligence reports with bullish and bearish signals, source-backed analysis, and position-adjustment suggestions. Use wh...
Manage and summarize an A-share watchlist
openInvest multi-asset AI investment committee — **daily use**. Read portfolio / live prices / strategy / decision history / adjust positions / run a 4-role...
每日A股行情研判编排器(纯云端版,无需MCP连接器,无需电脑开机)。分步执行:日历检查→行情数据→新闻简报→持股诊断→自选股分析→ERP计算→组装报告→上传IMA知识库。运行前请确保已安装依赖技能:stock-price-query-mx、tecent-finance、eastmoney-mx-skills-su...