Unique-AG/ai / unique_sdk/unique_sdk/cli/skills/unique-cli-subagent
unique-cli-subagent
VerifiedInvoke connected Unique spaces/subagents through the unique-cli subagent command. Use when the workspace exposes connected-space tools and you need to delegate a question or task to one of those configured assistants.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.8 KB |
SKILL.md
View on GitHub---
name: unique-cli-subagent
description: >-
Invoke connected Unique spaces/subagents through the unique-cli subagent
command. Use when the workspace exposes connected-space tools and you need
to delegate a question or task to one of those configured assistants.
---
# Unique CLI -- Connected Spaces / Subagents
Use this skill to call a connected Unique space as a tool. Each connected
space is configured by the platform in `.unique-subagents.json`; call it by
the tool name shown in the generated connected-space skill.
## Usage
```bash
unique-cli subagent "<tool_name>" "<message>" \
--chat-id "$UNIQUE_CHAT_ID" \
--assistant-id "$UNIQUE_ASSISTANT_ID"
```
Omit `--message-id`: the CLI resolves the current turn's assistant message ID
from `$UNIQUE_TURN_IDENTITY_FILE` automatically.
## Rules
1. Use the exact tool name from the connected-space skill or from
`.unique-subagents.json`.
2. Send a focused message that contains the subagent-specific task and the
relevant context.
3. Treat the returned text as the connected space's answer. Do not invent
details that are not in the response.
4. If the connected space has references in its text, preserve them exactly.
## Options
| Option | Default | Description |
|--------|---------|-------------|
| `<tool_name>` | required | Name of the configured connected-space tool. |
| `<message>` | required | Prompt sent to the connected space. |
| `--reset-chat` | off | Start from a fresh subagent chat instead of reusing the saved chat. |
| `--json` | off | Print the raw response JSON. |
| `--config` | `.unique-subagents.json` | Override the config path. |
## Prerequisites
The platform sets these environment variables automatically:
```bash
UNIQUE_USER_ID
UNIQUE_COMPANY_ID
UNIQUE_CHAT_ID
UNIQUE_TURN_IDENTITY_FILE
UNIQUE_ASSISTANT_ID
UNIQUE_API_KEY
UNIQUE_APP_ID
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |