Scan agent skills from your terminal, CI/CD pipeline, or any script. Everything you need to integrate SecureSkill programmatically.
Install the SecureSkill CLI to scan skills from your terminal.
npm install -g @secureskill/cli
# Scan from any supported marketplace secureskill scan https://github.com/org/repo/tree/main/skills/my-skill secureskill scan https://clawhub.ai/publisher/skill-name secureskill scan https://skills.sh/publisher/skill-collection secureskill scan https://agentskill.sh/@publisher/skill-name secureskill scan https://skillsmp.com/skills/skill-name secureskill scan https://skillsdirectory.com/skills/skill-name secureskill scan https://lobehub.com/skills/publisher-skill-name secureskill scan https://skillhub.club/skills/publisher-repo-skill-name # Scan a local directory secureskill scan ./my-skill/ # Quick verdict lookup (~50ms, no LLM call) — reads cached SSP record secureskill ssp-check publisher/skill # JSON output for CI/CD secureskill scan <url> --json # Fail on caution or block verdicts secureskill scan <url> --fail-on caution # Check auth status secureskill whoami # Log in (browser OAuth or API key) secureskill login
API keys let you authenticate scans from CLI, scripts, and CI/CD without browser login. Available on Pro plans and above.
# CLI — set as environment variable
export SECURESKILL_API_KEY=sk-your-key-here
secureskill scan https://github.com/user/skill
# CI/CD — use secrets
SECURESKILL_API_KEY=${{ secrets.SECURESKILL_API_KEY }} secureskill scan ./skills
# HTTP — pass as header
curl -X POST https://secureskill.ai/api/scan-url \
-H "Content-Type: application/json" \
-H "X-API-Key: sk-your-key-here" \
-d '{"url": "https://github.com/user/skill"}'X-API-Key header or SECURESKILL_API_KEY env var. Scans auto-claim to your account. Pro plan required.secureskill login to authenticate via browser. Stores a refresh token locally.| Plan | Scans / month | API Keys |
|---|---|---|
| Free | 30 | No |
| Pro | 200 | Yes |
| Team | 1,000 | Yes |
| Shield | 3,000 | Yes |
| Registry | 25,000 | Yes |
Add SecureSkill to your pipeline to gate deployments on scan results.
- name: Scan skill for security threats
run: npx @secureskill/cli scan ./skills --json --fail-on caution
env:
SECURESKILL_API_KEY: ${{ secrets.SECURESKILL_API_KEY }}0 — SAFE (or below --fail-on threshold)
1 — CAUTION or BLOCK (depending on threshold)
2 — Error (network, auth, server)
POST /api/scan-url
Content-Type: application/json
X-API-Key: sk-your-key-here
{"url": "https://github.com/user/my-skill"}
# Returns: SSE stream with scan progress + resultGET /api/report/{scan_id}
# Returns: JSON with full scan result, findings,
# layer data, corroboration, and metadataPOST /api/scan-upload Content-Type: multipart/form-data X-API-Key: sk-your-key-here file: skill.zip # Returns: SSE stream with scan progress + result