From origo-bc
Guided first-time connection wizard for Origo Business Central. Use this skill when the user types `/origo-bc-setup`, says they want to connect Cowork to Business Central, set up Origo BC, hook up dynamics.is, wire up the BC MCP server, or otherwise establish their first BC tenant inside Cowork. Copies the bundled scripts to `%USERPROFILE%\OrigoBC\`, collects tenant / client / environment details, asks the user to produce the connection blob in their own terminal, then writes a new entry into the Cowork MCP config.
How this skill is triggered — by the user, by Claude, or both
Slash command
/origo-bc:origo-bc-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Walks the user through connecting their first Business Central tenant to
/origo-bc-setup — First-time BC connectionWalks the user through connecting their first Business Central tenant to
Cowork via the Origo MCP endpoint (https://dynamics.is/api/mcp).
The client secret never passes through Claude chat. It is collected only by the PowerShell / Node helper running in the user's own terminal.
Verify Node.js is installed and on PATH. Every bc-* MCP entry
Cowork launches is node <path>\dynamics-is.js ..., so without Node
the connection cannot run.
Creates %USERPROFILE%\OrigoBC\ if missing and copies the three bundled
scripts from the plugin into that folder (dynamics-is.js,
Create-PlainConnectionString.ps1, create-connection-string.js).
Asks the user (one question at a time via AskUserQuestion) for:
bc-<nickname>).Production, UAT).Prints a single ready-to-paste PowerShell one-liner the user runs in
their own terminal. On non-Windows platforms it prints the equivalent
node create-connection-string.js command. These helpers prompt for the
secret with a hidden SecureString / readline prompt and copy the final
dpapi:<...> or plain:<...> value to the clipboard.
Asks the user to paste back the value from the clipboard (just the opaque blob).
Edits the Cowork / Claude Desktop MCP config
(%APPDATA%\Claude\claude_desktop_config.json on Windows) and adds a
new entry:
"bc-<nickname>": {
"command": "node",
"args": [
"<userprofile>\\OrigoBC\\dynamics-is.js",
"<pasted-blob>",
"<default-company-guid>"
]
}
If the user did not provide a default company GUID, omit that argument
— the proxy accepts a missing company and the user can pick one later
with /origo-bc-switch-company.
Tells the user to restart Cowork, then verify with:
mcp__bc-<nickname>__list_companies.
plain:<base64> payload to any service. It
contains the secret in recoverable form.%USERPROFILE%\OrigoBC\dynamics-is.js already exists, ask before
overwriting; otherwise just add the new config entry (use /origo-bc-add-env
for that flow when the install is clearly already present).C:/Users/ori.gunnarge/AppData/Roaming/Claude/local-agent-mode-sessions/a24064d7-8d67-4839-99b7-e2d8f7e2e343/074adcd2-588a-4bff-bde5-f9cf0161d32a/rpm/plugin_018pLNd4CGF8vEEmyztWR7fi to locate the bundled scripts in the plugin;
never hardcode absolute paths.Run node --version via the Bash tool. The command must:
v18.17.0, v20.11.1, v22.x).Parse the output with a regex such as ^v(\d+)\.. If either check fails,
abort immediately before touching the filesystem or the MCP config, and
reply to the user with something like:
I need Node.js 18 or newer to set up Origo BC, because Cowork launches the BC connection through
node dynamics-is.js .... I couldn't find a working Node on PATH (got:<version or error>).Install Node (LTS is fine) from https://nodejs.org/, open a new Cowork session so the PATH refresh is picked up, and re-run
/origo-bc-setup.Quick check in a new terminal window:
node --version
Do not proceed with any other step until Node is confirmed on this run.
On Windows (via Bash tool):
mkdir -p "$USERPROFILE/OrigoBC"
cp "${CLAUDE_PLUGIN_ROOT}/scripts/dynamics-is.js" "$USERPROFILE/OrigoBC/"
cp "${CLAUDE_PLUGIN_ROOT}/scripts/Create-PlainConnectionString.ps1" "$USERPROFILE/OrigoBC/"
cp "${CLAUDE_PLUGIN_ROOT}/scripts/create-connection-string.js" "$USERPROFILE/OrigoBC/"
On macOS / Linux use $HOME/OrigoBC as the destination.
Use AskUserQuestion for each of these (one at a time):
origo.is). Required.Production, UAT). Default: Production.Windows PowerShell (preferred):
cd $env:USERPROFILE\OrigoBC
.\Create-PlainConnectionString.ps1 `
-TenantId '<tenant>' `
-ClientId '<client>' `
-Environment '<env>'
macOS / Linux:
cd ~/OrigoBC
node create-connection-string.js \
--tenant '<tenant>' \
--client '<client>' \
--environment '<env>'
Tell the user the helper will prompt for the secret with hidden input and copy the final value to the clipboard.
Ask the user to paste the value (it starts with either dpapi: or
plain:). Do not print it back. Do not echo it in tool calls that surface
the content to the UI beyond what is strictly required to write it into
the config fi
npx claudepluginhub businesscentralal/origo-bc-plugin --plugin origo-bcCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.