From tray-workflows
Set or change the Tray workspace ID for this project — a per-project override of the workspace you configured when installing the plugin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tray-workflows:set-workspace [workspace-id][workspace-id]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set the Tray workspace the plugin builds in for **this project**, overriding the
Set the Tray workspace the plugin builds in for this project, overriding the workspace entered at install time. Useful when you work across several Tray workspaces in different repos.
How it works: the build-workflow skill pins every workspace-scoped call to
${user_config.workspace_id}. That value resolves from pluginConfigs in your
settings, and project settings override the global install value — precedence is
.claude/settings.local.json > .claude/settings.json > ~/.claude/settings.json.
So writing the workspace id into this project's settings makes the plugin build here
without changing your global default.
Get the workspace ID. If $ARGUMENTS contains a workspace id, use it. Otherwise ask the user — do not guess.
Pick the target file (default to the first):
.claude/settings.local.json — personal, gitignored. Default..claude/settings.json — shared with the team via git. Use only if every collaborator on this repo should default to this workspace.Create the file if it doesn't exist.
Merge — never overwrite. Read the existing file (if present) and merge in the block below, preserving all other keys. The plugin-id key is tray-workflows@tray-plugins (the <plugin>@<marketplace> form), and the value nests under .options.workspace_id:
{
"pluginConfigs": {
"tray-workflows@tray-plugins": {
"options": {
"workspace_id": "<workspace-id>"
}
}
}
}
If the user's global ~/.claude/settings.json already uses a different
pluginConfigs key for this plugin, match that key instead.
Always show the result. Print the exact pluginConfigs block you wrote. If the settings write is blocked or fails for any reason, print the block and tell the user to paste it into the chosen file themselves — the command must stay useful even when settings writes are restricted.
Tell the user to reload. The workspace value is substituted into the build-workflow skill at skill-load time, so a change only takes effect after:
/reload-plugins
(or a new session). Confirm: Workspace for this project set to <id> in <file>. Run /reload-plugins to apply.
~/.claude/settings.json pluginConfigs.npx claudepluginhub trayio/tray-plugins --plugin tray-workflowsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.