Quickstart

cd your-repo
aiscope .

That's it. aiscope will scan your repo for every supported AI memory file, extract rules, find conflicts, and drop you into an interactive TUI.

What happens under the hood

When you run aiscope ., it:

  1. Discovers every memory file across Cursor, Claude Code, and GitHub Copilot — see Tools and subsystems.
  2. Parses YAML frontmatter (applyTo, globs, tools:, …).
  3. Extracts typed assertions (e.g. "prefer snake_case for variables").
  4. Reasons about pairs — checks scope overlap, polarity, severity.
  5. Renders the result via your chosen output mode.

It never makes a network request. It never reads outside the repo unless you pass --user (see Privacy guard).

Output modes

FlagUse it for
(default)Interactive ratatui TUI
--textPlain text — pipe-friendly
--diagCompiler-style diagnostics (miette)
--jsonMachine-readable — for scripts and dashboards
--card out.png1280×720 PNG summary — drop into a tweet or PR

Subcommands

CommandWhat it does
aiscopeScan + render (default scan subcommand)
aiscope checkScan + exit non-zero if HIGH conflicts found (CI gate)
aiscope watchRe-scan on file change

Reasoning modes

FlagBehavior
(default)Uniform — every cross-source pair is candidate. Max recall.
--specificSpecific — uses the subsystem matrix to silence false alarms.

See Reasoning modes for the matrix.

Next