skylos
Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer
What is skylos?
Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer to https://duriantaco.github.io/skylos/repo-map/
Overview of skylos
What it is
Skylos is an open-source (Apache-2.0) CLI and pull-request gate for Python projects that runs without an account. It scans source code to find dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. The tool provides source locations and supporting analysis for each finding. It is built for teams merging pull requests from AI coding agents such as Claude Code, Codex, and Cursor, as well as Python maintainers who want framework-aware checks. Python has the deepest coverage; TypeScript/JavaScript and Java also get dead-code, security and quality checks; PHP and Dart get dead-code and security checks; Rust gets security checks and experimental dead code; Go dead-code and security checks need the native skylos-go engine; C# support is partial, Kotlin is dead code only, C++ is limited to unused file-local functions, and Shell is security only. Skylos also checks CI/CD and deployment config.
Key features
- Finds dead code: unused functions, classes, imports, and empty files with
skylos . - Adds security, secrets, quality, dependency, and AI-code checks with
-aflag -skylos donechecks whether a branch is ready to merge by running tests and comparing with the base branch -skylos verifychecks for AI-code mistakes over selected files or tree -skylos suiteproduces a combined repo report including static analysis, technical debt, AI defense, and provenance -skylos defendchecks deployment guardrails for LLM integrations -skylos cleancan remove Python dead code with--dry-run skylos preflightchecks if a local GPU build fits target machines -skylos image scanchecks container image vulnerabilities using Trivy
Use cases
- Teams merging pull requests from AI coding agents (Claude Code, Codex, Cursor)
- Python maintainers who want framework-aware dead-code, security and secrets checks - Checking a repository or pull request for dead code, security flaws, secrets, dependency CVEs, CI/CD misconfigurations, quality regressions, and common AI-generated code mistakes - Gating pull requests in CI to enforce policy
Getting started
bash pip install skylos skylos . # find dead code skylos . -a # add security, secrets, quality, dependency and AI-code checks skylos done --base main # is this branch finished? runs your tests, compares with main
License and pricing
Licensed under Apache-2.0. Open source (free).
Based on the project's public README and repository metadata.