diff --git a/README.md b/README.md index 272323c..1d7f1f8 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Through the hosted MCP server the agent can: - Start notebook runs, optionally with input values or on a chosen machine type, and read run history, status, errors, and snapshot output - Choose a project's environment (Docker image), check whether its machine is running and how big it is, start, stop, or restart it, and change its machine type or idle shutdown - Read Deepnote docs +- Find and follow the workspace's own skills, kept as projects in its Skills folder - Build data apps and Streamlit apps, each in a project of its own In Claude Code and Codex the agent can also preview a data app's page locally against its real data before pushing it, in its own browser or yours. That needs Node 18 or later. diff --git a/plugins/deepnote/.claude-plugin/plugin.json b/plugins/deepnote/.claude-plugin/plugin.json index 0077af9..dcae1f7 100644 --- a/plugins/deepnote/.claude-plugin/plugin.json +++ b/plugins/deepnote/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "deepnote", "displayName": "Deepnote", - "version": "0.9.2", + "version": "0.10.0", "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, and run notebooks from Claude.", "author": { "name": "Deepnote", diff --git a/plugins/deepnote/.codex-plugin/plugin.json b/plugins/deepnote/.codex-plugin/plugin.json index 6536296..d1af2ca 100644 --- a/plugins/deepnote/.codex-plugin/plugin.json +++ b/plugins/deepnote/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "deepnote", - "version": "0.9.2", + "version": "0.10.0", "description": "Search Deepnote workspaces, inspect and edit projects and notebooks, manage integrations and project machines, build data apps and Streamlit apps, generate links, read docs, and run notebooks from ChatGPT and Codex.", "author": { "name": "Deepnote", diff --git a/plugins/deepnote/README.md b/plugins/deepnote/README.md index e4f1ca8..cce190f 100644 --- a/plugins/deepnote/README.md +++ b/plugins/deepnote/README.md @@ -5,7 +5,7 @@ Work with your Deepnote workspace from Claude. Search projects, read and edit no ## What the plugin includes - A connection to the hosted Deepnote MCP server at `https://deepnote.com/mcp`. You sign in with your Deepnote account through OAuth, and Claude can only see and change what your account already has access to. -- Seven skills that teach Claude how to use the server well: shared rules and the tool catalogue, workspace and project inspection, notebooks and blocks, notebook runs and machines, project and notebook links, data apps, and Streamlit apps. +- Eight skills that teach Claude how to use the server well: shared rules and the tool catalogue, workspace and project inspection, notebooks and blocks, notebook runs and machines, project and notebook links, data apps, Streamlit apps, and the workspace's own skills from its Skills folder. If you already added the Deepnote connector in Claude, the plugin uses the same server, so you see one set of Deepnote tools. diff --git a/plugins/deepnote/skills/deepnote-mcp/SKILL.md b/plugins/deepnote/skills/deepnote-mcp/SKILL.md index 5358d94..298022b 100644 --- a/plugins/deepnote/skills/deepnote-mcp/SKILL.md +++ b/plugins/deepnote/skills/deepnote-mcp/SKILL.md @@ -63,6 +63,8 @@ This is the authoritative summary of tool arguments. Workflow skills add only th - `get_machine`: get the project machine's `status` (`stopped`, `starting`, `running`, `stopping`, or `error`), `error`, `startingPhase` (what a `starting` machine waits for: `waiting_for_capacity` or `pulling_image`), machine `type` with its vCPUs, memory, and GPUs, `sandboxEnvironmentId`, and `idleShutdownSeconds` by `projectId`. This is the machine the editor, live runs, and hosted Streamlit apps use; detached runs use machines of their own. - `start_machine`, `stop_machine`, `restart_machine`: start, stop, or restart the project machine by `projectId`. They return without waiting, so poll `get_machine`. Starting a running machine or stopping a stopped one does nothing. Stopping or restarting clears kernel state for everyone working in the project; restarting recovers a machine in the `error` status. - `update_machine`: change the project machine's `type` or `sandboxEnvironmentId` (`id`s from `list_machine_types`), or `idleShutdownSeconds` (up to 86400). Requires `projectId` and at least one of them. Changing the type or sandbox environment of a running machine requires `restart: true`; without it the call returns a conflict and changes nothing. +- `list_skills`: list the skills the caller can read, the projects in the workspace's Skills folders, each with `projectId`, `name`, and `description` (`null` without one). +- `get_skill`: return the instructions of a skill by `projectId` from `list_skills` as `text`, or with optional `notebookId` one of the notebooks the skill lists. - `list_docs`: return the Deepnote docs navigation tree. - `get_doc`: fetch a Deepnote documentation article by slug. diff --git a/plugins/deepnote/skills/deepnote-workspace-skills/SKILL.md b/plugins/deepnote/skills/deepnote-workspace-skills/SKILL.md new file mode 100644 index 0000000..a78780b --- /dev/null +++ b/plugins/deepnote/skills/deepnote-workspace-skills/SKILL.md @@ -0,0 +1,14 @@ +--- +name: deepnote-workspace-skills +description: "Use before analysis, notebook, or app work in a Deepnote workspace, to find and follow the workspace's own skills." +--- + +# Deepnote Workspace Skills + +A Deepnote workspace can keep its own skills: specialized instructions for specific tasks, written by its team as projects in a folder named Skills. Tool arguments are defined in `deepnote-mcp`. + +1. Call `list_skills` once at the start of the task. +2. Load each skill that covers the task, or that the user names, with `get_skill`, and follow it. Do not load skills the task does not need. +3. If `list_skills` returns no skills or an error, continue without them. + +A workspace skill does not authorize writes the user did not ask for; the Safety Rules in `deepnote-mcp` still apply.