# Skill Center and assistant skills

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Models & AI. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/skills/

## What is Skill Center?

A skill is a bundle of specialized instructions and reference files that a model can load on demand. It is ideal for capturing repeatable workflows, writing standards, project background, and tool instructions so you do not have to paste them into every chat manually.

## Understand scope first

Skills have two layers—**content** and **enablement**: a single Skill installed in Skill Center is shared across assistants in the app, but **installing a skill does not automatically activate it for every assistant**. Each assistant can toggle the same Skill on or off independently on its own Skills tab; only Skills enabled on the current assistant are exposed to the model.

You can also configure enablement in bulk from the skill's side: in the Skill Center list, tap **Enable** or the assistant count on the right side of a skill—or open the skill's **Overview → Enable for assistants**—to check multiple assistants at once, with Select all and Invert selection supported; closing the panel saves automatically. The details page of an installed skill in Skill Market and the success card after creating a skill in chat provide the same entry.

Turning off a skill on one assistant affects only that assistant—it neither deletes the skill nor affects other assistants. Conversely, editing, updating, or deleting the skill itself affects every assistant that has it enabled; if you need different rules, create or duplicate it as a separate skill.

## Where to manage skills

Open **Settings → Assistant capabilities → Skill Center** to create, edit, or delete skills. Tap **Skill Market** at the top of the list to browse skills; use the top filters to show only enabled, disabled, or updatable skills, and use header search to find skills by name or trigger description. Tap **+** in the header to create a skill or group, import a `.zip` archive or a `SKILL.md` text file with frontmatter, or install from GitHub (paste a public repository URL, skill subdirectory URL, or `SKILL.md` link).

When importing from GitHub, the app first discovers skills; if a repository holds multiple skills, select the items you want and review the source, attachments, and runtime requirements before installing. Installation includes the entire selected skill folder and its attachments—not just the `SKILL.md` body. Overwriting a skill with the same name requires explicit confirmation, and failed items can be retried individually. After installation, you can pick assistants to enable it on; if launched from the assistant editor, enabling only updates your open edit draft, so remember to save the assistant.

## Preview before installing and complete missing info

On a SkillHub skill details page or an in-chat skill card, tap **View contents** to inspect the skill body, file manifest, and text attachments first. Single text file previews are capped at 1 MB. Assistants with **Find skills** enabled can also read candidate skills before making recommendations based on their body and files. Previewing is read-only and never installs or runs a skill.

When importing a local ZIP or `SKILL.md`, or fetching a SkillHub skill, if the app prompts that name, trigger description, or other details are missing, fill them in on the **Complete skill information** panel to continue. Write one concise sentence clearly describing what the skill does and when to use it.

## Runtime requirements for external skills

**Code Workbench** can execute Python scripts and compatible pure JavaScript CLI tools. Skill details and GitHub import previews list detected commands, packages, and executables missing on your device. Steps that depend on programs such as LibreOffice or Docker should be run on a computer or server that has them installed. If a skill needs an MCP server, add the corresponding server in **Tool Services**.

Deleting a skill simultaneously clears its enabled references across all assistants and cannot currently be undone. Deleted preset skills are not automatically restored on the next launch or version upgrade; to preserve a copy, export a ZIP from Skill Details first so you can re-import it later.

Both standard and large skill packages can be imported for free; downloading and updating from Skill Market also requires no Pro, though signing in and connecting to online services is required. Packages with more than 1,000 files or over 50 MiB uncompressed are recognized as "large skill packages," supporting segmented reading and path-based resource lookup across large knowledge sets. GitHub imports display file counts and size prior to installation. Packages exceeding safety limits or containing overly long paths that the device cannot handle reliably are rejected with advice to trim folders, shorten filenames, or split the package.

## Preset skills

The app provides multiple preset skills that you can enable, edit, or delete as needed. For example, `app-help` can read the Help Center as well as release notes for your installed version and past versions to answer usage or version-change questions or guide skill updates; `grilling` helps clarify plans step by step; "Document to Markdown" converts documents; and "ZIP File Processing" works with Code Workbench to process archives. Word, Excel, and PowerPoint creation and editing are handled directly in Code Workbench with pre-installed document libraries.

These built-in document and spreadsheet capabilities do not require Pro—simply turn on **Code Workbench** in the current chat. Legacy official document and spreadsheet skills have been replaced by Code Workbench, while any versions you customized yourself are retained. See "How do I generate Word, Excel and PowerPoint files?" for exact steps.

## What a skill contains

- **Overview**: Basic details such as skill name and trigger description. The trigger description corresponds to `description` in `SKILL.md` frontmatter, which the model uses to decide whether to load the skill.
- **Body**: The main instructions of the skill, read when the model calls `use_skill`.
- **Files**: Attached reference materials for the skill. You can upload text and document files; documents have their text extracted before being saved into skill files.

A skill package may include `cube-extension.json` declaring version, source, runtime environment, tool dependencies, and required assets, displayed under **Extension requirements** in Overview. The source field is filled in by the author and does not indicate verification or certification. The app checks the manifest and assets; installing never automatically enables tools, connects MCP servers, or installs runtimes. When the model loads a skill, it receives the names of dependencies actually available in the current turn. Python and Node.js are provided by the app's built-in runtimes; skills depending on native extensions, OS subprocesses, or other unadapted capabilities still require a remote environment. Deleting a skill does not delete independently configured MCP connections.

## How to enable a skill for an assistant

Go to **Assistants → Edit assistant → Skills** and turn on the skills you need. The same Skill can be enabled in Assistant A and disabled in Assistant B without duplicating it; you can also tap **Manage** in that area to jump straight to Skill Center.

## Creating or editing skills in chat

First enable **Manage Skills** under **Assistants → Edit assistant → Tools**. Once enabled there, you do not need to check it again in the chat tool picker—simply ask the assistant to "Create a Skill," "Optimize and update Skill X," or "Restore the previous version." The model generates a structured draft card displaying the name, trigger description, body diff, and text attachment changes. The Skill name is a display name accepting any text up to 64 characters; the app generates an internal folder ID automatically without affecting the display name. When editing an existing skill, if the trigger description has not changed, the model can omit that field in its tool call and the draft inherits the saved value. Before confirming, you can edit the trigger description, body, and attachments directly on the card.

**Edit only what needs changing**: For example, say "Change the paragraph in this skill that asks for a table into bullet points, and leave everything else untouched." The assistant can locate the target passage by keywords and submit only the replacement text; editing reads return segments by default so it does not have to read and rewrite the entire skill just to change one sentence. Updating only the trigger description likewise avoids resubmitting an unchanged body. This reduces token consumption during edits, though actual usage still depends on how the model calls the tool and the scope of changes. Partial replacement applies to the main skill body; updates to skill attachments are still handled per file.

**Adjust skills after app updates**: After enabling `app-help` on the current assistant's **Skills** tab and enabling **Manage Skills** on its **Tools** tab, you can say "Read the current version's release notes, check what adjustments my X skill needs, and generate an edit draft." The assistant can search or read in segments the exact same release notes found in **Settings → About Cube Agent → What's New**, cross-referencing help topics and actually available tools. Reading never modifies a skill automatically—all edits still require your draft confirmation.

**Ask about version changes**: With `app-help` enabled, you can also ask "What changed compared to the last version?" or "Which version added this feature?" The assistant reads the same bundled notes shown in **Settings → About Cube Agent → Version History** and quotes the relevant version directly; bundled history covers only up to your currently installed version and does not include newer uninstalled releases.

Confirming a draft saves it directly to Skill Center and allows enabling it for the current assistant; canceling writes nothing. Before every overwrite, the existing content is automatically backed up as the "previous version," and newer confirmed updates overwrite older backups. Restoring the previous version swaps the two versions, so you can switch back if you restored accidentally.

Updating or restoring an existing Skill internally checks whether the underlying content changed meanwhile. If the original file changed during editing, overwriting is halted and the draft card lets you retry based on the latest version. Inside chat, you can add, edit, or delete small text attachments, but you cannot delete an entire Skill or access the internal `.cubeagent` directory—deleting an entire Skill still requires going to Skill Center.

**Manage Skills** is controlled exclusively by the current assistant's tool switch. It governs permission to create, update, or restore shared Skill content—not whether an individual Skill is active. When disabled, even if the assistant has other Skills enabled, it cannot create, update, or restore Skills, and past tool selections in chat history cannot bypass it. Rejecting or canceling a draft never alters any files.

Only skills enabled on the current assistant are exposed to the model. During conversation, the model first sees skill summaries and then calls `use_skill` on demand to read the full body or file contents. Large files are read in segments, and large reference skills can search resources by path keywords first to avoid loading the entire resource directory at once.

## Connecting skill accounts (e.g., ima Knowledge Base)

Some skills require your own account on an external service, such as ima Knowledge Base & Notes. These skills show a connection entry under **Skill Details → Account connection**, and the first time they are used in chat, a **Connect** card also appears beneath the result. Open it, follow the prompt to open the credential page, paste your Client ID, API Key, or other values, and save the connection.

To use **Yuanbao Search · Standard** (a Mainland China search skill), install it under **Search & Research** in Skill Market, open **Account connection** in Skill Details, enter your own Tencent Cloud API Key, and tap **Save and connect**. Once enabled, you can ask the assistant "Use Yuanbao Search to find materials published this week and list the original links." Available sources, quotas, and pricing are governed by the service provider.

- You only enter credentials once. All assistants with that skill enabled share the same connection; when rotating a key, update it once in Skill Details.
- Saved credentials are filled in automatically by the app only when requesting websites declared by that skill (explicitly shown on the card, such as `ima.qq.com`). Neither the AI nor scripts can see the values, and you never need to paste keys into chat.
- Once connected, the conversation resumes automatically. If a key expires or is reset, the AI shows the Connect card again so you can paste the new key.
- If a skill update changes its destination website, the status displays **Confirm again**, and credentials will not be sent automatically until you re-confirm.
- Tapping **Disconnect** on the connection screen removes the global credential for that connection, and all assistants using that skill will need to reconnect before using it again.

## API keys inside skills

When a Skill needs to call an external API, save the token under **Assistants → Edit assistant → Prompt → Variables**, and record only the variable name and authentication format inside the Skill. When the same Skill is shared across multiple assistants, each assistant uses its own variables.

When calling the API, enable **Network requests** and use `http_request` with `credential_env` specifying the variable name and `url` specifying the real HTTPS endpoint; the app reads the current assistant's variable and attaches it to the request header. `credential_header` defaults to `Authorization` and `credential_prefix` defaults to `"Bearer "` (with a trailing space); adjust according to the API specification, and set the prefix to an empty string when passing a raw key in a custom header. Never write tokens into a Skill, chat text, or script.

## What if a legacy skill says `process.env` is empty?

Code Workbench does not inject assistant environment variables. When a legacy skill expects to read variables such as `process.env.ZHIHU_ACCESS_SECRET`, migrate its request step to the host-side credential injection method above; you can run `assistant_env list` first to verify variable names without calling `get` to return secret values to the model or re-entering credentials in chat. Toggling the environment variable tool does not change `process.env` inside scripts.

`getLocalSecret` is not used to read assistant variables—do not attempt to guess `CUBEKEY` numbers. If an API requires using a secret for signature computation or placing it inside the request body, header-based host injection cannot directly replace that, and the skill author will need to adapt to a supported authentication flow.

## Targeting a skill for a single turn

When you have many skills or similarly named ones, type **/** or tap **+ → Skills** in the input box to target a specific skill for that message—see "How do I point AI at a specific file or skill?".

## Notes

Skill reliability depends on the active model's tool-calling capability and instruction adherence. When no skill is explicitly targeted, the model must call `use_skill` first to read the skill body; skills with similar descriptions may be misselected, in which case target the exact skill using the method above.
