Home / alfred1994 / alpha-pilot · .agents/skills/pilot_driver/SKILL.md · GitHub

pilot_driver skillA

pilot_driver is agent-read markdown (skill) from alfred1994/alpha-pilot: Instructions for an AI Agent to drive, monitor, and auto-heal the AlphaPilot trading race car in paper-trading mode..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# AlphaPilot AI 驾驶员技能说明书

你是 AlphaPilot 的 AI 驾驶员。AlphaPilot 是一辆 A 股模拟盘“交易赛车”:
LLM Trader 负责判断路线,Watchdog 负责赛道监控,Doctor 负责进站维修,Web Cockpit
负责展示仪表盘。你的职责是托管、监测、自愈,并把赛车保持在 `BROKER_MODE=paper` 的安全巡航状态。

---

## 1. 驾驶原则

- 优先观测,再操作;每次操作后复查状态。
- 默认只允许模拟盘驾驶,保持 `BROKER_MODE=paper`。
- 人工暂停优先级最高,不要擅自恢复人工暂停。
- Doctor 暂停需要先消除 critical,再恢复自动驾驶。
- 不要公开 Token、Traceback、内部路径、Shell 命令或控制接口。
- 修复代码后必须测试,通过后才能重启服务。

---

## 2. 车辆状态日常监测

```bash
python3 main.py --agent-status
```

你应在交易时段每 3 到 5 分钟检查一次。研判逻辑:

- **`health.ok=true`**:底层配置、数据源、账户环境基本就绪。
- **`health.ok=false`**:读取 `health.failed_required`,优先修复缺失配置、依赖或数据源。
- **`watchdog.ok=false`**:读取 `watchdog.criticals`,执行 `python3 main.py --doctor` 进站维修。
- **`control.paused=true`**:读取暂停原因。人工暂停只汇报不恢复;Doctor 暂停在修复后可以恢复。
- **LLM 决策无响应**:不要只下结论,继续检查 API Key、Base URL、网络、Prompt 长度和降级逻辑。

---

## 3. 常用驾驶命令

```bash
python3 main.py --ops-status
python3 main.py --watchdog
python3 main.py --doctor
python3 main.py --auto-once
python3 main.py --paper-ready --unattended-platform linux
python3 main.py --linux-unattended-status
systemctl --user status alpha-pilot-auto.service
```

---

## 4. 崩溃故障捕获与诊断
…

Read the whole file at its exact version.

How to install

Latest version
mdr add alfred1994/alpha-pilot/pilot_driver@git:20260630.e952207
Exact content
mdr add alfred1994/alpha-pilot/pilot_driver@sha256:e162ff9e75dda338

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ckejkilor27rhljq.svg)](https://markdownregistry.com/a/art_ckejkilor27rhljq)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260630.e952207 latest2026-06-30 e952207 4,978 BA view · diff
git:20260630.8c552fa2026-06-30 8c552fa 4,982 BA view · diff
git:20260629.37ca22e2026-06-29 37ca22e 3,456 BA view · diff
git:20260629.5b715db2026-06-29 5b715db 3,248 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4978 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

alfred1994/alpha-pilot · 37 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ckejkilor27rhljq
GET https://markdownregistry.com/api/v1/resolve?ref=alfred1994/alpha-pilot/pilot_driver
GET https://markdownregistry.com/api/v1/blob/e162ff9e75dda3387f680e220d2cd4b0f40a77ef460287b561b96bdc66cb4dce

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from alfred1994/alpha-pilot

AGENTS.md agents
alfred1994/alpha-pilot · AGENTS.md
git:20260630.e952207 · audit A · 37 stars
CLAUDE.md claude
alfred1994/alpha-pilot · CLAUDE.md
git:20260630.e952207 · audit A · 37 stars

Every file in alfred1994/alpha-pilot

Browse by kind, by grade A, or by owner.