Endor Labs skills in Cursor

Install and configure Endor Labs skills in Cursor.
Beta

Endor Labs skills integrate directly into Cursor to guide the AI assistant with reusable security workflows, catching security issues before they reach production.

The following sections walk you through setting up Endor Labs skills in Cursor:

Ensure that the following prerequisites are met:

Run the following command from your project root to install all Endor Labs skills. The skills package detects Cursor automatically and installs skills into .cursor/skills/.

npx skills add endorlabs/ai-plugins

You can also install skills manually if you prefer.

If you prefer not to use npx, clone the repository and copy the skills into your project.

  1. Clone the ai-plugins repository to a temporary directory.

    git clone https://github.com/endorlabs/ai-plugins /tmp/ai-plugins
    
  2. Skills can be installed at your project level by placing them in .cursor/skills/ at the root of your repository, or at the global level by adding them to ~/.cursor/skills/ to make them available across all your projects.

    Project level (at the root of your repository)

    mkdir -p .cursor/skills
    cp -r /tmp/ai-plugins/skills/* .cursor/skills/
    

    Global level (available for all your projects)

    mkdir -p ~/.cursor/skills
    cp -r /tmp/ai-plugins/skills/* ~/.cursor/skills/
    
  3. Confirm the directory structure. Your project should have the following structure.

    .cursor/skills
    └── endor-setup
        └── SKILL.md
    
Skill Description Trigger phrases
endor-setup Install, authenticate, and configure endorctl automatically and run security scans. “setup endorctl”, “install endorctl”, “run endorctl scan”, “scan for vulnerabilities”
  • “Set up endorctl and authenticate with Endor Labs.”
  • “Run endorctl scan for this repo”
  • “Run endorctl quick scan for this repo”

For enhanced tool integration, configure the Endor Labs MCP server in Cursor.