Loading...
Loading...
Apiiro CLI commands for querying the Guardian AI agent: ask security questions, get analysis and insights about a repository, and manage repository detection. Use this skill whenever the user wants AI-powered security analysis, security posture review, or wants to ask questions about their codebase's security. Also trigger when they need deep analysis of authentication flows, attack surfaces, or want an AI to explain security concepts. Even without mentioning "apiiro" or "guardian", trigger when the user asks things like "is this code secure?", "what's the attack surface here?", or "explain this vulnerability". For dedicated STRIDE threat modeling of a design or feature spec, use the apiiro-threat-model skill instead. For fixing a known risk, use apiiro-fix.
npx skill4agent add apiiro/marketplace apiiro-guardianrisks--global--globalapiiro guardian query "what risks exist in this repo"
apiiro guardian query "deep analysis of auth flow" --model normal
apiiro guardian query "what is STRIDE?" --global # General security question
apiiro guardian query "top risks across the org last week" --global
apiiro guardian query "what are our org security policies?" --global
apiiro guardian query "detailed analysis" --timeout 120 # 120s timeout
apiiro guardian query "risk analysis" -f analysis.md--model <fast|normal>fast-g, --global--timeout <seconds>-f, --file <path>apiiro guardian repository detect # Detect and verify repo in Apiiro
apiiro guardian repository clear # Clear cached repo info
apiiro guardian repository clear --global # Clear all cached repos