/infinity-authoring:pega-setupfrom Infinity Authoring
Guides first-time setup, OAuth configuration, and recovery from connection failures for the Infinity Authoring plugin. Detects current config and provides tailored instructions.
Ships in Infinity Authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill guides users through configuring the Infinity Authoring plugin for use with Claude Code.
The Claude plugin uses an OAuth-based connection flow. The shared configuration should contain:
pega_base_url - the Pega environment root URLpega_oauth_client_id - use 34233104330833666523 unless the environment requires a custom overridepega_infinity_version - use the exact bundled version, normally 26-1The plugin's launcher downloads and verifies the skills and supplies the skills path itself. Do not ask users to set
pega_skills_path for normal use.
The MCP server defaults pega_oauth_client_id to 34233104330833666523, but keep that value in the
config file so the setup is explicit and portable. Do not ask the user to invent or provide a client
ID. Only replace the standard value if the user explicitly says their environment requires a custom
override.
The runtime defaults to 26-1 when no version is set, but this skill should still guide users to set
pega_infinity_version explicitly so the selected skills are unambiguous.
Supported Infinity versions map to bundled directory names as follows:
24-225-126-1This is an interactive step-by-step guide. The agent detects the user's current configuration and provides tailored instructions.
Check whether a connection is already configured.
First, try calling list-skills. If it succeeds, the bundled plugin runtime and local skills are available.
Do not treat this as proof that the remote Pega environment is reachable or configured. Check the
configuration separately even when list-skills succeeds.
Use a presence-only check. Never print the contents of the config file into the session transcript:
config="$HOME/.infinity-rules-mcp/config.json"
if [ -f "$config" ]; then
printf 'config.json: present\n'
grep -qE '"pega_base_url"[[:space:]]*:' "$config" && printf 'pega_base_url: [set]\n' || printf 'pega_base_url: [missing]\n'
grep -qE '"pega_oauth_client_id"[[:space:]]*:' "$config" && printf 'pega_oauth_client_id: [set]\n' || printf 'pega_oauth_client_id: [missing]\n'
grep -qE '"pega_infinity_version"[[:space:]]*:' "$config" && printf 'pega_infinity_version: [set]\n' || printf 'pega_infinity_version: [missing]\n'
[ "$(stat -c '%a' "$config" 2>/dev/null)" = "600" ] && printf 'permissions: restricted\n' || printf 'permissions: check chmod 600\n'
else
printf 'config.json: missing\n'
fi
Interpretation:
pega_base_url as configured only if it is non-empty, not a placeholder such as <paste-your-pega-url-here>, and uses the environment root URL without /prweb.pega_oauth_client_id as configured when it is the standard value 34233104330833666523 or an explicitly required custom value.pega_infinity_version as configured only if it exactly matches one of the bundled directory names: 24-2, 25-1, or 26-1.~/.infinity-rules-mcp/config.json take precedence over PEGA_* environment variables, including values supplied by Claude plugin configuration.Partial Configuration Handling:
Confirm the user has:
https://example.pega.net or https://example.pega.example.com/prweb or any other path segment24-2), 25.1 (25-1), or 26.1 (26-1)Use the standard OAuth client ID shown in the template. Only use a different
pega_oauth_client_id if the user explicitly says their environment requires a custom override.
First ensure the config directory exists:
mkdir -p ~/.infinity-rules-mcp
Instruct the user to create or edit ~/.infinity-rules-mcp/config.json directly with:
{
"pega_base_url": "<paste-your-pega-url-here>",
"pega_oauth_client_id": "34233104330833666523",
"pega_infinity_version": "26-1"
}
The plugin supplies the skills directory automatically. 26-1 selects the matching skills version. The runtime defaults to 26-1 when the key is omitted, but keep it
explicit for a deterministic setup.
After creating the file, instruct the user to restrict permissions:
chmod 600 ~/.infinity-rules-mcp/config.json
~/.infinity-rules-mcp/config.json is stored in plaintext. Do not commit it to version control.
/plugin UIAlternatively, the user can set the connection URL through the Claude /plugin management UI:
/plugin in Claudepega_base_url and leave the OAuth client ID at its standard defaultThe plugin passes these UI values as PEGA_BASE_URL and PEGA_OAUTH_CLIENT_ID.
If ~/.infinity-rules-mcp/config.json contains non-empty values, those config-file values win.
Set pega_infinity_version in the config file; it is not a Claude /plugin UI field. Reload the
plugin after changing either source.
The user must reload for changes to take effect:
/reload-plugins in ClaudeAfter reload, verify two things separately:
list-skills to confirm the bundled plugin runtime and local skills are available.list-available-applications or get-application to confirm the remote Pega environment is reachable with the configured base URL.Expected results:
list-skills returns available bundled Pega runtime skills.list-available-applications or get-application returns application data from the target Pega environment.list-skills.If verification fails, check:
/prweb?java -version)list-available-applications to see available applicationslist-skills then get-skill to load Pega-specific guidancejava -version). The bundled server requires Java 17+./prweb or other path segments, and the Pega environment is accessible from this machine.pega_oauth_client_id in the config file./reload-plugins. If still missing, check that the configured pega_infinity_version is one of the supported versions. On first start the launcher downloads the server and skills, so allow a minute and confirm Node.js 22.14+ and network access to GitHub.~/.infinity-rules-mcp/config.json is valid JSON. Check for trailing commas or missing quotes./plugin UI set: Non-empty values in ~/.infinity-rules-mcp/config.json take priority over the UI values, which are passed as PEGA_* environment variables.chmod 600 ~/.infinity-rules-mcp/config.json and ensure the file is owned by your user.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pegasystems/infinity-ai-plugins --plugin infinity-authoring2 skills in this plugin
Other plugins' skills for the same job