Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By workos Verified Orgv0.1.21MITIn 1 marketplace
Queries WorkOS audit logs about your past Claude Code sessions and tool calls. Hooks send session, prompt and tool events to WorkOS, and the MCP needs a WorkOS API key and organization ID.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical · 3 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
workos, audit-logs, session-logging, hooks, lifecycle-events, compliance, token-usage
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
WorkOS API keyapi_key
Optional WorkOS server API key. Leave blank to use `workos auth login` / the active WorkOS CLI environment.
SensitivestringOptional
Actor IDactor_id
Optional actor ID override for emitted events. Leave blank to use the OS user.
string
Locationlocation
Optional context location. Leave blank for claude-code.
stringdefault claude-code
Actor nameactor_name
Optional actor display name override.
string
Actor typeactor_type
Optional actor type override. Leave blank for user.
stringdefault user
User agentuser_agent
Optional context user agent. Leave blank for claude-code-workos-audit/1.
stringdefault claude-code-workos-audit/1
Action prefixaction_prefix
Optional audit action prefix. Leave blank for claude.
stringdefault claude
WorkOS organization IDorganization_id
Optional WorkOS organization ID that owns the audit logs. Leave blank to find/create Audit Log Harness automatically.
stringOptional
Record audit eventsrecording_enabled
Set to false (or no/off/0) to disable recording — useful for query-only Cloud sessions. Leave blank or true to record.
stringdefault true
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Local Claude Code plugin that:
workos_audit_query over MCPclaude.session.startedclaude.session.endedclaude.prompt.submittedclaude.tool.calledclaude.tool.completedclaude.tool.failedclaude.turn.completedclaude.turn.failedThese match the default schemas created by scripts/create-claude-schemas.mjs. Token usage metadata is included on claude.turn.completed, claude.turn.failed, and claude.session.ended events when Claude's transcript contains usage data.
This repo has a local Claude Code marketplace manifest at .claude-plugin/marketplace.json.
From this repo root:
claude plugin marketplace add . --scope user
claude plugin install workos-audit@workos-audit-plugins --scope user
If the marketplace is already added, or you have the plugin installed and make local changes, update it with:
claude plugin update workos-audit@workos-audit-plugins
After installing or updating, restart Claude Code.
To install and force-enable the plugin for a whole fleet, deliver this through Claude Code managed settings. extraKnownMarketplaces registers the marketplace automatically and enabledPlugins force-installs the plugin so users cannot disable it:
{
"extraKnownMarketplaces": {
"workos-audit-plugins": {
"source": { "source": "github", "repo": "workos/workos-audit-harness" },
"autoUpdate": true
}
},
"enabledPlugins": { "workos-audit@workos-audit-plugins": true },
"env": { "CLAUDE_WORKOS_AUDIT_RECORDING": "1" }
}
Optionally add strictKnownMarketplaces with the same source to also block users from adding any other marketplace.
Claude Code reads managed settings from three sources, and they do not merge — the first source that delivers any keys wins and the rest are ignored entirely, in this order:
com.anthropic.claudecode managed preferences domain or the Windows HKLM\SOFTWARE\Policies\ClaudeCode registry key./Library/Application Support/ClaudeCode/managed-settings.json on macOS, /etc/claude-code/ on Linux, C:\Program Files\ClaudeCode\ on Windows.The practical consequence: if your org sets anything in the Claude.ai admin console — even a single unrelated key — an MDM-deployed managed-settings.json is silently ignored on every machine. So either put the JSON above in the server-managed settings (merged with whatever is already there), or keep the admin console config completely empty and deploy via MDM. Use MDM when you need per-device targeting (for example, only enrolled smart groups), since server-managed settings are org-wide only. See settings precedence.
workos/workos-audit-harness is a public repo, so auto-install needs no git credentials — but it does need each machine to reach github.com. On a fleet that only talks to an allowlisted mirror, point the marketplace source at your own fork or an internal clone instead.autoUpdate: true means the fleet tracks the marketplace as published, so an upstream change reaches every enrolled machine without a review step on your side. Fork and pin the source above if you need change control over what your devices run./Library/Application Support/workos-audit/config.json (see Fleet rollout) — the hooks no-op on devices without it./status inside Claude Code shows which managed source is active.claude plugin list should show workos-audit@workos-audit-plugins.CLAUDE_WORKOS_AUDIT_RECORDING=1.From this repo:
claude --plugin-dir ./packages/claude-plugin
For local development, the preferred configuration is WorkOS CLI auth. If no organization ID is set, the harness finds or creates an organization named Audit Log Harness and uses it automatically:
npm run workos-auth-login
claude --plugin-dir ./packages/claude-plugin
You can still use an explicit API key if needed:
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub workos/workos-audit-harness --plugin workos-audit