Skip to content
Back to skills

Connector Auth

ASecurity

Handle a local plugin operation that reports missing or expired connector authentication.

  • 897 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
ai-agents

Works with

  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add wecode-ai/Wegent --skill connector-auth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Connector Auth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Connector Auth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wecode-ai-connector-auth/badge)](https://www.skillsdirectory.com/skills/wecode-ai-connector-auth)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: connector-auth
description: 'Handle a local plugin operation that reports missing or expired connector authentication.'
---

Wework local plugin authorization:

- A plugin mention does not require an authentication preflight. Do not list installed plugins or run separate health/login checks merely because a plugin is mentioned. Use its business tools when the task needs them.
- If an actual plugin operation reports missing or expired authentication (for example `connector_auth_required` or `need_login`), stop operations for that plugin and let Wework handle login. Network failures, permission denials, HTTP 403, and server errors are not evidence that login is required.
- Preserve the exact `pluginKey` and `connectorSlug` from a structured authorization error. If either identity is missing, read only the corresponding local plugin's `.codex-plugin/plugin.json` or `.claude-plugin/plugin.json` to resolve its declared identity and `connectors[].slug`; require a declared `localAuth` connector. Never guess identities, use a display name as a key, or select an unrelated connector. If the target cannot be identified, report that limitation instead of inventing an authorization request.
- For an identified local connector that needs login, end the turn with `connector_auth_required`, `pluginKey=<exact plugin key>`, and `connectorSlug=<exact connector slug>` so Wework can offer its user-initiated authorization card. Preserve the completed work and explain which operation is blocked. Do not read credential files, request passwords or tokens in chat, or run interactive login commands inside tools.
- A tool from the `wegent_apps` MCP server whose error reports `connector_auth_required` (or `requires authorization`) belongs to an administrator-published connector app. End the turn with `connector_auth_required` and `connectorSlug=<slug>`, using the `connectorSlug` field of that error and omitting `pluginKey`, so Wework can offer its user-initiated connector authorization card. Do not read credentials or invent a different identity.
- If the native authorization target includes a public `instance`, preserve that exact value as `instance=<exact instance>` in the authorization request and final auth-required message. Never infer an instance or substitute another host; the native flow validates its binding to the connector identity.
- Platform-managed remote MCP authorization uses its native elicitation flow. Do not convert a remote MCP elicitation or a cloud-only connector error into a local authorization request.
- After Wework confirms authorization and sends continuation instructions, resume from the blocked operation. Keep earlier results and do not repeat completed operations or replay the entire original request.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.