Skip to content
Back to skills

Workspaces

ASecurity

List, confirm, or switch the MosoFin workspace for this conversation (maps to the list_workspaces MCP tool). Use when the user asks which workspaces they have, wants to work in a specific workspace, or wants to switch or add workspaces mid-chat.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 6, 2026
ai-agents

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add MosoFin/mosofin-mcp-plugin --skill workspaces --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workspaces?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workspaces
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mosofin-workspaces/badge)](https://www.skillsdirectory.com/skills/mosofin-workspaces)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workspaces
description: List, confirm, or switch the MosoFin workspace for this conversation (maps to the list_workspaces MCP tool). Use when the user asks which workspaces they have, wants to work in a specific workspace, or wants to switch or add workspaces mid-chat.
allowed-tools:
  - mcp__plugin_mosofin_mosofin__list_workspaces
  - mcp__plugin_mosofin_local__list_workspaces
---

# Workspaces — discover and confirm

Wraps the server's `list_workspaces` tool: the mandatory first gate before any
MosoFin data or skill tool. Full spec: `docs/mcp-tool-spec.md` §3.1.

## If MosoFin tools are missing

If `list_workspaces` is not in this session's tool list, or a call returns
`Unknown tool` (e.g. `mosofin.list_workspaces` or
`codex_apps/mosofin.list_workspaces`): the MosoFin **connector is not
connected or not enabled for this chat**. That is not a data-source reconnect.

- Do not invent workspaces or data.
- **Never** say "refresh/reconnect the MosoFin integration".
- Keep the user's request and follow `/mosofin:connect`
  (`skills/connect/SKILL.md`): it gives the one sign-in step for this host
  (Claude Code `/mcp` → Authenticate, Claude Connectors, ChatGPT Apps &
  Connectors, Grok Build), and picks the request back up when the user says
  they're done — no need for them to re-run `/mosofin:workspaces`.

## Steps

1. Call `list_workspaces` with no arguments (discovery).
2. Outcomes:
   - **0 workspaces** — relay the server message; stop.
   - **1 workspace** — auto-confirms server-side. Read the name back and wait
     for an explicit yes before any data tool runs.
   - **2+ workspaces** (`selection_required`) — ask whether the task is
     single- or multi-workspace, then which workspace(s) **by name**. Never
     auto-pick. Confirm with
     `list_workspaces(workspace_ids=[…], mode="single"|"multi")`.
3. To switch or add a workspace later, re-run the same confirm call with the
   new selection.

## Rules

- Refer to workspaces by **name** (and role) only. Never show integer tenant
  ids; show a workspace handle only if the user asks for a machine reference.
- The server is stateless: every later tool call must carry the confirmed
  workspace handle as `workspace_id`, copied exactly as returned (it has no
  fixed prefix). In multi mode, each call takes **one** handle — pick the
  relevant one per call.
- After confirmation, continue with `/mosofin:connections`,
  `/mosofin:list-tools`, or `/mosofin:query-workspace`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.