Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

36.8 KB
Raw Blame

title: Skills & Plugins description: Browse plugins, install Skills and hook packages on an agent, add server plugins to a Project, use Skills in a chat, and write your own.

A Skill is a set of reusable instructions that an agent reads when a task calls for it. A hook package is a set of scripts that the harness runs at fixed points of the agent loop. A plugin bundles Skills, a hook package, or both. The built-in plugins make up the plugin library, which the Web App's Plugins page lists together with server plugins, plugins that extend the server rather than an agent.

Browse plugins

  1. In the sidebar, select Plugins.
  2. Browse the lists. Installed plugins comes first and starts folded; select its header to unfold it. It holds the plugin library, followed by the server plugins the current Project asks for. Available lists the server plugins the Project can still add, plus the plugins published to npm that this build does not carry (their row's button is Add to the library).
  3. To narrow the lists, type in the search box, or pick options in the filter column beside them: Categories, Contains and Status. Clear filters clears the picks and the search box. Both lists unfold while a search or filter is active.
  4. Select a library plugin's card to open its details.

Each card shows the plugin's name, a short description, and a line in the form v<version> · updated N days ago · used by N agents. The agent count covers the agents in the current Project that have any part of the plugin installed. The tags below that line give the plugin's category (Office Productivity, Software Development, AI App Development, Agent Company or Other), built in, and how many Skills and hook packages it ships.

The details show the full description, the hook points the plugin's hook package runs at, and a file browser. The tree on the left has one folder per Skill, with its SKILL.md first and its reference files after it, and a Hooks folder for the hook scripts. The preview on the right shows the selected file. Every plugin package this build carries has an entry on the shelf (see Server plugins), so the details also offer View market entry, which opens that package's plugin page.

The buttons on the right of a card:

Button When it appears What it does
Manage installs Always Installs the plugin on an agent, or uninstalls it.
Quick start The plugin ships at least one Skill Opens a new chat draft that uses the Skill. It is available only when the current agent has one of the plugin's Skills installed.
Update An agent's install is behind the library Updates those installs. See Update installed plugins.

Install a plugin on an agent

  1. On the Plugins page, select Manage installs on the plugin's card. The dialog lists every agent in the current Project.
  2. Next to the agent, select Install.

The whole plugin is installed: all of its Skills and its hook package. New conversations pick it up right away. In a conversation already open, the hook package applies from the next turn and the Skills after the next compaction.

To uninstall a plugin, point at Installed next to the agent, select Uninstall, and confirm. Uninstalling deletes the installed Skill and hook files, including any local edits.

Any Project member can install, update and uninstall plugins.

Other ways to install:

  • When you create an agent, pick plugins in the Plugins field of the Create agent dialog. See Agents.
  • The built-in agent default_agent gets the whole library when it is initialized, except plugins marked preinstall: false. The Built-in library table notes which plugins are not preinstalled.
  • To install a Skill or hook package from outside the library, import it on the agent's settings page. See Import a Skill and Import a hook package.

Update installed plugins

New versions of the built-in plugins arrive with Adelie updates. An agent keeps its installed copy until you update it. When an install is behind the library, you see:

  • a red dot on Plugins in the sidebar;
  • a notice at the top of the Plugins page, "Changes detected: N to upgrade", with Update now and Dismiss;
  • an update button on the plugin's card, and an Update button next to the agent in Manage installs.

To update:

  1. Choose what to update:
    • To update every outdated plugin, select Update now in the notice.
    • To update one plugin on every agent, select the update button on its card.
    • To update one plugin on one agent, select Update next to the agent in Manage installs.
  2. Review what the update will touch, then select Update.

[!WARNING] Updating reinstalls the library copy over each agent's installed Skill and hook files. Any local edits are lost, so export a backup first if you need them. See Manage an agent's Skills.

Dismiss hides the notice and the sidebar dot until the library version changes again. The update buttons on the cards stay.

Import, export and delete library plugins

Beside the plugins Adelie ships, the library lists the plugins in the user plugin directory, <data root>/plugins. An admin fills it by importing — from a zip file on this machine, or from a URL the server downloads — and an agent can then install those plugins exactly like a built-in one. A plugin from there carries a User badge.

To import a plugin, select Upload plugin or Download from URL in the page header and fill in the dialog:

  • Upload plugin takes a zip file of at most 14 MB. Download from URL takes a direct zip link, a GitHub repository URL (its default branch), or a directory inside one (…/tree/<ref>/<subdir>), of at most 32 MB.
  • Plugin name is optional. Leave it empty and the plugin is named after the directory inside the archive that holds plugin.json; the server refuses the request rather than inventing a name when plugin.json sits at the very root of the zip, where there is no directory to take one from.
  • The archive has to be a zip carrying a plugin.json. The plugin root is the shallowest directory holding one and everything outside it is ignored, so a whole repository can be handed over and only the plugin inside it is installed. Under the plugin root the caps are 200 files, 5 MB each and 20 MB in total.
  • Both dialogs end with Plugin import rules, which state the accepted sources, the order the name is decided in, the size caps and what happens when the name is taken.

Importing a name a built-in plugin already holds is refused — pick another. Importing a name a user plugin already holds asks you to confirm first, and overwriting replaces every one of its files, local edits included.

The directory belongs to the installation rather than to a Project, and an installed plugin's hook scripts run with the server's own rights, so importing and deleting are an admin's. Exporting is not: Export plugin on a user plugin's card downloads the plugin as a zip, which is also how you take a backup of one.

Delete plugin on the card removes the plugin's directory from disk after a confirmation, and it cannot be recovered. The Skills and hook packages an agent already installed from it are that agent's own copies and stay where they are; uninstall those from Manage installs if you want them gone too.

Writing a plugin of your own? Both dialogs also carry Plugin authoring rules: one directory per plugin named after it, plugin.json and skills/<skill>/SKILL.md inside it, no account details in the plugin, and no credentials in the directory. See Write a Skill and Plugin file format.

Use a Skill in a chat

An agent sees the name and description of every installed Skill, and reads a Skill's full instructions when a task calls for it. To make sure it uses a particular Skill:

  1. In the message box, select Skills, then select one or more Skills. You can also type / followed by the Skill's name to select it.
  2. Type your task and send the message.

The selected Skills appear as chips above the text, and the sent message shows "Using skill: name". If you send the Skills without any text, the message becomes "use the name skill". When a message names a Skill but gives no task, the agent asks what you need before it starts.

The Skills menu lists only the Skills installed on the current agent, and it is unavailable while a Task is running.

Quick start on a plugin's card does the same in one step: it opens a new chat draft with the Skill selected and "use the name skill" filled in, without sending it.

Manage an agent's Skills

To see the Skills installed on one agent, open Agents, select the agent, and open the Skills tab.

  • Each row shows a Skill's name, short description and version, with two actions: Export downloads the Skill as a zip file, and Uninstall deletes its directory.
  • Enable skills controls whether the agent's system prompt lists the installed Skills. With it off, the agent is not told which Skills exist, but Skills you select in a chat still work.
  • Skills prompt is the text that introduces the Skill list in the system prompt. Its {{SKILL_METADATA}} placeholder becomes one line per installed Skill.

The Skills tab has no update action and cannot add plugins from the library. Update and install plugins on the Plugins page.

Import a Skill

You can import a Skill from outside the library in two ways. The first is recommended, because the agent reads and reviews the Skill before installing it.

To import it through a chat:

  1. On the Skills tab, select Import skill.
  2. In Skill source, enter a web page, a GitHub repository or directory, a local path, or an install command from another ecosystem, such as npx skills add <name>.
  3. Select Open a new chat. A new chat opens with the prompt filled in. You can also select Copy prompt to use the prompt elsewhere.
  4. Send the message. The agent reads the source in full, checks that it is safe, and installs the Skill. If the skill-porting Skill is installed, the agent follows its process.

To upload a zip file:

  1. On the Skills tab, select Import skill.
  2. Under Upload a skill zip, select Choose zip file. The zip must hold SKILL.md at its root, or exactly one top-level directory that contains SKILL.md.
  3. If a Skill with the same name is already installed, confirm with Overwrite. Overwriting replaces all of its files.

A zip file can be up to 14 MB, with at most 200 files, 5 MB per file and 20 MB in total after unpacking.

Hook packages

A hook package runs scripts at the agent loop's hook points: every time you send a message, before a tool call, and when a Task ends. For example, the goal plugin's hook package drives goal mode.

Hook packages usually come with a plugin from the library, but any directory under the agent's agent_state/hooks/<name>/ that carries a hooks.json is one: installed from the library, imported from a zip, or written by hand, by you or by the agent itself. The directory name is the package name, and a hand-written manifest is read tolerantly; see Hook package manifest.

A conversation reads the installed packages each time it opens a model context: when it starts, after each compaction, and when it resumes. A package written into the directory therefore runs in new conversations at once, and in a conversation already open from its next compaction. An install, zip import or uninstall through the Web App or the API reaches open conversations sooner, from their next turn, because the server rebuilds the agent's runtimes once they are idle.

To manage one agent's hook packages, open Agents, select the agent, and open the Hooks tab.

  • Enable hooks turns hooks on or off for the whole agent, not one package at a time. With it on, every Session the agent starts runs all installed hook packages. With it off, no Session runs hooks, and the packages stay installed. The change takes effect from the next turn, in open conversations too; a Task that is already running keeps its hooks unless a compaction opens a new context before the Task ends. Only the Project owner can change this switch.
  • Each row shows a package's name, the hook points it runs at, its description and version, with Export and Uninstall.

Import a hook package

To import it through a chat:

  1. On the Hooks tab, select Import hook.
  2. In Hook source, enter a URL, a GitHub repository, a local path, a description of the hook you want, or another tool's hook configuration, such as the hooks block of a Claude Code settings.json.
  3. Select Open a new chat, or Copy prompt.
  4. Send the message. The agent reads the source, reviews every script, and installs the package on this agent.

To upload a zip file:

  1. On the Hooks tab, select Import hook.
  2. Under Upload a hook package zip, select Choose zip file. The zip must hold hooks.json and the scripts at its root, or in exactly one top-level directory. Every command in hooks.json must name a file inside the zip.
  3. If a package with the same name is already installed, confirm with Overwrite.

[!WARNING] An imported hook package takes effect at once. While the agent has hooks on, its scripts run on this machine at every hook point, so import only packages you trust. They run under the conversation's sandbox, the same policy as the agent's commands; with the sandbox off, they have the harness's own permissions.

Server plugins

A server plugin extends the server itself rather than an agent: it is an npm package of server modules, such as a sandbox backend. A Project asks for the server plugins it needs, and the server runs every plugin that any of its Projects asks for, so what a plugin contributes is available to every Project.

On the Plugins page, a server plugin's row shows its package name, description, version and status, with tags for its categories, built in when it ships with Adelie, and its keywords. Select a row to open the plugin's page, with its license, authors, links and documentation. The shelf is complete: the four sandbox backends are hand-written entries, and every plugin package this build carries has one of its own (the library's skills/hooks packages included), with version, description, license, category and keywords read from the package itself. Only a plugin imported on this machine has no entry, and therefore no page.

The shelf has a second side: the plugins published to npm. A package scoped @adelie/ that carries the adelie-plugin keyword appears on the shelf with its next version — no release of Adelie required. The server queries npm for that side (the listing is cached for ten minutes, or two after a failure, in which case the previous one is served; ADELIE_PLUGIN_MARKET=off stops the query altogether — see Configuration). A plugin this build already carries does not gain a second row: the local copy wins for a shared name, because that is the one installed. An entry only the npm side has offers one action, Add to the library: it fetches the package into this machine's plugin directory, after which it is like any other plugin and installing it on an agent is what puts it to work. That step is an admin's, and it is the same path as Download from a URL or npm in the page header.

To add a server plugin to the current Project:

  1. Under Available, select Install on the plugin's row.
  2. Confirm. Adding or removing a server plugin stops the agent runs in progress in every Project.

To remove one, select Remove on its row under Installed plugins, and confirm. The plugin leaves the Project's list; nothing is deleted from disk.

Only admins see Install and Remove. Only plugins that ship with Adelie can be added, so nothing is downloaded. A change applies without restarting the server: the server rebuilds its business surface around the new list, which is why runs in progress stop. Afterwards the row's status reads running, restart to load when the server could not apply the change without a restart, or failed to load with the reason.

The list is the [plugins] table of the Project's config; see Configuration Reference. For the routes, see Server API, and for how the server loads plugins, see Server Boot and Subsystems.

Write a Skill

A Skill is a directory under the agent's agent_state/skills/ that contains a SKILL.md file and any other files the SKILL.md refers to.

  1. Create the directory agent_state/skills/<name>/. The directory name is the Skill's name and must match ^[A-Za-z0-9_-]+$.
  2. In the directory, create SKILL.md: a frontmatter block with name and description, followed by the instructions. See the example below.
  3. Add any other files the SKILL.md refers to, such as a reference/ directory it links to.
---
name: my-skill
description: One-line English description injected into the system prompt.
---

# My Skill

Concrete steps, boundaries and acceptance criteria...

The agent picks up the Skill the next time its system prompt is assembled. A directory without a SKILL.md is not a Skill. Because every read goes straight to the files, you can also edit an installed Skill in place.

A Skill has no icon of its own. An installed Skill or hook package shows the icon of the plugin it came from. One with no plugin icon, such as a Skill you wrote yourself, shows a book for a Skill or a hook for a hook package.

Improve Skills over time

An agent can rewrite its own SKILL.md as part of a Task. Combined with Benchmark evaluation and optimization, this closes the improvement loop; see Self-Improvement. When you change a Skill, set version to today's date with the next sequence number.

Long Tasks can also feed their lessons back. With the continual-learning plugin installed, when a Task ends after more than 30 turns, its stop hook hands a condensed excerpt of the Task to a background subagent. The subagent folds the lasting findings into the relevant SKILL.md files; see The Agent Loop.

Built-in library

The built-in plugins, by category (PLUGIN_CATEGORIES in packages/core/src/plugins/index.ts; the library directory is the source of truth as plugins are added):

Category Plugin Purpose
Office Productivity data-analysis Complete data-analysis tasks with bounded evidence inspection, explicit answer-changing decisions, native artifact handling and final output verification
use-firecrawl Web search and page scraping into clean markdown via the Firecrawl API
use-offerdao Offer岛 (offerdao.ai): search reviewed AI-industry job postings by company, role, location, employment type and recency; publish a JD or post link as a structured posting (personal API key required); browse the AI company directory, interview guides and the daily AI news feed — the last three need no key (not preinstalled; install it from the library when wanted)
use-wps-office An Adelie side panel inside WPS Writer: read, search, replace, insert into and delete from the open document, with the same nine document operations exposed to the Agent as MCP tools (not preinstalled; needs WPS on Windows)
browser-automation Drive the desktop app's Built-in Browser with penguin browser: read pages as simplified HTML or text, act with JavaScript and trusted clicks and typing, and extract data such as Amazon orders, signed in with accounts imported from the system browser
use-bento-slides Author and edit Bento presentations: single-file .bento.html decks whose document is JSON, mapping material to charts, morph transitions and state slides
use-lieflat-charts Turn data into polished, interactive HTML charts — sixty-odd templates across Lupi editorial, Basics, Glance, Maps and the interactive big graphs — and, only when the user asks for it, into a paged HTML/PDF deck or a full-page report; one colour system per deliverable (Mono by default, plus three built-in presets or a custom palette). Ported from the upstream lieflat-charts skill (PolyForm Noncommercial 1.0.0 — see the plugin's LICENSE and NOTICE.md); about 2.5 MB of templates, not preinstalled: install it from the library onto the Agents that draw
use-seedance Turn a prompt into a video with Volcengine Ark's Doubao Seedance models and save it into the workspace — one dependency-free Node script over Ark's asynchronous video-generation API (submit, poll, download), with the key kept in the vault (preinstalled)
use-seedream Turn a prompt — plus up to 14 reference images — into pictures with Volcengine Ark's Doubao Seedream models and save them into the workspace: a group of up to 15 images per call, a layer split (one backdrop plus up to 16 individually editable transparent PNG layers) and transparent backgrounds, with the key kept in the vault (preinstalled)
humanizer Strip AI-writing tells from prose in any language and rewrite it into the register of books, newspapers and encyclopedias (not preinstalled: install from the library when needed)
goal The stop hook behind goal mode: keeps the Session working toward an objective until it is complete, blocked, or out of Token budget (preinstalled)
continual-learning When a Task ends after more than 30 turns, hands its condensed excerpt to a background subagent that folds the durable findings into the agent's Skills (not preinstalled)
csu-mail Manage a Coremail mailbox (CSU student mail, mail.csu.edu.cn): generate a client app password once, then list, search, read and send mail over IMAP/SMTP, with a copy kept in the Sent folder — daily mail work never touches the unified auth portal (not preinstalled)
lesson-video Turn a written script into a narrated vertical lesson video (1080×1920, Douyin / Reels ready) and its cover art: an HTML deck pinned to a timeline, edge-tts voice-over with word-level timing, Playwright frame capture, an ffmpeg mux, edge safe areas left empty for mobile app buttons, a pre-render self-check for overflow and clipping, and publishing copy with at most five tags (not preinstalled: install from the library when needed)
requirements-box Stand up a requirements box: one keyed page where the user files what they want done (edit, withdraw, select several and act in bulk, schedule an item), a scheduled task that wakes the agent to work through it, and a per-round report by mail. The service is one dependency-free Node file (a JSON store, a keyed GET/POST/PATCH API, the page it serves, and a do-it-now button that starts a session), the patrol protocol a markdown file the user can rewrite, and the installer lays both down and registers the schedule (not preinstalled: install from the library when needed)
Software Development software-development Software development end to end, with two Skills: software-engineering (investigate, implement and validate with minimal scope) and web-design (the Penguin visual language for generated web UIs)
use-claude-code Run Claude Code on a remote host over SSH: a persistent expect session, headless -p with the stdin fix, a tmux-driven interactive TUI and multi-turn continuity (not preinstalled: install from the library when needed)
wechat-miniprogram Take a WeChat mini-program from code to published on a headless Linux server: QR login to mp.weixin.qq.com, switching from a public account to the mini-program backend, the AppID and upload key, IP whitelisting, upload with miniprogram-ci, a verified preview QR, the mandatory user-privacy policy, review and release (not preinstalled)
gpu-model-serving Stand up an OpenAI-compatible LLM endpoint on a rented or owned GPU box: pick the instance and where the weights live, take an already-quantized checkpoint, build the pip CUDA toolchain, start serve.sh detached, then verify with SGLang's speculative decoding, prefix caching and tool calling on — with the traps that cost the first attempt written down as symptom, cause and fix (not preinstalled: install from the library when needed)
web-vscode Stand up VS Code in the browser on a server and make it actually usable: code-server bound to loopback, an HTTPS reverse proxy that terminates TLS and passes WebSockets through, the site certificate signed by a local CA, the certificate-trust steps for Windows / macOS / iOS / Android, and the three checks that decide it is done — secure context, service worker, a notebook rendered as cells. It also records the traps that read as "the install is broken": a self-signed certificate clicked through in the browser still cannot run webviews, restricted mode opens a .ipynb as JSON, and 6665–6669 are blocked ports (not preinstalled)
AI App Development agent-development Agent development on Adelie, with four Skills: penguin-sdk (build agent/AI/RAG apps on the SDK, or connect a program to an agent over the Agent API; it asks which way first), unified-llm-api (call model APIs through @prismshadow/agenthub), penguin-config (manage model keys, defaults and Vault secrets) and penguin-orchestration (drive agents, Sessions, costs and schedules from a shell)
model-development Model development on your own hardware, with three Skills: llamafactory (fine-tune), ollama (run local models) and vllm (serve behind an OpenAI-compatible endpoint)
skill-porting Port Skills from external sources (plugin marketplaces, skills.sh registries, GitHub repos or local folders) into the agent after review and normalization
agent-tuning The tuning loop as four Skills: agent-initialization (set an agent up from a requirement), benchmark-design (design and calibrate a capability Benchmark), agent-evaluation (execute and score one isolated case) and agent-optimization (improve the agent from measured results)
Agent Company agent-company The whole toolkit of company mode, with seven Skills: company-setup (create an organization with the user: one question at a time, a summary to confirm, then penguin org create; it never hires or files tickets), company-employee (the protocol every desk and ticket Session follows: trigger blocks, the ticket board, blocking, asking the board before heavy or irreversible work, channel etiquette, budgets), company-ceo (mission to tickets, hiring, Workspace partitioning, review, reporting to the board), company-hr (calendar coverage, hiring and offboarding, evaluation), company-finance (budgets, the daily audit, alerts and pauses), company-research (a research organization's authors and reviewers: freeze the evaluation harness and the metric, run the experiment loop inside a resource envelope the board approved, keep only what improves the metric, and put every claim through a reviewer who tries to break it) and company-mirror (a company of digital twins: one twin per real colleague, bound to that colleague's bot, relaying instead of filing tickets). Not preinstalled: the organization installs it when it creates the CEO and hires employees, and an agent that should be able to create an organization installs it from the library

How it works

This section describes the file formats, naming and versioning rules, loading and installation behind the tasks above.

Plugin file format

A plugin is a directory with a plugin.json manifest and the content it ships:

plugins/<plugin>/
├── plugin.json                # manifest — the plugin's single metadata holder
├── icon.svg                   # the plugin's icon (every built-in plugin ships one)
├── skills/<name>/SKILL.md     # zero or more skills (reference/… alongside)
└── hooks/*.mjs                # at most one hook package: plain Node scripts

plugin.json fields:

Field Meaning
description / description_zh One-line description (English required)
short_description / short_description_zh Card labels (optional; the full description stands in)
version YYYY.MM.DD.N: the date plus a sequence number for that day
category One of office-productivity, software-development, ai-app-development, agent-company; a missing or unknown category lands in "Other"
preinstall Optional; false keeps the plugin out of default_agent's preinstalled set, so it is installed only manually from the library
hooks.stop / hooks.pre_tool_use / hooks.user_prompt The hook package's commands per hook point: [{ "command": "stop.mjs", "timeout": 60 }], paths relative to hooks/, timeout in seconds. A user_prompt command may add "trigger": "prompt" (the default) runs it on every prompt the user submits, "host" only when a host starts the package's flow by name

Plugin naming and versioning

  • The plugin name is its directory name and must match ^[A-Za-z0-9_-]+$.
  • A plugin built around someone else's product carries a use- prefix (use-firecrawl), so the name says what it is for rather than claiming the product.
  • Versions are compared by date, then by sequence number: 2026.08.29.10 follows 2026.08.29.9.
  • The manifest's version is the version of everything the plugin ships. It is separate from the package's npm version, which follows the release. There is no other version scheme.
  • Every plugin is its own npm package, @adelie/<name>, at plugins/<name>/ in the repository. The loader in @adelie/core reads the plugin names from the host package's dependency list and resolves each package through Node. The desktop app declares the same packages as dependencies, and its installer packs them. At runtime the plugin files are the source of truth for library content and are read on every call.

Skill file format

A Skill's directory name is its authoritative name and must match ^[A-Za-z0-9_-]+$; it overrides any name in the frontmatter.

A library SKILL.md has only two frontmatter fields. Everything else lives in plugin.json.

Field Meaning
name Skill name, matching the directory name
description English one-liner injected into the system prompt

The installed copy describes itself. At load time the library regenerates each Skill's frontmatter with the plugin's short_description, short_description_zh and version added, the same way an installed hook package's hooks.json is generated from the manifest, and writes that into agent_state/skills/. Update checks read the installed frontmatter's version, and the Web App reads its short descriptions.

Parsing is tolerant: only key: value scalar lines inside the first --- block count. A version that is neither YYYY.MM.DD.N nor the legacy YYYY-MM-DD.N of an older installed copy reads as empty. An empty version is older than any library version, so the library's copy counts as an update.

Hook package manifest

An installed hook package is the plugin's hooks/ directory, installed as agent_state/hooks/<plugin>/ with a generated hooks.json beside the scripts. The manifest holds the plugin's identity fields (name, description, description_zh, version) and one command list per hook point:

{
  "name": "goal",
  "description": "Goal mode: …",
  "description_zh": "目标模式:…",
  "version": "2026.09.29.1",
  "stop": [{ "command": "stop.mjs", "timeout": 60 }],
  "pre_tool_use": [],
  "user_prompt": [{ "command": "start.mjs", "timeout": 60, "trigger": "host" }]
}

The scripts are plain Node that uses only built-in modules, so they run wherever the harness runs. Each runs as a subprocess that reads JSON on stdin and writes a JSON answer to stdout; The Agent Loop describes the contract. Every top-level Session of the agent consults the installed hook packages at the loop's hook points. The hooks.enabled key in the agent's system_config.yaml holds the Enable hooks switch; when the key is absent, hooks are on.

A user_prompt command runs on every prompt the user submits unless it carries "trigger": "host". A host-triggered command runs only when a host starts the package's own flow by name, through Session.runUserPromptHook. The goal plugin's start.mjs is one: the server runs it when a user starts a goal. See User-prompt hooks and Goal Mode.

A package is not only what an installer writes, so a manifest is read tolerantly:

  • A hook point the manifest leaves out has no commands, the same as [].
  • An entry without a string command, or whose command resolves outside the package directory, is dropped. A timeout that is not a positive number falls back to the default, and so does a trigger other than "prompt" or "host".
  • Display fields that are not strings read as empty, and the directory name is the package name whatever name says.
  • A directory whose hooks.json is missing or is not a JSON object is not a hook package.

[!NOTE] A manifest whose version is a plugin version older than 2026.09.29.1 predates user_prompt commands running on every prompt, so its user_prompt commands that name no trigger are read as "host". This keeps a goal package installed before then from starting a goal on every message; updating the plugin replaces it. When you edit such a package by hand, give each user_prompt command an explicit trigger, or raise the version when the commands should run on every prompt. This reading is kept until 0.3.0.

Progressive loading

Skills load in two steps: the index first, the body on demand.

  • The system prompt's {{SKILLS}} placeholder expands to the Skills prompt, whose {{SKILL_METADATA}} placeholder lists each installed Skill's name and description. Nothing is injected when Enable skills is off or the template has no {{SKILLS}} placeholder.
  • The prompt tells the model to read the matching SKILL.md in full before it follows the Skill. There is no dedicated Skill tool: reading the body is one read_file or shell call; see Tools & Approval.
  • When you select Skills in a chat, the message starts with a [use_skills] block that lists their names. The earlier <use_skills> form is still recognized when old Traces are displayed.

Installation and storage

Installed Skills live under agent_state/skills/<name>/, and hook packages under agent_state/hooks/<name>/. The files are the source of truth: every read goes straight to disk with no cache.

  • Installing a Skill writes its installable SKILL.md (with the regenerated frontmatter), the plugin's icon.svg, and the other files in the Skill directory, keeping subdirectories. A Skill you write or import may include its own icon.svg, which is copied instead.
  • Installing a hook package writes hooks.json, the plugin's icon.svg, and every file under the plugin's hooks/.
  • Each install replaces the whole directory, so reinstalling drops files a newer version no longer ships. Reinstalling is how an installed copy is updated.
  • Uninstalling deletes the whole skills/<name>/ or hooks/<name>/ directory.
  • A running Session keeps the hook packages its current model context opened with; the next context, after a compaction or on resume, reads them again. After a hook package is installed, imported or removed through the Web App or the API, or the Enable hooks switch changes, the server rebuilds the agent's cached runtimes the next time they are idle, so open conversations pick up the change from their next turn.
  • A user plugin is stored at <data root>/plugins/<name>/, laid out like a library plugin package and read on the same terms as one; the library caches nothing, so an imported plugin is in the listing and installable as soon as the import returns. Importing replaces the whole directory in one rename, and deleting removes it, leaving the copies agents already installed untouched.
  • Besides the Web App, plugins can be installed through the SDK.