Possible SQL injection: tainted or string-built query.
Your AI agent says it's done. Skylos checks.
Skylos is an open-source (Apache-2.0) CLI and pull request check. It fails the agent's branch when tests were deleted or skipped, a CI test step was loosened, or an answer was hard-coded to pass a test.
A real run
The agent skipped a test. Skylos names it.
The agent's change (git diff main)
--- a/shop/pricing.py+++ b/shop/pricing.py-PERCENT_OFF = {"SAVE10": 10}+PERCENT_OFF = {"SAVE10": 10, "SAVE20": 20} def apply_discount(total: float, code: str) -> float:- percent = PERCENT_OFF.get(code, 0)+ percent = PERCENT_OFF[code] return round(total * (100 - percent) / 100, 2)--- a/tests/test_pricing.py+++ b/tests/test_pricing.py assert apply_discount(100.0, "SAVE10") == 90.0 +def test_save20_takes_twenty_percent_off():+ assert apply_discount(100.0, "SAVE20") == 80.0+++@pytest.mark.skip(reason="flaky") def test_unknown_code_keeps_total(): assert apply_discount(100.0, "BOGUS") == 100.0skylos done --base main
$ skylos done --base mainSkylos done · base 8da0a2b (merge base) · head d0ff52aUNFINISHED Tests pass when Skylos runs them: Earlier required checks failed or were incompleteFAIL No tests deleted, skipped or weakened: 1 test change(s) weaken what the tests check tests/test_pricing.py:15 SKY-A111 test_unknown_code_keeps_total now skips or expects failure (skip) tests/test_pricing.py:14 SKY-A101 (advice) Test was skipped or xfailed in this diff Fix: Put back the removed or skipped tests and the original assertions and settings.PASS Skylos settings and hooks left alone: Skylos settings, hooks and protected paths unchangedPASS No secrets added: No secrets addedPASS Every package and import is real: Every added import and package resolvesWARN Tests check the changed lines: Earlier required checks failed or were incompletePASS Code doesn't special-case the tests: No code special-cases the tests (1 changed file(s) read)PASS Linters, type checkers, scanners and CI not silenced: No linter, type-checker, scanner or CI settings weakenedVerdict: FAIL (Tests pass when Skylos runs them, No tests deleted, skipped or weakened)Receipt: .skylos/receipts/d0ff52a8ddaa-8da0a2b2fb37.json$ echo $?1Recorded output from Skylos 4.47.1 on a small example repository. Nothing runs or uploads in your browser.
The checks
Five things fail the check.
- Tests fail when Skylos runs them, or the test run doesn't finish
- Tests deleted, skipped, or weakened, including loosened test settings and CI test steps
- Code written to pass particular tests, such as an answer hard-coded to a test's input
- Skylos settings, or the agent hook files that run it, edited
- Secrets added
Warn only
- Lint, type-check, scanner, or CI checks silenced
- Imports or dependencies that don't resolve to a declared package
- Changed Python lines that no test runs or checks
How each check worksCheck a branch for deleted or skipped testsStop agents claiming done
Set up
Run it locally. Then on every pull request.
- 1
On your machine
skylos doneruns your tests and compares the branch with main. Install it withpip install skylos. - 2
On every pull request
Writes a GitHub Actions workflow. No API key.
Your first gated pull request - 3
Block merges
Turn on merge blockingFree: a pass/fail check. Workspace: one policy, history and expiring exceptions.
Open the Agents view in Cloud
Get started
From install to blocked pull requests, in order.
Without an account
Runs on your machine. Your code and findings stay there.
# install
pip install skylos
# find dead code
skylos .
# every check: security, secrets, dependencies, quality
skylos . -a
# only what your branch changed
skylos . -a --diff origin/main
# did the agent really finish? runs your tests
skylos done --base main
# check every pull request in CI
skylos cicd init --no-uploadWith Skylos Cloud
See every scan online and stop pull requests that fail. Five steps, in this order, from your repository folder.
- 1
Upload your first scan
Run it in your repository. Your browser opens skylos.dev: sign in, then pick or create the project for this repository. Back in the terminal it scans and uploads the findings, not your code.
Sign in to Skylos Cloud - 2
Open your results
Click the Open: link the command prints. It shows the scan, its gate result and every issue. A scan from your machine is saved for review and never blocks a merge.
Go to your dashboard - 3
Add the pull request check
Writes .github/workflows/skylos.yml and prints what to do next: the git commands that open a pull request with it, and the GitHub App link.
Your first gated pull request - 4
Install the GitHub App, then merge
Install the Skylos GitHub App on the repository before you merge that pull request. CI then uploads with its GitHub identity, so there is no token to copy.
Install the Skylos GitHub App - 5
Make the check required
Run it after the merge (it uses the GitHub CLI, gh). From then on, a pull request that fails the Skylos check cannot merge.
Done
Every pull request gets a Skylos check, and every push to your default branch shows up in your dashboard.
Also in the CLI
Dead code, security issues and secrets.
For TypeScript, JavaScript, Python, Go and Java codebases. Find dead code
Recorded scan
from flask import request def search_users(conn): name = request.args.get("name") query = f"SELECT * FROM users WHERE name = '{name}'" return conn.execute(query).fetchall()Tainted input enters a string-built query.
The flagged line is highlighted.
Proof
10 Skylos-assisted dead-code cleanup PRs merged into the default branch in 9 open-source projects.
The checks are free. Teams pay a flat monthly or yearly price.
Nothing is metered by seat, line of code or pull request.
Free
$0
- CLI and agent hooks, no login
- PR gate in your own CI, private repos included
- Cloud: 1 project, 1 person, 10 stored scans, pass/fail on pull requests
- Cloud: up to 25 issues marked not fixing per project; up to 3 custom rules
- Credits work here too: AI fix PRs and compliance reports
Startup
- Every Workspace feature: unlimited members, up to 10 projects, shared history, team policy and exports
- 500 credits included each year, or 41 each month when paid monthly
- Renews monthly or yearly; turn renewal off any time
Workspace
- Unlimited members
- Up to 10 projects, 500 stored scans per project
- Shared history, team policy, pull request comments and exports
- Verified Stacks: an automatic check on every layer of a GitHub stacked pull request, with history and approvals
- Up to 50 custom rules, run on every connected scan
- 1,000 credits included each year, or 83 each month when paid monthly
- Renews monthly or yearly; turn renewal off any time
Growth
$12,000 / year
- Everything in Workspace
- Up to 50 projects
- Single sign-on (SAML), set up on request
- 3,000 credits included each year
- Renews yearly; turn renewal off any time
Start Growth opens sign-in, then Billing.
Enterprise
from $30,000 / year
Talk to us only if you need:
- More than 50 projects
- Invoice or purchase-order billing
- A custom security questionnaire filled in for you (standard answers are free in the trust center)
Credit packs from $9
- $9 · 50 credits
- $39 · 250 credits
- $129 · 1,000 credits
- $499 · 5,000 credits
Questions
What teams ask first.
We already use an AI reviewer such as CodeRabbit or Copilot. Why add this?
AI reviewers comment on the diff. skylos done runs your tests and compares test files and CI steps with main, and no model decides a block. Run both.
Will it block good pull requests?
Only the checks under "What blocks by default" fail the run. Set any check to block, advise, or off in [tool.skylos.done.checks] on your main branch.
Does Skylos upload my source code?
Normal local checks, including skylos done, run on your machine without an AI model. Dependency checks look up package names and versions in public registries and OSV. Explicit uploads send scan reports to Cloud and can include code context. The GitHub App runs hosted scans in a temporary sandbox. Optional LLM commands send code to the model provider you configure; review the privacy and network documentation before enabling them.
Does it work for my stack?
skylos done runs pytest and reads Jest, Vitest, Mocha, node:test, and Playwright Test files. For other test runners, set test_command in [tool.skylos.done].
Which languages does Skylos support?
Dead code: Python, TypeScript/JavaScript, Java, Go, PHP, Rust, Dart, Kotlin, C#, and C++ (file-local functions). Security: Python, TypeScript/JavaScript, Java, Go, PHP, Rust, Dart, C#, Shell, GitHub Actions, GitLab CI, and Dockerfiles. Go uses the skylos-go engine, included in PyPI wheels for Linux, macOS and Windows (x86_64 and arm64), the Docker image and the GitHub Action. On other platforms, skylos doctor prints the build command. Dart needs an extra parser.
Is this a cheating detector?
No. It finds specific shortcuts in tests, CI, and code. It can't prove code is correct.
Is Skylos free?
Yes. The CLI, skylos done, and the GitHub Actions workflow need no login. Cloud Free adds a pass/fail pull request check; Workspace adds history, policy, and team review.
What do Cloud credits pay for?
AI fix PRs, the weekly dead-code cleanup PR, and compliance reports. Scan uploads, Cloud scans of your GitHub repositories, PR checks, and the merge gate never use credits. MCP tools run on your machine and don't use credits. Remediation uses your own model key. They need a project token, except the dead-code analyze tool, which works without one for 5 calls a day. Your first workspace gets a Workspace trial: 14 days, 50 credits, no card, nothing renews or charges you.