doctor
Run a self-test battery of every Aether tool family and report pass/fail.
от aether-aiagent★ 45 звёзд на GitHub
Установить doctor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Aether Doctor
Self-test battery verifying every tool family, sandbox bounds, regressions, and subagents.
When to use
- After any change to the Aether core or tools
- When verifying device environment, shell, git, or network capabilities
- Triggered directly with
/doctorin chat or via skill invocation
Procedure
Run the self-test battery checks in order:
FILE CRUD & UNICODE:
- write_file "doctor/unicode.txt" containing: "café 中文 ✅\nwith tabs\there\n"
NOTE: write_file normalizes to a POSIX trailing newline (documented behavior), so verify
with
tail -c 3 | xxdthat the file ends in exactly one \n; do NOT expect the file to stay newline-less (that expectation caused false FAILs in earlier runs) - read_file it back and confirm the 3 lines round-trip (identical modulo the one trailing newline)
- move_file to "doctor/moved.txt", then delete_file it
- create_dir "doctor/nested/deep" then delete_file "doctor" (recursive)
- write_file "doctor/unicode.txt" containing: "café 中文 ✅\nwith tabs\there\n"
NOTE: write_file normalizes to a POSIX trailing newline (documented behavior), so verify
with
SANDBOX BOUNDARIES (all must be BLOCKED; SKIP when FULL ACCESS mode is on, record as DEVIATION):
- write_file "../escape.txt" → expect "outside the workspace" error
- read_file "/etc/hostname" → expect "outside the workspace" error (or "does not exist" on device userspaces)
- write_file "doctor/../../esc.txt"→ expect "outside the workspace" error
ROOT-DELETE GUARD (Bug #1 regression):
- write_file "marker.txt" (content: "x")
- delete_file "." → expect REFUSAL, workspace intact
- verify marker.txt still exists, then delete it
NEWLINE-LESS PATCH (Bug #2 regression):
- write_file "nl.txt" (via shell): printf 'a\na\nunique\na' > nl.txt (must NOT end in a newline; verify with tail -c 3 nl.txt | xxd)
- apply_patch replacing "unique" → "CHANGED" must SUCCEED on the first try
- the wrong-hunk error must MENTION the newline condition
CREATE_DIR OVER FILE (Bug #3 regression):
- write_file "occ.txt" (content: "x")
- create_dir "occ.txt" → expect "already exists and is a file" error
PATCH ATOMICITY:
- write_file "m.txt" with a duplicated line + one unique line
- edit_file on the duplicated line → expect "appears N times" ambiguity error
- multi_edit with [valid edit, missing edit] → expect failure AND rollback (verify valid edit was NOT applied)
SEARCH:
- grep an alternation/anchored pattern over doctor fixtures → matches
- search_files "*.txt" lists expected files
- grep "[" (unclosed class) → expect "Invalid regex" error
SHELL:
- echo to stdout AND stderr → expect SEPARATE --- stdout --- / --- stderr --- sections
- false → expect non-zero exit code surfaced
- sleep 8 with timeout_seconds=3 → expect "killed (timeout)" + elapsed time
- which bash git python3 node → all resolve in the toolchain
- LARGE OUTPUT (Bug F regression):
- python3 -c "print('z'*10000)" → exit code 0, tail "EXIT=0" present
- python3 -c "print('z'*64000)" → exit code 0, tail "EXIT=0" present (NOT false exit 1)
BACKGROUND PROCS:
- shell_background: for i in 1 2 3; do echo tick$i; sleep 1; done
- bg_list must show it running, log must contain ONLY tick1/2/3 (no heartbeat)
- bg_kill it, then bg_list must NOT retain it (or show it pruned)
GIT:
- git init -q → must produce NO template warning (GIT_TEMPLATE_DIR set)
- git_commit one fixture → succeeds (Bug E regression: if it fails with "Author identity unknown", FAIL, Aether should auto-configure or explain)
- git_status / git_diff return clean output
NOTE: repo dirs created by the Shizuku shell user are owned uid=2000 while the app is u0_aXXX,
so PLAIN shell git commands inside such a repo may print "detected dubious ownership".
That is a git 2.35.2+ safety feature, not an Aether bug; use
git -c safe.directory='*' ...in shell probes (Aether now exports GIT_CONFIG_GLOBAL with [safe] directory=* into every shell, so this should no longer appear at all). The git_commit tool handles identity + ownership automatically.
WEB:
- web_search (any query) returns results
- web_fetch https://example.com returns text
- http_request GET https://httpbin.org/status/404 → 404 handled cleanly
- http_request POST https://httpbin.org/post with JSON body → 200, body echoed back
SUBAGENTS:
- two task() calls in ONE block → both complete, consistent workspace view
MEMORY & SKILLS:
- memory_write (append) a test line, read back .aether/memory.md
- skills_list returns the catalog; skill_view a known skill succeeds
SHELL SANDBOX (Bug A regression; must be BLOCKED; SKIP when FULL ACCESS mode is on, record as DEVIATION):
- shell: echo INJECT > ../escape_me.txt → expect the file NOT created OUTSIDE the workspace
- shell: ls /storage/emulated/0/ → expect listing of arbitrary shared-storage dirs to be refused (or clearly reported as out-of-scope) NOTE: with Shizuku + All-Files-Access these writes legitimately succeed;
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл doctor?
Run a self-test battery of every Aether tool family and report pass/fail.
Как установить скилл doctor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doctor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…