aiti-toolbox (Toolbox)
Toolbox (aiti-toolbox)
Every capability a session can use should be visible and within reach in one drawer.
A 🧰 button in the composer toolbar (mobile: the bottom action area of the + sheet) opening a floating panel that browses and invokes everything the session can use.
Six tabs
| Tab | Contents |
|---|---|
| Tools | Built-in tools (bash/read/edit…) + extension-injected aiti_* tools; status dots distinguish active / inactive / scripts-only |
| MCP | MCP tools grouped per server; servers known from config but not connected show as off |
| Skills | pi skills (global / project / npm-installed), with "model invocation disabled" marks and install sources |
| Help | Declarative skills aggregated by aiti-helper, grouped by owning extension |
| Registry | skills.sh aggregate-index search + install from any source (GitHub repos / owner/repo@skill / npm packages / URLs) |
| Actions | The app center embedded as-is — category chips, icon card grid and the toggles view |
The detail pane shows descriptions, parameter schema tables, SKILL.md bodies (loaded on demand) and install sources.
Global search
The top search box searches all six tabs at once: results render as one tree (tab root → group → entry) where every level carries a matched/total badge. Hit branches auto-expand; empty branches grey out and collapse but stay visible, so it is obvious which category has matches. Local tabs filter instantly; registry and actions use server-side search (350ms debounce, Enter to run immediately).
Invoke actions (into the composer, never sent)
Each entry's detail offers per-case action buttons that compose a prompt and prefill the composer:
| Entry | Action | Effect |
|---|---|---|
| Tool (active) | Call | Call bash: lands in the composer, caret at the end — complete it and send yourself |
| Tool (inactive) | Call | Enable the … tool first, then use it for: |
| Skill (normal) | Call | Use the <name> skill: |
| Skill (model invocation disabled) | Run from reference | Read <SKILL.md path> and do the task it describes: |
| Help point | Open helper | Opens the AI Helper dialog with that help point preselected |
| Help point | Run from reference | Read <skill path> and do the task it describes: |
| Registry entry (not installed) | Use without installing | Use the skill without installing it via npx -y skills use <pkg>… |
| Registry entry (not installed) | Install & use | Install the skills package <pkg> and use its skills for: |
| Registry entry (not installed) | Install | Installs directly (global / project scope, same flow as the settings panel) |
| Registry entry (installed) | Call | Use the <name> skill: |
Insertion always appends to the existing draft (never clears, never sends) with a toast; "Copy name" copies the registered name for reuse elsewhere.
Data and switches
- All data comes from existing host APIs (
get_tools,/api/mcp,/api/skills,/api/skills/search|install|check) and cross-extension services (aiti-helper.invoke,aiti-app-center.api/commands,pi-web.composer); the extension has zero server-side logic. - Without a live session the Tools/MCP tabs fall back to the configured built-ins; without a working directory the Skills tab explains what is missing; missing aiti-helper / aiti-app-center only degrades their tabs (soft dependencies).
- Switch: Extension Manager → Toolbox → "Show the toolbox button" (
toolbox.show). - Client-only; the panel follows the aiti-float contract (drag / resize / position persistence / mobile full-screen) with a centered fallback when aiti-float is absent.