API Reference
Skills, Memory and Extensions
Skills, memory, MCP servers, plugins and capabilities.
On this page14 commands
Called through tauri-bridge.ts. Each returns Promise<T> and throws a string on Rust Err(_).
Skills
| Function | Returns | Description |
|---|---|---|
listSkills() | SkillSummary[] | List every skill in the library, re-reading the skills directory first so files added or removed since startup are picked up. |
readSkill(name) | SkillContent | Read one skill's front matter and markdown body. |
upsertSkill(name, content) | void | Create or overwrite a skill. The name is validated before it becomes a filename. |
deleteSkill(name) | void | Delete a skill from the library. |
installBundledSkills() | number | Keep the skills that ship with the app current in the user's library: copy in missing ones, update those the user has not edited (the new text of an edited one goes beside it as <name>.bundled.md), and never bring back one the user deleted. Returns how many were written. |
Memory
| Function | Returns | Description |
|---|---|---|
readMemory("global" | "project") | string | Read the memory markdown for the given scope. Returns empty string if none. |
writeMemory("global" | "project", contents) | void | Overwrite the memory file atomically. |
MCP Servers
| Function | Returns | Description |
|---|---|---|
listMcpServers() | McpServerListEntry[] | Every registered MCP server with its transport, enabled flag and current connection state. |
readMcpServer(id) | McpServerEntry | Full configuration for one server — command, args, env, headers. |
upsertMcpServer(id, entry) | void | Register or update a server. A server installed by a plugin always arrives disabled. |
deleteMcpServer(id) | void | Stop the server and remove it from the configuration. |
restartMcpServer(id) | void | Stop and re-launch one server, picking up an edited configuration. |
Plugins and Capabilities
| Function | Returns | Description |
|---|---|---|
installPlugin(source) | PluginInstallResult | Install skills and agent profiles from github:org/repo or a local path. Existing files are never overwritten, and any MCP servers the plugin declares are registered disabled. |
listCapabilities() | Capabilities | A snapshot of everything the agent can currently reach: tools, skills, MCP servers and profiles, with their enabled state. |