/openai-admin:security-reviewfrom openai-admin
Reviews OpenAI organization security via audit logs, key inventory, and mTLS certificates. Helps offboard users, detect unused/over-privileged keys, and scope incident questions by actor, project, or time window.
Ships in openai-admin. 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.
Three sources answer security questions about an OpenAI organization: the audit log (what happened and who did it), the key inventory (what can still spend money or administer the org), and the certificate list (mTLS that is about to expire). All of it is read-only. Revoking a key, removing a member, or changing a role is done by an organization owner in the OpenAI dashboard; this skill finds what needs doing and says so.
Admin-gated in Conduit: openai_admin_audit_logs_list,
openai_admin_project_api_keys_list, openai_admin_project_api_key_get,
openai_admin_admin_api_keys_list, and openai_admin_admin_api_key_get
need the admin tier on OpenAI Admin in Conduit. Most of this skill
depends on them. With only read, say that the review could not be
completed and list what was checked (members, invites, certificates).
openai_admin_audit_logs_list filters:
| Parameter | Use |
|---|---|
effective_at_gte, effective_at_lt (also _gt, _lte) | Time window, UTC Unix seconds |
actor_emails, actor_ids | Everything one person, service account, or key did |
event_types | Narrow to a kind of event, e.g. api_key.created, user.updated, login.failed |
project_ids, resource_ids | Everything that touched one project or object |
tenant_only | Tenant-scoped events such as role bindings; when true, every event_types value must be tenant-scoped |
Pages with after / before and limit (max 100). Always set a time
window; paging the whole history of a busy organization is slow and
mostly irrelevant.
openai_admin_users_list with emails: ["[email protected]"] to get
the user ID and org role. Not found: check
openai_admin_invites_list for a pending invite to cancel.openai_admin_projects_list, then per project
openai_admin_project_users_list to list the projects they belong to.openai_admin_project_api_keys_list and pick out the
keys they own. After they are removed, the same call with
owner_project_access: "inactive" finds keys they left behind.openai_admin_admin_api_keys_list for any Admin key they own.openai_admin_audit_logs_list with actor_emails: [...] over the last
30 days to see recent activity (keys created, members invited).openai_admin_admin_api_keys_list. Flag keys with no
last_used_at or none in 90 days, and keys owned by people who are no
longer staff. Exclude the key Conduit itself uses.openai_admin_project_api_keys_list with
owner_project_access: "inactive".owner members from openai_admin_users_list.openai_admin_audit_logs_list with a time window and
event_types covering user and invite changes (start from
user.updated; widen with the event types listed in OpenAI's audit
log reference).openai_admin_audit_logs_list with
event_types: ["login.failed"] over the period; a burst against one
account is worth a call to the client.openai_admin_certificates_list; flag anything expiring
within 30 days. openai_admin_project_certificates_list shows which
projects use it.openai_admin_project_api_keys_list (or
openai_admin_project_api_key_get if you have it). The owner field
answers "who owns it"; it does not prove who created it.openai_admin_audit_logs_list with resource_ids: ["key_..."], or
event_types: ["api_key.created"] and a window around the key's
created date, gives the actor and time.Treat it as an incident: the fix (revoke and replace) happens in the
OpenAI dashboard immediately, not after the review. Then use the
spend-review hourly usage by api_key_id to
size the exposure, and the audit log for the key's lifecycle.
owner_project_access: "inactive" to
isolate them.openai_admin_certificate_get
returns the PEM only with include: ["content"]; dates are enough for
an expiry check.What SKILL.md sets; muted values are Claude Code's defaults
When offboarding someone from a client's OpenAI organization, running a periodic AI access review, or answering an incident question such as who created a key or when a member was added. Use when: openai audit log, openai offboarding, openai access review, who created this openai key, openai failed logins, openai role change, leaked openai key, openai certificate expiry, or openai incident.
Three short reads, in order
4 skills in this plugin
/api-patternsOpenAI Admin API PatternsOpenAI Admin MCP fundamentals: the Admin key sent as the `X-OpenAI-Admin-Key` header through Conduit, the 30-tool read-only surface and which five tools Conduit admin-gates, the two pagination styles (object cursors for lists, page tokens for usage and cost reports), Unix-second time ranges, truncated pages, and the error and 429 shapes the server returns.
/seat-key-inventoryOpenAI Admin Seat and Key InventoryBuilding the access inventory of a client's OpenAI organization: organization members and their roles, pending and expired invites, projects and their members, service accounts, project API keys and Admin keys with owner and last-used dates, and how to reconcile that inventory against the client's staff list to find stale seats and orphaned keys.
/spend-reviewOpenAI Admin Spend ReviewTurning the OpenAI Admin usage and cost reports into a per-client spend review: daily cost by project, line item, user, or API key; token and request volume behind that cost; month-over-month comparison; spike attribution; and project rate-limit headroom when a client reports 429s.
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin openai-adminOther plugins' skills for the same job