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

aionui-config

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md13.7 KB

SKILL.md(原文)

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

AionUi Config

Configure AionUi with the bundled agent-facing CLI. Do not discover ports, do not call raw backend paths, and do not depend on tools outside the bundled aioncore binary.

Rules

  1. Use only "$AIONUI_HELPER_BIN" config ....
  2. Never pass, inline, export, echo, or set any AIONUI_... environment variable.
  3. Put all command input in stdin JSON.
  4. Do not use flags for business fields.
  5. Use "$AIONUI_HELPER_BIN" config capabilities when unsure which config command or stdin fields are supported.
  6. Read context before changing the current assistant.
  7. Read before writing, then read back after writing.
  8. Use "assistant_id": "current" when the user asks to change the assistant used by this conversation.
  9. Use "conversation_id": "current" when a command accepts a conversation selector.
  10. Do not show internal ids unless the user needs them for a follow-up operation.
  11. Never reveal provider keys, MCP headers, environment values, or other secrets.
  12. If the CLI fails, report the stable CONFIG_... error from stderr in normal prose and do not claim the change was made.
  13. After assistant changes, explain both persistence and effect timing. Saving and read-back do not mean the current running conversation has reloaded the changed runtime behavior.

Output

Successful commands print a JSON envelope:

{
  "success": true,
  "data": {},
  "meta": {
    "schema_version": 1
  }
}

Failures print one stable error line to stderr. Treat stderr as authoritative.

Capability Discovery

Ask aioncore what this version supports:

"$AIONUI_HELPER_BIN" config capabilities

The result is a JSON envelope whose data.domains[].commands[] entries list supported command paths, input mode, expected stdin fields, selector fields, read-back behavior, destructive behavior, context requirements, and fields redacted from ordinary output.

Context

Read the current user, conversation, assistant, and local runtime context:

"$AIONUI_HELPER_BIN" config context

If data.assistant is null, the current conversation is not backed by an assistant. Ask the user which assistant to edit before changing assistant rules or defaults.

Assistant Change Timing

AionUi persists assistant configuration immediately, but running conversations may keep the assistant snapshot created when the conversation started. Use this timing model when reporting successful assistant changes:

  • Identity fields such as name, description, avatar, and recommended prompts are saved immediately. If the open UI still shows old values, tell the user to refresh or reopen the assistant view.
  • Runtime fields such as agent, default model, default permission, default skills, default MCPs, thought level, and rules apply to new conversations created from that assistant. Do not claim they change the current running conversation.
  • Skills and MCP defaults are not retroactively injected into the current agent runtime. If a tool is already available in the current conversation, it can be used; otherwise the user should start a new conversation with the assistant.

When reporting a successful runtime-field change, say that the change was saved and read back, then state that it will affect new conversations only.

Assistants

List assistants:

"$AIONUI_HELPER_BIN" config assistants list

Inspect the current assistant:

"$AIONUI_HELPER_BIN" config assistants get <<'JSON'
{
  "assistant_id": "current",
  "locale": "en-US"
}
JSON

Examples use English sample text and en-US. For real localized assistant content, use the user's actual locale.

Create an assistant:

"$AIONUI_HELPER_BIN" config assistants create <<'JSON'
{
  "name": "Requirements Analyst",
  "description": "Turn rough product ideas into clear PRDs",
  "agent_id": "2d23ff1c",
  "prompts": [
    "Turn this feature idea into a PRD",
    "Review this PRD and identify confusing parts for new users"
  ],
  "enabled_skills": ["aionui-config"]
}
JSON

Update assistant metadata or defaults:

"$AIONUI_HELPER_BIN" config assistants update <<'JSON'
{
  "assistant_id": "current",
  "locale": "en-US",
  "description": "Updated assistant description",
  "defaults": {
    "permission": {
      "mode": "fixed",
      "value": "plan"
    }
  }
}
JSON

For name, description, avatar, or recommended prompt changes, report that the change is saved and may require refreshing or reopening the UI to see. For agent_id, defaults, enabled_skills, or other runtime defaults (MCP defaults are set via defaults.mcps, not default_mcp_ids), report that the saved change applies to new conversations only.

Enable, disable, or reorder an assistant:

"$AIONUI_HELPER_BIN" config assistants state <<'JSON'
{
  "assistant_id": "current",
  "enabled": true,
  "sort_order": 10
}
JSON

Assistant Rules

Assistant rules are the system prompt that defines assistant behavior.

Read the current assistant rule:

"$AIONUI_HELPER_BIN" config assistants rule read <<'JSON'
{
  "assistant_id": "current",
  "locale": "en-US"
}
JSON

Write the current assistant rule:

"$AIONUI_HELPER_BIN" config assistants rule write <<'JSON'
{
  "assistant_id": "current",
  "locale": "en-US",
  "content": "# Role\nYou are..."
}
JSON

For rule edits, preserve the user's existing useful instructions unless the user explicitly asks to replace them.

After a successful rule write or delete, always tell the user that the rule was saved and read back, but it applies only to new conversations created from this assistant. The current conversation continues using the rule snapshot it started with.

Skills

List available skills:

"$AIONUI_HELPER_BIN" config skills list

Inspect a skill directory before importing:

"$AIONUI_HELPER_BIN" config skills info <<'JSON'
{
  "skill_path": "/absolute/path/to/skill"
}
JSON

Import a skill:

"$AIONUI_HELPER_BIN" config skills import <<'JSON'
{
  "skill_path": "/absolute/path/to/skill-or-parent-or-zip"
}
JSON

Attach skills to an assistant by updating the assistant's full skill list:

"$AIONUI_HELPER_BIN" config assistants update <<'JSON'
{
  "assistant_id": "current",
  "enabled_skills": ["aionui-config", "cron"]
}
JSON

Do not append blindly. Read the assistant first, merge the list locally, then send the full intended enabled_skills value.

Enabled skills are assistant defaults for new conversations. Do not tell the user that newly attached skills are available in the current conversation unless the current runtime already exposes them.

Manage external skill paths:

"$AIONUI_HELPER_BIN" config skills external-paths list
"$AIONUI_HELPER_BIN" config skills external-paths add <<'JSON'
{
  "name": "Team Skills",
  "path": "/absolute/path/to/team-skills"
}
JSON
"$AIONUI_HELPER_BIN" config skills external-paths remove <<'JSON'
{
  "path": "/absolute/path/to/team-skills"
}
JSON

Enable or disable the skills market:

"$AIONUI_HELPER_BIN" config skills market enable
"$AIONUI_HELPER_BIN" config skills market disable

MCP Servers

List MCP servers:

"$AIONUI_HELPER_BIN" config mcp servers list

Create an MCP server:

"$AIONUI_HELPER_BIN" config mcp servers create <<'JSON'
{
  "name": "Local Tools",
  "transport": {
    "type": "stdio",
    "command": "my-mcp-server",
    "args": [],
    "env": {}
  }
}
JSON

Update an MCP server:

"$AIONUI_HELPER_BIN" config mcp servers update <<'JSON'
{
  "server_id": "mcp_123",
  "description": "Updated description"
}
JSON

Test a server configuration:

"$AIONUI_HELPER_BIN" config mcp test-connection <<'JSON'
{
  "name": "Local Tools",
  "transport": {
    "type": "stdio",
    "command": "my-mcp-server",
    "args": []
  }
}
JSON

OAuth helpers:

"$AIONUI_HELPER_BIN" config mcp oauth check-status <<'JSON'
{
  "server_url": "https://mcp.example.com"
}
JSON

Never show MCP headers or stdio env values to the user. CLI output redacts sensitive fields by default.

Providers

List model providers:

"$AIONUI_HELPER_BIN" config providers list

Create a provider:

"$AIONUI_HELPER_BIN" config providers create <<'JSON'
{
  "name": "OpenAI",
  "platform": "openai",
  "base_url": "https://api.openai.com/v1",
  "api_key": "sk-..."
}
JSON

Update a provider:

"$AIONUI_HELPER_BIN" config providers update <<'JSON'
{
  "provider_id": "provider_123",
  "api_key": "sk-..."
}
JSON

Detect protocol, fetch models, or run a provider health check:

"$AIONUI_HELPER_BIN" config providers detect-protocol <<'JSON'
{
  "base_url": "https://api.example.com/v1",
  "api_key": "..."
}
JSON
"$AIONUI_HELPER_BIN" config providers models fetch <<'JSON'
{
  "provider_id": "provider_123"
}
JSON
"$AIONUI_HELPER_BIN" config providers health-check <<'JSON'
{
  "provider_id": "provider_123",
  "model": "gpt-4.1"
}
JSON

Never reveal provider keys. Do not repeat secret values from the user's input.

Settings

Read backend settings:

"$AIONUI_HELPER_BIN" config settings get

Patch backend settings:

"$AIONUI_HELPER_BIN" config settings patch <<'JSON'
{
  "language": "en-US",
  "notification_enabled": true
}
JSON

Supported patch fields: language, notification_enabled, cron_notification_enabled, command_queue_enabled, save_upload_to_workspace. Unknown fields are silently ignored.

Read or update client preferences:

"$AIONUI_HELPER_BIN" config settings client get
"$AIONUI_HELPER_BIN" config settings client put <<'JSON'
{
  "ui.zoomFactor": 1.2
}
JSON

Client preferences are a free-form key-value map. Pass null to remove a key. Ask the user or read back first to discover keys in use — there is no fixed schema.

Agents

List available agents:

"$AIONUI_HELPER_BIN" config agents list

Enable or disable an agent:

"$AIONUI_HELPER_BIN" config agents enable <<'JSON'
{
  "agent_id": "codex",
  "enabled": true
}
JSON

Read or set per-agent overrides:

"$AIONUI_HELPER_BIN" config agents overrides get <<'JSON'
{
  "agent_id": "codex"
}
JSON
"$AIONUI_HELPER_BIN" config agents overrides set <<'JSON'
{
  "agent_id": "codex",
  "command_override": "/absolute/path/to/codex"
}
JSON

Create, update, delete, or try-connect a custom agent:

"$AIONUI_HELPER_BIN" config agents custom create <<'JSON'
{
  "name": "Custom Agent",
  "command": "/absolute/path/to/agent-cli"
}
JSON
"$AIONUI_HELPER_BIN" config agents custom update <<'JSON'
{
  "agent_id": "custom_agent_123",
  "name": "Custom Agent",
  "command": "/absolute/path/to/agent-cli"
}
JSON

Test whether a custom agent binary is reachable (does not persist anything):

"$AIONUI_HELPER_BIN" config agents custom try-connect <<'JSON'
{
  "command": "/absolute/path/to/agent-cli"
}
JSON

Do not reveal agent env values or secret override values.

Scheduled Tasks

For tasks tied to the current conversation, use the cron current commands.

List current conversation tasks:

"$AIONUI_HELPER_BIN" config cron current list

Create a task:

"$AIONUI_HELPER_BIN" config cron current create <<'JSON'
{
  "name": "Daily Summary",
  "schedule": "0 18 * * MON-FRI",
  "schedule_description": "Weekdays at 6:00 PM",
  "message": "Review the conversation context and produce a concise end-of-day summary."
}
JSON

Update a task:

"$AIONUI_HELPER_BIN" config cron current update <<'JSON'
{
  "job_id": "cron_123",
  "name": "Daily Summary",
  "schedule": "0 18 * * MON-FRI",
  "schedule_description": "Weekdays at 6:00 PM",
  "message": "Review the conversation context and produce a concise end-of-day summary."
}
JSON

After a successful create or update, explain the task name and schedule in normal user-facing language. Do not show cron_... ids unless needed.

For global cron job administration, use config cron jobs.

List all cron jobs:

"$AIONUI_HELPER_BIN" config cron jobs list

Create a cron job:

"$AIONUI_HELPER_BIN" config cron jobs create <<'JSON'
{
  "name": "Weekly Report",
  "schedule": { "kind": "cron", "expr": "0 9 * * MON", "tz": "Asia/Shanghai" },
  "message": "Produce the weekly report.",
  "conversation_id": "current",
  "created_by": "user"
}
JSON

The schedule field is a tagged object, not a flat string:

  • { "kind": "cron", "expr": "<cron-expr>", "tz": "<IANA-tz>" } — recurring cron schedule
  • { "kind": "every", "every_ms": <milliseconds> } — fixed interval
  • { "kind": "at", "at_ms": <epoch-ms> } — one-shot at a specific time

conversation_id and created_by are required. message carries the task text. Use "conversation_id": "current" to attach the job to the current conversation.

Update, run, or manage a cron job skill:

Note: cron jobs uses the tagged schedule object (same shape as create). This is different from cron current, where schedule is a flat cron string.

"$AIONUI_HELPER_BIN" config cron jobs update <<'JSON'
{
  "job_id": "cron_123",
  "name": "Weekly Report",
  "schedule": { "kind": "cron", "expr": "0 10 * * MON" }
}
JSON
"$AIONUI_HELPER_BIN" config cron jobs run <<'JSON'
{
  "job_id": "cron_123"
}
JSON
"$AIONUI_HELPER_BIN" config cron jobs skill save <<'JSON'
{
  "job_id": "cron_123",
  "content": "# Skill\nTask-specific instructions."
}
JSON

Safety

Configuration changes affect the user's live app. Keep changes narrow, show what changed in plain language, and avoid exposing raw JSON unless the user asks for implementation detail.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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.

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

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 のスキルをすべて見る

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