Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/chatgpt-coding-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ before use.

Legacy project paths such as `.pi/skills` can be added through `DEVSPACE_SKILL_PATHS` when needed.

Example skills are packaged under `examples/skills/`. The
`examples/skills/executor-local-mcp` skill is a template for using a user's
existing Executor setup from DevSpace shell tools. Copy it into
`~/.devspace/skills` or another active skill directory when ChatGPT should
discover and call local Executor MCP/API integrations.

When `open_workspace` returns matching skills, the model should read the
advertised `SKILL.md` before following that skill.

Expand Down
12 changes: 12 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@ DEVSPACE_SKILL_PATHS="$HOME/.claude/skills,$HOME/company/skills" \
npx @waishnav/devspace serve
```

Example skills are packaged under `examples/skills/`. To teach ChatGPT to use a
local Executor setup for existing MCP/API integrations, copy the packaged skill
into an active skill directory:

```bash
mkdir -p ~/.devspace/skills/executor-local-mcp
cp examples/skills/executor-local-mcp/SKILL.md ~/.devspace/skills/executor-local-mcp/SKILL.md
```

That workflow uses the existing `bash` or `exec_command` tool to run the local
`executor` CLI. It does not add DevSpace bridge tools for every Executor tool.

## Logging

| Variable | Default |
Expand Down
68 changes: 68 additions & 0 deletions examples/skills/executor-local-mcp/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
name: executor-local-mcp
description: Use the user's local Executor CLI to discover and call existing local MCP/API integrations from DevSpace shell tools.
---

# Executor Local MCP

Use this skill when the user asks to use Executor, local MCP tools, or local
integrations such as Obsidian, Zotero, Thunderbird, browser automation, or other
tools configured in Executor.

Executor is already available through the user's terminal. Do not ask DevSpace
for additional bridge tools. Use the existing DevSpace shell tool:

- In minimal or full tool mode, use `bash`.
- In codex tool mode, use `exec_command`.

## Discovery

First confirm Executor is installed and reachable when needed:

```bash
command -v executor
executor service status
```

List configured tool sources:

```bash
executor tools sources
```

Search for candidate tools before calling one:

```bash
executor tools search "zotero collections" --limit 20
```

Describe unfamiliar tools before invoking them:

```bash
executor tools describe zotero.user.default.zotero_list_collections
```

## Calling Tools

Call tools with `executor call`, splitting the dotted tool path into CLI path
segments and passing JSON arguments as the final argument:

```bash
executor call zotero user default zotero_list_collections '{}'
```

Use `user.default` by default for local single-user sources unless the user asks
for a different configured source.

## Safety

Prefer read-only discovery and query tools unless the user explicitly asks for a
mutation. Ask for confirmation before tools that send messages, delete data,
write notes, change app state, open UI actions on the user's machine, or expose
sensitive local content.

If Executor pauses for approval, show the approval URL or resume command to the
user and wait for confirmation before continuing.

Keep normal code work in DevSpace tools. Executor should be used for external
local integrations, not for reading or editing the current workspace.