Three commands cover 95% of usage. Then you hand the YAML to your AI assistant and ship.
brasscoders scanAnalyze your project. Writes .brass/*.yaml with the prioritized findings.
Useful flags:
--fast — skip privacy + content moderation passes--dev — source code only (skip tests, build artifacts)--code / --privacy / --content — narrow scope--offline — guarantee zero outbound network calls (default behavior; flag is for explicitness)brasscoders filterPipe an AI reviewer's JSON output through BrassCoders's noise-reduction. Returns the high-confidence findings.
CRITICAL findings always pass the filter. Style-only Pylint codes (C0301 line-too-long, etc.) are dropped. Per-file caps prevent any single file from dominating output.
brasscoders watchRe-scan incrementally on file change. Useful while you're actively editing and want the YAML to stay current.
Watch mode runs while the command is in your terminal — BrassCoders is on-demand by design, no background daemon, no auto-start. Ctrl+C to stop.
After a scan, .brass/ contains:
| File | Purpose |
|---|---|
ai_instructions.yaml | Top-level summary; this is what you hand to Claude Code / Cursor |
detailed_analysis.yaml | Every finding, grouped by type |
file_intelligence.yaml | Per-file priorities |
security_report.yaml | Security-only view |
statistics.yaml | Aggregate metrics |
privacy_analysis.yaml | Privacy-only view (only if PII findings exist) |
Directory perms are 0700; YAML files are 0600 (POSIX). BrassCoders scans private source code, so the output is locked down.
Tell your AI assistant where the output lives — it can read the file itself. No copy-pasting required. .brass/ai_instructions.yaml is kept short on purpose so it fits comfortably in any context window.
A typical hand-off prompt:
.brass/ai_instructions.yaml in this project. Address the critical_issues in order. For each one, propose a diff and explain the fix."Claude Code, Cursor, and Continue all have filesystem access — they'll open the YAML, parse it, and work through the findings directly.