doctor
它能做什么
这个技能帮助你查找并修复 Paradev 应用及其命令行中的问题。适合 Paradev 设置损坏或卡住的人。
适用场景
- ✓当 Paradev 无法连接,或某个主机显示为离线时。
- ✓当终端无法连接,或应用似乎卡住时。
- ✓当你需要在报告之前修复更新或登录问题时。
技能链接
https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/doctor/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“Paradev 显示我的主机离线。请找出原因,并逐步修复。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会对服务状态、登录、主机列表和版本进行只读检查,然后将发现的内容与已知问题进行匹配。它每次只更改一项,并在每次更改后进行检查。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Paradev Doctor
paradev is an alias for the superset CLI: every superset command here also runs as paradev.
Diagnose first, change one thing at a time, verify after each change.
1. Snapshot (read-only, run in parallel, tolerate failures)
superset statusfor host service healthsuperset auth whoamifor auth and the active orgsuperset hosts listfor host reachabilitysuperset --version
2. Match known signatures
| Signature | Fix |
|---|---|
whoami fails / session expired |
superset auth login |
| Host shows offline | superset hosts wake <id>; confirm the machine is awake and online |
| Host service not running | superset start |
A host set up with superset hosts add is offline or broken |
re-run superset hosts add <ssh-target>; it checks each step and fixes only what is wrong. On Linux its log is ssh <ssh-target> journalctl --user -u superset-host -n 50 |
hosts add cannot reach or set up the machine |
confirm ssh <ssh-target> works from here, the remote is macOS or glibc Linux (x64 or arm64; Alpine and Windows are not supported), and it has curl |
Private repos will not clone on a host added with hosts add |
sign in GitHub there: ssh -t <ssh-target> gh auth login (install gh first if missing) |
| Linux host stops when the user logs out of it | enable lingering on that machine: loginctl enable-linger |
hosts add stops on an empty or invalid /etc/machine-id (cloned VM or container image) |
on that machine, sudo rm -f /etc/machine-id && sudo systemd-machine-id-setup, then re-run hosts add. The user runs this, since it needs sudo on their box |
superset pages publish in a Paradev terminal fails with "Not a member of organization" |
superset update; newer CLIs use the desktop app's account inside its terminals |
| CLI and desktop app version mismatch, or stale CLI | superset update |
workspaces, agents, or terminals inside a local workspace fails with "No cloud workspace … in this organization" |
the account has cloud workspaces, so these default to the cloud; add --local (or --host <id>) |
| An agent in a cloud workspace keeps an old sign-in after reconnecting Claude or Codex | superset workspaces restart <id>; it ends every terminal and agent there, so ask first |
| A cloud workspace was archived by mistake | superset workspaces unarchive <id>; within 7 days it keeps its disk, after that it starts fresh from its environment |
| App-side misbehavior (macOS) | read the newest entries in ~/Library/Logs/Superset/main.log for errors |
Propose the matching fix and get the user's go-ahead before running anything that changes state. Never delete data as a "fix".
3. Verify
Re-run the originally failing action. If it works, say exactly what was wrong and what fixed it.
4. Escalate with evidence
If unresolved, offer to file it with the feedback skill and carry over the collected diagnostics (versions, status output, the relevant log excerpt) so the report arrives pre-triaged. Ask before including any log content; logs can contain paths and project names.
常见问题
在检查之前它会做任何更改吗?
不会。第一步是只读快照,只有匹配到已知问题后才会进行更改。
如果问题不在已知列表中怎么办?
该技能可能会建议你发送反馈,当修复方法不明确时,这是下一步。
它会需要我登录吗?
有时需要。如果会话已过期,该技能会告诉你重新登录。
详情
作者的原始描述
Diagnose and fix Paradev (formerly Superset) problems such as connection failures, offline hosts, terminals not attaching, auth or update issues. Use when the user reports something broken or misbehaving in Paradev itself ("Paradev won't connect", "my host shows offline", "terminal won't attach", "the app is stuck"), before filing feedback.
repo: ParadevAI/Paradev
热度
- GitHub 星标
- 16k
- 排名
- #10862
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …