agentleFS
duriantacoduriantaco/skylos/CLAUDE.md

skylos

CLAUDE.md842 starsChanged 4 months agoApache-2.0View on GitHub

Guidance for Claude Code when working in this repository. Skylos — a local-first static analysis CLI for Python, TS/JS, Java, Go, PHP, Rust, and Dart. It detects dead code, security flaws, secrets, dependency CVEs, quality regressions, and AI-generated-code mistakes. The CLI entry point is skylos.cli:main, exposed as the skylos command. Skylos is not installed by default — only the source is present. Install it editable from the repo root: Then verify with skylos --version and skylos doctor. Notes: - Do…

  • Installs packages

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not run python -m skylos — the package has no __main__.

    line 25
  2. Very specific:

    Run skylos commands for the full command list and skylos <cmd> --help for details on any subcommand.

    line 40
  3. Very specific:

    Keep Claude skill files under .claude/skills/.

    line 56
  4. Distinctive:

    Use it for scanner bypasses, LLM evidence filters, CI/cloud policy trust boundaries, and severity classification.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Guidance for Claude Code when working in this repository.

What this repo is

Skylos — a local-first static analysis CLI for Python, TS/JS, Java, Go, PHP, Rust, and Dart. It detects dead code, security flaws, secrets, dependency CVEs, quality regressions, and AI-generated-code mistakes. The CLI entry point is skylos.cli:main, exposed as the skylos command.

Install

Skylos is not installed by default — only the source is present. Install it editable from the repo root:

pip install -e .            # core CLI + dependencies
pip install -e ".[llm]"     # also enables `skylos agent` / `skylos defend`

Then verify with skylos --version and skylos doctor.

Notes:

  • Do not run python -m skylos — the package has no __main__. Use the skylos command.
  • A module 'skylos.cli' has no attribute 'inquirer' error means the install is incomplete; rerun pip install -e ..

Use

skylos .                 # dead-code scan of the current directory
skylos . -a              # all checks: security, secrets, quality, deps
skylos . -a --format json   # machine-readable output (best for automation)
skylos . --diff origin/main # only findings on changed lines (PR review)
skylos . --gate          # quality gate; non-zero exit blocks on failure

Run skylos commands for the full command list and skylos <cmd> --help for details on any subcommand.

Skill For Using Skylos

A detailed agent skill for installing, running, and interpreting Skylos lives at:

.claude/skills/skylos/SKILL.md

It is auto-discovered by Claude Code. Consult it for output formats, JSON result keys, filtering flags, gating/exit codes, suppression syntax, security guardrails, CI behavior, dead-code false-positive triage, and repo workflow.

Keep Claude skill files under .claude/skills/. Do not put them under skylos/agents or skylos/llm; those are Skylos runtime modules.

For security investigations and hardening, use:

.claude/skills/skylos-security/SKILL.md

Use it for scanner bypasses, LLM evidence filters, CI/cloud policy trust boundaries, and severity classification.

Reference docs

  • README.md — overview, workflow table, language support.
  • docs/cli-output.md — output modes and TUI keys.
  • dictionary.md — every rule ID and product term.
  • CONTRIBUTING.md / QUALITY.md — repo workflow and quality-gate expectations.
  • Full docs: https://docs.skylos.dev

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.