package-assistant

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/iofficeai/aionui/package-assistant
Clone the repo
git clone --depth 1 https://github.com/iOfficeAI/AionUi

Made for: Claude Code.

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. Scan, not verified.
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 $0.00000 $0.02135
Opus 5 $0.00000 $0.01068
Sonnet 5 $0.00000 $0.00427
Haiku 4.5 $0.00000 $0.00214

Measured yesterday against content hash 5a792699a4d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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 existUpdate mode: Only re-copy skill files (Step 1). Skip Steps 2–4.
  • Neither existsNew 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. yesterday 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 (32,427 stars, last pushed 3d 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.