Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Spectra grades any repository on architecture, security, quality, docs, maintainability, and performance — in minutes. It runs 8 specialized Claude agents (6 specialists in parallel, plus a planner and a critic) on Opus 4.7, so you get a full audit instead of a single linter's opinion. Built for developers running self-checks, teams gating PRs in CI, and reviewers who need a second pair of eyes before merge.
Indicative analysis — not auditor-grade evidence. Spectra runs 8 LLM agents over your code; findings are heuristic and require human verification before being treated as compliance evidence, audit input, or pass/fail signal in regulated workflows. Use Spectra as a fast directional signal — pair it with deterministic SAST/DAST tooling and a human reviewer for anything compliance-bound. The same notice ships in every HTML, JSON, and SARIF report (source).
Quickstart · What You Get · Memory · Compare · Architecture · CLI Reference
Three lines, under a minute:
pip install spectra-ai
export ANTHROPIC_API_KEY=sk-ant-...
spectra analyze https://github.com/your/repo
Open spectra-report.html when it finishes. Requires Python 3.12+ and an Anthropic API key.
At-rest cache encryption (optional). The local SQLite cache always carries per-row HMAC integrity. To also encrypt cache contents at rest, install the opt-in extra:
pip install "spectra-ai[encryption]". This pullspysqlcipher3, which source-builds againstlibsqlcipher— macOS users needbrew install sqlcipherfirst; Debian/Ubuntuapt-get install libsqlcipher-dev. Without the extra, Spectra runs with plain SQLite + HMAC and emits a single WARN at startup.
- uses: leocder07/spectra@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
AI-generated code ships faster than ever, but quality assurance hasn't kept up. One LLM call can't catch architecture drift, security flaws, and documentation gaps at the same time.
Spectra deploys 8 AI agents — 6 parallel specialists, a planning agent, and a critique agent — to give you the full spectrum in minutes.
A weighted ScoreCard plus a self-contained HTML report. Here's what the terminal looks like at the end of a run:
▸ INGEST: cloned expressjs/express (1,247 files, 184K LOC)
▸ PLAN: MetaPrompter built 6-agent plan (4.2K tokens)
▸ ANALYZE: 6 specialists running in parallel...
✓ Architecture 12.4s 8 findings
✓ Security 9.8s 14 findings (3 critical)
✓ Quality 11.2s 11 findings
✓ Documentation 7.6s 6 findings
✓ Maintainability 8.1s 4 findings
✓ Performance 10.5s 3 findings
▸ MERGE: deduplicated 46 → 38 findings
▸ CRITIQUE: validated findings, dropped 4 false positives (Opus 4.7 + thinking)
▸ REPORT: spectra-report.html
┌─────────────────────────────────────────────┐
│ SPECTRA SCORECARD │
│ repo: expressjs/express │
│ Overall: B- (80/100) │
├─────────────────────────────────────────────┤
│ Architecture █████████░ 89 A- │
│ Security ██████░░░░ 67 D+ │
│ Quality █████████░ 87 B+ │
│ Documentation ██████░░░░ 68 C- │
│ Maintainability██████████ 92 A │
│ Performance ████████░░ 76 C+ │
├─────────────────────────────────────────────┤
│ 34 findings · 3 critical · 87s · $2.41 │
└─────────────────────────────────────────────┘
✓ Top issues: SQL injection in middleware/parser.js:142
prototype pollution in utils/merge.js:38
missing auth on /admin/* routes
See Spectra analyze itself: the v0.7.0 self-scan grades A (92/100), 55 findings (0 critical), $6.62 real Anthropic spend — alongside FastAPI, HTTPX, Aider, and Simon Willison's LLM on the public leaderboard.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", commands: Invalid input, agents.0: Invalid string: must start with "./", agents.1: Invalid string: must start with "./", agents.2: Invalid string: must start with "./", agents.3: Invalid string: must start with "./", skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./"
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", commands: Invalid input, agents.0: Invalid string: must start with "./", agents.1: Invalid string: must start with "./", agents.2: Invalid string: must start with "./", agents.3: Invalid string: must start with "./", skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Plugins from other owners that cover similar ground