by duriantaco
Free, open-source (Apache-2.0) CLI and PR gate that checks what AI coding agents changed before merge: deleted or skipped tests, packages that don't exist, security bugs, secrets, vulnerable dependencies, quality regressions and dead code. Runs locally, no account. Depth varies by language and check: see the docs.
# Add to your Claude Code skills
git clone https://github.com/duriantaco/skylosLast scanned: 12/4/2026
{
"issues": [
{
"file": "AGENTS.md",
"line": 58,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-12-04T04:54:05.209Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}skylos is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by duriantaco. Free, open-source (Apache-2.0) CLI and PR gate that checks what AI coding agents changed before merge: deleted or skipped tests, packages that don't exist, security bugs, secrets, vulnerable dependencies, quality regressions and dead code. Runs locally, no account. Depth varies by language and check: see the docs. It has 961 GitHub stars.
Yes. skylos passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/duriantaco/skylos" and add it to your Claude Code skills directory (see the Installation section above).
skylos is primarily written in Python. It is open-source under duriantaco on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh skylos against similar tools.
No comments yet. Be the first to share your thoughts!
Command Groups · Quick Start · Skylos Cloud · Docs & Guides · Website · VS Code · Discord
Skylos is a free, open-source (Apache-2.0) code checker for code written by humans and coding agents (Claude Code, Codex, Cursor). It runs locally on your machine, inside your coding agent's loop, and as a pull-request gate in CI — with no account, no API key, and no LLM required.
Coding agents write code fast, and they repeat the same mistakes: deleting or skipping failing tests, installing packages that don't exist, importing functions nobody wrote, leaving injection bugs or hard-coded secrets behind, and abandoning dead code. Skylos catches all of this in one tool.
pip install skylos
skylos . -a # run every check locally; nothing leaves your machine
Skylos has commands for local scanning, coding-agent guardrails, CI gates, release checks, and Skylos Cloud. Everything is split into 8 groups so you always know where to look:
| # | Group | What it is used for | Key commands | Guide |
|---|---|---|---|---|
| 1 | Start Here & Daily Workflow | Set up a repository once and open one local page for your codebase map, changes, and check runs every day. | skylos setup, skylos open, skylos doctor, skylos commands, skylos tour |
Tutorial |
| 2 | Code Scanning, Cleanup & Reports | Scan code locally for dead code, security flaws, secrets, vulnerable packages, quality issues, import cycles, and tech debt. | skylos ., skylos . -a, skylos lint, skylos debt, skylos report, skylos explain, skylos graph, skylos secrets-history, skylos sbom, skylos clean, skylos cleanup, skylos review, skylos suite |
All commands |
| 3 | Coding Agent Guardrails | Check Claude Code, Codex, and Cursor while they work, block fake package installs and secret reads, and verify when they say "done". | skylos agent install-hooks, skylos done, skylos verify, skylos stack, skylos hook, skylos agent harden, skylos agent recap, skylos mcp, skylos contract, skylos provenance |
Agent hooks · Done gate |
| 4 | AI Review & AI App Safety | Run optional LLM audits and dead-code reviews, or check guardrails and runtime behavior of AI/LLM apps you build. | skylos discover, skylos defend, skylos agent init, skylos agent test, skylos agent scan, skylos agent verify, skylos agent audit, skylos agent remediate, skylos key |
AI review · AI app safety |
| 5 | CI/CD & Pull Request Gates | Block failing PRs, post inline review comments, require human approval on risky edits, and check Postgres migrations in CI. | skylos cicd init, skylos cicd gate, skylos cicd review, skylos cicd annotate, skylos cicd risk-review, skylos cicd postgres-check |
First gated PR · CI platforms |
| 6 | Release, Containers & External Scanners | Check built GPU artifacts, scan pinned container images, verify signed Cloud verdicts before deploy, and compare other scanners. | skylos preflight, skylos image scan, skylos verify-verdict, skylos ingest, skylos compare |
Release commands |
| 7 | Config, Baselines & Utilities | Set up config files, freeze existing debt in a baseline, whitelist symbols, manage rules and cache, or migrate from Sonar. | skylos init, skylos baseline, skylos whitelist, skylos rules, skylos cache, skylos badge, skylos sonar import, skylos feedback |
All commands |
| 8 | Skylos Cloud (Optional) | View scans in a team web dashboard, enforce shared PR gates and policies, track decisions, and generate compliance reports. | skylos cloud, skylos login, skylos whoami, skylos project, skylos sync, skylos upload --retry, skylos credits |
Cloud guide |
Need the full command-by-command breakdown? See All Commands by Group or run
skylos commands.
A 20-line Flask app scanned with every check (skylos . -a --format concise):
app.py:15 SKY-D211 Possible SQL injection: tainted or string-built query.
app.py:5 SKY-L012 Import from local module 'billing' requests 'issue_refund', but that name is not defined or re-exported there.
app.py:8 SKY-S101 Potential stripe secret detected
requirements.txt:1 SKY-SCA-GHSA-68rp-wp8r-4726 [email protected]: Flask session does not add `Vary: Cookie` header when accessed in some ways
billing.py:1 SKY-U001 unused function: charge_card
Every finding names the file, line, and rule ID. Security findings include source-to-sink trace paths; --format json outputs the full evidence.
Use two commands for day-to-day work with or without coding agents:
skylos setup # once per repo: connects agent hooks/MCP, tests, PR check, and code map
skylos open # every day: opens one local page with your code diagram, change map, and check runs
Check your installation and active config anytime with skylos doctor, or run skylos tour for a quick walkthrough. See the Setup-to-PR Tutorial.
No account or LLM required. Everything runs locally:
skylos . # dead code (fast, default)
skylos . -a # every check: security, secrets, dependencies, quality, AI-code mistakes
skylos . -a --diff origin/main # only findings on changed lines
skylos . --coverage-report coverage.xml --min-new-coverage 80 --diff origin/main --gate
skylos . --duplication --max-new-duplication 3 --diff origin/main --gate
skylos . --gate # fail the build when local gate limits are exceeded
skylos . --format pretty # grouped report with code snippets (also: concise, json, sarif)
skylos . --tui # keyboard-driven terminal triage
skylos lint # local import cycles and configured architecture layers
skylos debt . # technical-debt score and hotspot ranking
skylos report . # write a shareable one-page HTML or Markdown report
skylos secrets-history . # scan local Git commit history for leaked credentials
skylos sbom . # export CycloneDX 1.6 or SPDX 2.3 SBOM offline
skylos clean . --dry-run # preview Python dead-code removal (--apply writes edits)
skylos cleanup . --top 5 # prioritized fix queue for you or a coding agent
Step through saved security traces with skylos explain REPORT.json --interactive, explore call graphs with skylos graph, or record local triage decisions with skylos review. See CLI Output Modes and All Commands — Group 2.
| Category | Examples |
|---|---|
| AI-code mistakes | Imports of missing functions, invented package APIs, fake/typosquatted packages, impossible versions, unfinished stubs, removed controls |
| Security flaws | SQL injection, XSS, SSRF, path traversal, command injection, unsafe deserialization, ReDoS |
| Secrets | API keys, tokens, private credentials, high-entropy strings, leaked secrets in git history |
| Dependencies | Known CVEs, static reachability (Python, JS/TS, Go, Rust), malicious packages, license policy, offline SBOM |
| Quality | Complexity, deep nesting, duplicate branches, long functions, inconsistent returns, import cycles |
| Test coverage | Overall and refactor-aware new-code line coverage from LCOV, Cobertura, JaCoCo, Go coverprofile, and OpenCover (guide) |
| Code duplication | Multi-language copy-paste detection with overall and refactor-aware new-code limits (guide) |
| Dead code | Unused functions, classes, imports, files, and dependencies (framework-aware: FastAPI, Django, Flask, Next.js, React, Laravel, ...) |
| CI/CD & deployment | Risky GitHub Actions and GitLab CI, Dockerfiles, Docker Compose, systemd, Kubernetes |
| LLM apps | Unsafe tool use, prompt-injection exposure, missing output validation |
Every rule: Rules Reference and Rule Dictionary.
Stop coding agents from breaking things while they work and **