From origo-bc
Add another Business Central tenant or environment to an existing Origo BC setup in Cowork. Use this skill when the user types `/origo-bc-add-env`, says they want to add a new BC tenant, hook up a second environment, register another BC company, or connect Cowork to an additional dynamics.is BC install. Re-uses the scripts already installed under `%USERPROFILE%\OrigoBC\` and only appends a new entry to the Cowork MCP config.
How this skill is triggered — by the user, by Claude, or both
Slash command
/origo-bc:origo-bc-add-envThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Adds a new `bc-<nickname>` entry to the Cowork MCP config using the
/origo-bc-add-env — Add another BC tenant / environmentAdds a new bc-<nickname> entry to the Cowork MCP config using the
scripts already installed under %USERPROFILE%\OrigoBC\. Does not
reinstall scripts; if that folder is missing, redirect the user to
/origo-bc-setup instead.
Before doing anything:
Node.js 18+ must be on PATH. Run node --version; abort if the
command fails or reports a major version below 18. Cowork launches each
bc-* entry as node <path>\dynamics-is.js ..., so there is no point
adding a broken entry. Tell the user:
I can't add another BC environment without Node.js 18+. Install it from https://nodejs.org/ (LTS is fine), open a new Cowork session so PATH refreshes, then re-run
/origo-bc-add-env.
%USERPROFILE%\OrigoBC\dynamics-is.js exists. If it doesn't, stop and
tell the user:
It looks like Origo BC has not been set up on this machine yet. Run
/origo-bc-setupfirst.
%USERPROFILE%\OrigoBC\ is already populated.AskUserQuestion, one at a time):
bc-* entries).Create-PlainConnectionString.ps1 on Windows, create-connection-string.js
elsewhere) with the tenant / client / environment pre-filled.dpapi: / plain: blob.bc-<nickname> entry to the Cowork MCP config.mcp__bc-<nickname>__list_companies.Before asking for the nickname, read the current MCP config and list the
existing bc-* keys back to the user as forbidden values. If the user's
chosen nickname collides, ask again.
Same as /origo-bc-setup:
node --version # must exit 0 and report v18+ (v18/v20/v22 LTS all fine)
test -f "$USERPROFILE/OrigoBC/dynamics-is.js" && echo OK
If either check fails, stop and redirect the user (Node → https://nodejs.org/;
missing install → /origo-bc-setup).
Read %APPDATA%\Claude\claude_desktop_config.json, enumerate keys under
mcpServers that start with bc-, and show them to the user so they can
pick a non-colliding nickname.
Use AskUserQuestion for: nickname, tenant, client, environment,
optional default company GUID.
Windows:
cd $env:USERPROFILE\OrigoBC
.\Create-PlainConnectionString.ps1 `
-TenantId '<tenant>' `
-ClientId '<client>'
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.