本文へ移動
cccskills
無料GitHub で公開

aionui-troubleshooting

Diagnose a running AionUi installation: inspect stuck or errored conversations, read provider health, scheduled task state, MCP server health, team member state, backend health, and aioncore logs. Use when the user reports AionUi is misbehaving, a conversation is stuck, an LLM/provider call is failing, a scheduled task did not run, an MCP server has no tools, a team member is hung, or they ask to troubleshoot AionUi.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

AionUi Troubleshooting

Use the bundled aioncore diagnose CLI for read-only troubleshooting. It uses the runtime context injected into the current agent conversation, so do not discover ports or call backend endpoints by hand.

Examples in this skill use English. When reporting findings or writing user content, use the user's language.

Rules

  1. Use only "$AIONUI_HELPER_BIN" diagnose ....
  2. Start with diagnose overview for broad "what is wrong" requests.
  3. Use named diagnose commands first. Use diagnose http get only when no named command covers the diagnostic need.
  4. Treat every command as read-only. To change AionUi configuration, use the separate aionui-config skill.
  5. Never print raw provider, MCP header, token, password, or secret values. The CLI redacts known secret fields by default, but summarize sensitive findings carefully.
  6. A single running snapshot does not prove a hang. Re-check the same conversation and compare runtime fields, message progress, and logs.

Capability Discovery

When unsure which command or stdin fields are available, ask the CLI:

"$AIONUI_HELPER_BIN" diagnose capabilities

The output is the agent-readable contract: domains, command names, stdin JSON fields, selector behavior, redacted fields, and the controlled HTTP escape hatch.

Runtime Context

The main stable selector is the current conversation:

{
  "conversation_id": "current"
}

The CLI resolves "current" from AIONUI_CONVERSATION_ID. Commands that read the backend also use AIONUI_BASE_URL and AIONUI_USER_ID from the same runtime context.

Start Wide

For a vague "AionUi is broken" report, run:

"$AIONUI_HELPER_BIN" diagnose overview

Use the overview to decide where to drill in:

  • providers.unhealthy means inspect provider health.
  • mcp.enabled_but_no_tools means inspect MCP startup/tool registration.
  • cron.failing means inspect scheduled task state. If cron.failing is empty but cron issues are suspected, fall back to diagnose cron summary and check all[].state.last_status directly.
  • running_conversations means inspect the conversation runtime repeatedly.

Commands By Symptom

Conversation Stuck Or Errored

Inspect the current conversation:

"$AIONUI_HELPER_BIN" diagnose conversations get <<'JSON'
{
  "conversation_id": "current"
}
JSON

Inspect a known conversation:

"$AIONUI_HELPER_BIN" diagnose conversations get <<'JSON'
{
  "conversation_id": "conv_123"
}
JSON

Read recent messages:

"$AIONUI_HELPER_BIN" diagnose conversations messages <<'JSON'
{
  "conversation_id": "current",
  "limit": 30,
  "errors_only": true
}
JSON

Interpretation:

  • state=running with is_processing=true is only a suspected hang after repeated checks show no turn_id, runtime, or message progress.
  • state=waiting_confirmation or pending_confirmations > 0 means the turn is waiting for user approval, not hung.

Provider Or Model Failure

"$AIONUI_HELPER_BIN" diagnose providers summary

Look for non-healthy model health, stale last_check, high latency, or an error string. The summary is redacted; do not ask for raw provider JSON unless the named command is insufficient.

Scheduled Task Did Not Run

"$AIONUI_HELPER_BIN" diagnose cron summary

Top-level fields: enabled, name, id. Run-state fields are nested under state: state.last_status, state.last_error, state.run_count, state.retry_count, state.next_run_at_ms, state.last_run_at_ms (timestamps are millisecond epoch integers, not human dates).

MCP Server Has No Tools

"$AIONUI_HELPER_BIN" diagnose mcp summary

An enabled server with tool_count=0 usually means startup failed, the command is unavailable, credentials are invalid, or the server crashed before tool registration.

Team Member Hung

"$AIONUI_HELPER_BIN" diagnose teams summary

Find the member's conversation_id, then drill into that conversation:

"$AIONUI_HELPER_BIN" diagnose conversations get <<'JSON'
{
  "conversation_id": "member_conv_123"
}
JSON

Backend Health

"$AIONUI_HELPER_BIN" diagnose health

Use this to confirm the backend is reachable and read the core version/build metadata.

Logs

Tail logs when the runtime provides AIONUI_LOG_DIR:

"$AIONUI_HELPER_BIN" diagnose logs tail <<'JSON'
{
  "lines": 100,
  "errors_only": true,
  "conversation_id": "current"
}
JSON

If AIONUI_LOG_DIR is unavailable and the user gives a log directory, pass it explicitly:

"$AIONUI_HELPER_BIN" diagnose logs tail <<'JSON'
{
  "log_dir": "/Users/alex/Library/Logs/AionUi",
  "lines": 100,
  "errors_only": true,
  "conversation_id": "conv_123"
}
JSON

Known benign noise: No onPostToolUseHook found for tool use ID warnings can appear around tool calls and are not automatically the root cause.

Controlled HTTP Escape Hatch

Use this only when a named command does not cover the diagnostic read.

"$AIONUI_HELPER_BIN" diagnose http get <<'JSON'
{
  "path": "/api/teams",
  "reason": "Inspect team fields not covered by diagnose teams summary."
}
JSON

Constraints:

  • GET only.
  • Path must be /health or start with /api/.
  • Output is redacted and may be truncated.
  • Prefer adding a named CLI command later if the same raw read becomes common.

Data Source Map

ConcernCommand
Backend alive / versiondiagnose health
Cross-domain snapshotdiagnose overview
Conversation runtimediagnose conversations get
Conversation messagesdiagnose conversations messages
Provider healthdiagnose providers summary
Scheduled jobsdiagnose cron summary
MCP serversdiagnose mcp summary
Teams and member statediagnose teams summary
Logsdiagnose logs tail
Uncovered read-only APIdiagnose http get

Safety Notes

  • This skill diagnoses; it does not repair.
  • For configuration changes, switch to aionui-config.
  • For scheduled task creation or updates, use the cron skill or aionui-config cron commands.
  • When reporting results, explain evidence and uncertainty: "suspected stuck" after one snapshot, "confirmed stuck" only after repeated unchanged snapshots.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Configure AionUi itself with the bundled aioncore CLI. Use when asked to set up or change assistants, assistant rules, skills, MCP servers, model providers, agents, scheduled tasks, or settings.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

Expose the user's local AionUi WebUI to the public internet with a near-zero-effort flow. Detects whether the WebUI is running, guides the user to switch it on if needed (the only manual step), self-installs cloudflared cross-platform, opens a Cloudflare quick tunnel, verifies the public URL actually works, then explains the limitations honestly (temporary/random URL, must stay running, password is the only protection, traffic transits Cloudflare). Use whenever the user wants to reach their AionUi from outside the LAN, over the internet, or share a public link. Distinct from aionui-webui-setup (which covers manual LAN / Tailscale / server config through the settings UI): this skill produces a one-click public link via an automatic tunnel.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

AionUi WebUI configuration expert: Helps users configure AionUi WebUI mode for remote access through the settings interface. Supports LAN connection, Tailscale VPN, and server deployment. Use when users need to set up AionUi WebUI, configure remote access, troubleshoot WebUI issues, or deploy AionUi on servers.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

Create a new conversation for this user with the bundled aioncore CLI. Use when the user asks to open, start, or spin up a new conversation.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

cron

無料

Scheduled task management - create, query, update scheduled tasks to automatically execute operations at specified times.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

mermaid

無料

Render Mermaid diagrams as SVG or ASCII art using beautiful-mermaid. Use when users need to create flowcharts, sequence diagrams, state diagrams, class diagrams, or ER diagrams. Supports both graphical SVG output and terminal-friendly ASCII/Unicode output.

日本語の概要は準備中です。原文の説明を表示しています。

iOfficeAI/AionCore1222026年10月15日 更新

iOfficeAI のスキルをすべて見る

このスキルの問題を報告する