From audn-redteam
Authenticate with Audn.ai for red-team security testing. Sets up OAuth login or API token. Run this before using any other audn skill. Use when the user needs to log in, authenticate, connect to Audn, or set up their API credentials.
How this skill is triggered — by the user, by Claude, or both
Slash command
/audn-redteam:audn-loginThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up authentication to the Audn.ai API. This must be done before using any other audn skill.
Set up authentication to the Audn.ai API. This must be done before using any other audn skill.
Run this command to check:
claude mcp get audn-redteam 2>/dev/null && echo "EXISTS" || echo "NOT_FOUND"
If the MCP server is not configured, register it now. Run this exact command:
claude mcp add --transport http audn-redteam https://mcp.audn.ai/mcp/audn-rn8sx
This adds the Audn.ai MCP server with OAuth 2.1 support. Claude Code will auto-discover the OAuth endpoints at https://mcp.audn.ai/.well-known/oauth-authorization-server/mcp/audn-rn8sx and handle Dynamic Client Registration automatically.
After adding the MCP server, the user MUST restart Claude Code for it to pick up the new server. MCP servers are only loaded at startup — they cannot be hot-reloaded mid-session.
Tell the user exactly this:
The MCP server has been registered. You need to restart Claude Code to activate it.
- Exit this session — type
/exitor pressCtrl+C- Start Claude Code again:
claude- Run
/audn-loginagain to continue authentication
STOP HERE. Do not proceed to Step 4 until the user has restarted and re-invoked this skill.
After restarting, the MCP server should now appear in the server list. Tell the user:
Run
/mcpnow, selectaudn-redteam, and click "Authenticate". A browser window will open — log in at auth.audn.ai (or sign up at https://audn.ai if you don't have an account). After approving, your tokens are stored securely in the system keychain and refresh automatically.
Wait for the user to complete authentication.
After the user authenticates, check the MCP server status:
claude mcp get audn-redteam
If it shows connected, authentication is complete. All 34 Audn API tools are now available as MCP tools.
If the user has trouble with OAuth, fall back to API token method (see below).
If OAuth doesn't work (firewall, SSH, container), use an API token instead:
export AUDN_API_TOKEN="<their-token>"
echo 'export AUDN_API_TOKEN="<token>"' >> ~/.zshrc
curl -s -H "Authorization: Bearer $AUDN_API_TOKEN" https://audn.ai/api/user/profile
Should return user profile with success: true.
After successful authentication (either method), report:
## Authenticated with Audn.ai
**Method**: MCP OAuth / API Token
**Status**: Connected
Ready to use audn skills:
- /audn-red <api-url> — Full red-team audit
- /audn-quick-scan <api-url> — Quick vulnerability scan
- /audn-agent-setup — Register an agent
- /audn-vuln-monitor — Check vulnerabilities
$ARGUMENTS
npx claudepluginhub audn-ai/skills --plugin audn-redteamProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.