From epic-agent-skills
Use when the agent needs to authenticate, login, refresh credentials, or set up API key access to the Epic FlowState portal
How this skill is triggered — by the user, by Claude, or both
Slash command
/epic-agent-skills:agent-authThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Authenticate with the Epic FlowState gateway and configure credentials for subsequent API calls.
Authenticate with the Epic FlowState gateway and configure credentials for subsequent API calls.
Check current auth state
EPIC_FLOWSTATE_API_KEY is set in the environmentcurl -s -H "Authorization: Bearer $EPIC_FLOWSTATE_API_KEY" \
https://gateway.epicflowstate.com/mcp \
-d '{"jsonrpc":"2.0","id":1,"method":"ping","params":{}}' | jq .
CLI login (if using the CLI)
npm install -g @epicdm/agent-cli
epic-agent login
# Opens browser for OAuth flow
# Saves token to ~/.epic-agent/credentials.json
OAuth flow (for MCP clients)
https://gateway.epicflowstate.com/.well-known/oauth-authorization-serverhttps://gateway.epicflowstate.com/oauth/authorizehttps://gateway.epicflowstate.com/oauth/tokenAPI key authentication
export EPIC_FLOWSTATE_API_KEY=eak_...Authorization: Bearer eak_...Verify credentials work
epic-agent agents list
# or via MCP:
# POST https://gateway.epicflowstate.com/mcp
# {"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
401 Unauthorized: token expired — run epic-agent login or generate new API key403 Forbidden: insufficient scope — check key permissions in Account → API KeysEPIC_FLOWSTATE_API_KEY not set: prompt user to generate a key from the portal dashboardProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub epic-digital-im/epic-agent-skills