Extension Overview
Cowork can take on new abilities without a new version of the app. There are four kinds of addition: Skill, Extension, Injection and Mini App. All four can be packed together into one Cowork package, so one job's skills, code, page scripts and screen travel as one unit.
Cowork package
A Cowork package is one folder that holds what one job needs: a Mini App and its screen, the Extension it brings, the Skills the AI uses and an INSTALL.md with the setup steps for the AI. Injections are scripts inside the Extension.
<package>/
miniapp.json appId, name, version, entry, extension: "extension"
index.html … the Mini App screen
extension/ the Extension: package.json + index.mjs
skills/<name>/ Skills, optional
INSTALL.md setup steps the AI followsIn 0.1.41 Cowork does not yet install a package in one step. Each part goes in its own way, as the sections below say.
Skill
A Skill teaches the AI how to do one kind of job. It is a folder with a SKILL.md file, plus scripts if the job needs them.
- The AI reads it when a request matches. Its scripts run on the Bun runtime that comes with Cowork.
- To turn it on, put it in a skill folder. See Skill.
- Anyone can write one.
Extension
An Extension is a code package that runs in its own background process: a package.json and one entry file.
- In 0.1.41 it registers Connectors. Messages from outside channels, such as WhatsApp, come in and go out through Gateway; a Connector is the part that joins one channel to Gateway.
- With the browser permission it can also put Injections into the websites it names.
- It is kept in
<Cowork home>/extensions/packages/<name>/. It runs only after you approve it in Settings › Extensions. See Extension.
Injection
An Injection is a script that runs inside a web page, apart from the page's own scripts. Use it to read or act on a website's pages.
- An Extension runs it, or you add a website button in Settings › Injections.
- It acts only on the pages it is meant for. See Injection.
Mini App
A Mini App is an app with its own screen that opens in a Cowork tab, for you to use.
- In 0.1.41 only the Mini Apps that come with Cowork exist. You cannot build your own yet. See Mini App.
<Cowork home> is ~/.micromeet-cowork for the released app and ~/.micromeet-cowork_preview for Preview.
Which one to build
- To teach the AI how to do a kind of job, write a Skill.
- To connect an outside message channel to Cowork, write an Extension with a Connector.
- To act inside a website's pages, write an Injection: a script inside an Extension, or a website button.
- An app with its own screen is a Mini App. In 0.1.41 only the Mini Apps that come with Cowork exist.