用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill quantdinger-agent-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | quantdinger-agent-workflow |
| description | >- Use when this capability is needed. |
Use this skill whenever you change code or docs under this repository as a coding agent (Cursor, Claude Code, Codex, or similar), especially:
backend_api_python/ (Flask API, services, routes)docker-compose.yml, scripts/, env.exampledocs/agent/ (keep English only)docs/agent/AGENT_ENVIRONMENT_DESIGN.md - SSOT for three layers: documentation contract -> command contract -> optional HTTP/MCP.docs/agent/AI_INTEGRATION_DESIGN.md - How external AI agents consume QuantDinger as a product (Agent Gateway, scopes, MCP, trading safety). Read this before adding any new endpoint or tool that an AI agent might call.docs/agent/AGENT_QUICKSTART.md - Operator/integrator walkthrough; mirrors the implemented /api/agent/v1 surface.docs/agent/agent-openapi.json - Machine-readable contract; update it whenever you add or change an /api/agent/v1/... route.docs/agent/README.md - Index of agent-facing docs.The Agent Gateway is mounted at /api/agent/v1 by app/routes/agent_v1/.
app/utils/agent_auth.py (@agent_required(scope=...)). Tokens are
hashed at rest in qd_agent_tokens; never log or persist the raw token.app/utils/agent_jobs.py writes to qd_agent_jobs; backtests
and experiment pipelines submit here and clients poll /jobs/{id} or
subscribe to GET /jobs/{id}/stream (SSE: snapshot / progress /
ping / result). Long-running runners can opt in by adding a second
positional on_progress parameter. submit_job will detect it and pipe
events to live SSE subscribers AND persist the latest snapshot.qd_agent_audit.quick_trade.py enforces paper-only by default; live execution
requires both paper_only=false on the token AND env
AGENT_LIVE_TRADING_ENABLED=true. Do not weaken this without explicit ask.mcp_server/ is a thin Python wrapper over R + W + B endpoints (no
trading), with three transports selected by QUANTDINGER_MCP_TRANSPORT: stdio (default,
desktop IDEs), sse, and streamable-http (cloud agents / remote IDEs;
also bind QUANTDINGER_MCP_HOST / QUANTDINGER_MCP_PORT). Add new tools
there only after exposing the underlying capability via REST.QuantDinger-Vue-src/ ships Profile -> My Agent Token
for every logged-in user (src/views/profile/components/ProfileAgentTokens.vue,
API /api/agent/v1/me/tokens). Admins retain /agent-tokens for audit.
API client lives in src/api/agent.js.Do not treat the marketing-heavy root README.md as the only onboarding doc; use it for user install paths and link out.
.env, API keys, or DB passwords. Use env.example patterns and placeholders in examples.docs/STRATEGY_DEV_GUIDE*.md over duplicating long strategy guide text inside agent-only docs.| Area | Path |
|---|---|
| Backend | backend_api_python/ |
| Frontend (prebuilt UI) | frontend/ |
| Compose stack | docker-compose.yml, scripts/ |
| Strategy guides | docs/STRATEGY_DEV_GUIDE.md (and localized variants) |
backend_api_python/tests/; run with python -m pytest tests/ -q from backend_api_python/.tests/test_agent_v1.py (token auth, scopes, rate limit, generator format).README.md (PowerShell or Bash).All new agent-facing prose (this skill, docs/agent/*) must be English so the same material works across locales and tools.
Source: brokermr810/QuantDinger — distributed by TomeVault.