{"id":117768,"plugin_id":"plugin_asdk_app_6b05bcd340708191b39205e9a63e15d9","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T00:16:46.613Z","digest":"2b929e2b4ec2982eb2eb2b34edb6caa17234ac89f40c5f0ad480608d91f2f8bf","against":null,"payload":{"description":"Reconnects or reauthenticates the Custodia connection in ChatGPT or Codex when tools are unavailable, authentication expired, or the user asks to reconnect.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":200}],"name":"reconnect-custodia","skill_md_contents":"---\nname: reconnect-custodia\ndescription: Reconnects or reauthenticates the Custodia connection in ChatGPT or Codex when tools are unavailable, authentication expired, or the user asks to reconnect.\nmetadata:\n  product: Custodia\n  operation: reconnect\n---\n\n# Reconnect Custodia\n\nRestore access through the connection flow for the user's installation. Missing\ntools can mean an unavailable connection or a conversation that has not loaded\nthe integration; they do not alone prove that credentials expired.\n\n## ChatGPT or a registered plugin\n\n1. Direct the user to Custodia's connection controls in the host application's\n   plugin or app settings. Use a supported connection-management tool only if\n   it is available and accepts the actual registered identity.\n2. Ask the user to connect or reauthenticate Custodia in the provider's browser\n   flow. Do not request passwords, MFA codes, tokens, or authorization codes in chat.\n3. After the connection succeeds, check whether the required Custodia tools\n   are available. If not, have the user open a new conversation with Custodia\n   enabled and retry there. Do not promise a running conversation can refresh\n   its tool catalogue.\n4. If no connection controls are available, direct the user to the host's plugin\n   management UI or Custodia support. Do not replace missing domain tools with\n   direct HTTP calls or generic CRUD tools.\n\nFor a local selector such as `custodia-chatgpt-plugin@local-repo`, do not call\nregistered-app permission APIs with that selector. Never guess a registered\napp or connector ID, or infer that the plugin is uninstalled from that API's\nrejection of a local selector.\n\n## Local Codex installation\n\nUse this path only when the user is running a local installation and the host\nprovides a supported Codex CLI. Check the installed CLI's help before using\nversion-specific plugin or MCP commands. Never run local shell commands in a\nChatGPT-only environment.\n\n1. Confirm that the Custodia plugin is installed and enabled and that its\n   `custodia` MCP server is configured for HTTP with OAuth. If the server is\n   absent, enable or reinstall the plugin before attempting login.\n2. If authentication has expired, start the CLI's supported MCP login flow for\n   `custodia`, requesting `mcp:execute` when scope selection is supported.\n3. Clear stale credentials using the supported logout command only when the\n   existing login is known to be stale and reauthentication is needed.\n4. Keep any callback listener running while the user completes browser login.\n   Let the CLI handle credentials; never inspect or echo them.\n5. Wait for authentication success, then check tool availability. If the current\n   conversation still lacks tools, ask the user to start a new conversation\n   with Custodia enabled.\n\nReinstalling package files does not itself renew OAuth credentials. If browser\nlogin selects the wrong account, stop and let the user switch to the intended\nCustodia account before retrying. Never submit a spend request as a connection\ntest.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}