AionUi: Command for Claude Code

.claude/commands/package-assistant.md

package-assistant is a command for Claude Code from iOfficeAI/AionUi. It costs 0 tokens per session (2,135 once invoked), scanned A, original, Apache-2.0.

A command for turning an OfficeCLI skill into an AionUi assistant preset, or updating one that already exists. An assistant preset is a saved configuration for a particular assistant.

In plain words
What is it for?
Use it to package document, spreadsheet, presentation, data-dashboard, or other OfficeCLI skills as AionUi assistants.
Why use it?
It avoids wiring copied skill files, assistant settings, and related resources together by hand.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is iOfficeAI/AionUi's own configuration. It tells Claude Code how to work on AionUi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AionUi configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/veryliu/Documents/GitHub/officecli/skills/.

About the project

AionUi is an open-source coworking application for using and customizing multiple command-line AI assistants, including OpenClaw, Hermes, Claude Code, Codex, and OpenCode. It is for people who want to organize assistants and have them work together.

iOfficeAI/AionUi · 33,895 stars · on GitHub · aionui.com

Reuse

Borrowing it

Nothing to install: this file belongs to iOfficeAI/AionUi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/iOfficeAI/AionUi/main/.claude/commands/package-assistant.md
Clone the repo
git clone --depth 1 https://github.com/iOfficeAI/AionUi

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for package-assistant

README.md
[![agentmods](https://agentmods.dev/badge/commands/iofficeai/aionui/package-assistant/github.svg)](https://agentmods.dev/commands/iofficeai/aionui/package-assistant)
Your own site
<a href="https://agentmods.dev/commands/iofficeai/aionui/package-assistant"><img src="https://agentmods.dev/badge/commands/iofficeai/aionui/package-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for package-assistant

Your own site · 80×15
<a href="https://agentmods.dev/commands/iofficeai/aionui/package-assistant"><img src="https://agentmods.dev/badge/commands/iofficeai/aionui/package-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,135 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02135
Opus 5.5 $0.00000 $0.00854
Sonnet 5.5 $0.00000 $0.00427
Haiku 4.5 $0.00000 $0.00214

Measured 2mo ago against content hash 5a792699a4d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

package-assistant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/package-assistant.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Package OfficeCLI Skill as AionUi Assistant

Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one.

Usage

/package-assistant <skill-name> [assistant-id] [avatar]
  • <skill-name> — Name of the skill directory under /Users/veryliu/Documents/GitHub/officecli/skills/ (e.g. officecli-docx, officecli-pptx, officecli-xlsx, officecli-data-dashboard)
  • [assistant-id] — Optional. ID for the new assistant (defaults to <skill-name>-creator)
  • [avatar] — Optional. Emoji avatar (defaults to auto-selected based on skill type)

Arguments: $ARGUMENTS


Before You Start — Detect Mode

Before doing anything, check whether this skill has already been packaged:

  1. Check if aionui/src/process/resources/skills/<skill-name>/ exists
  2. Check if the assistant-id already appears in assistantPresets.ts
  • Both exist → Update mode: Only re-copy skill files (Step 1). Skip Steps 2–4.
  • Neither exists → New mode: Run all steps (1–5).
  • Skill exists but assistant doesn't (or vice versa) → Run whichever steps are missing.

Step 1 — Copy Skill Files

  1. Read all files from officecli/skills/<skill-name>/ (SKILL.md, creating.md, editing.md, reference/, etc.)
  2. Create target directory at aionui/src/process/resources/skills/<skill-name>/ — directory name must be identical to the officecli source directory name (both repos use the same officecli-xxx naming convention)
  3. Copy all files, but apply these transformations to SKILL.md:
    • Remove version comments: Delete any # officecli: vX.X.X line from inside the frontmatter. AionUi's frontmatter parser (/^---\s*\n([\s\S]*?)\n---/) requires clean YAML — version tracking comments break parsing and skills won't appear in the Skills Center.
    • Verify name field matches directory name: The name field in SKILL.md frontmatter MUST match the skill directory name exactly. Both officecli and aionui use the same directory name (e.g. officecli-docx), so the name field should already be correct. If not, fix it. Mismatches cause: params/name must be equal to one of the allowed values.
    • Keep frontmatter fields: name and description must stay intact
    • Keep BEFORE YOU START section: The officecli install/update check section must be preserved — it's critical for users who don't have officecli installed
  4. Copy creating.md, editing.md, and any other files (reference/ directories, etc.) as-is

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 175 lines · 0 tokens per session scan A 5a792699a4d8

Subscribe to this mod's changes

package-assistant is a command published in the GitHub repository iOfficeAI/AionUi (33,895 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,135 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.