← Back to Leaderboard
CReflexioAI

ReflexioAI/claude-smart

Coding-agent hooks turn corrections and proven workflows into reusable skills.

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.3.15
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
CLILocal AI
Total Stars
★ 798
24h Growth
+0
7d Growth
+1
Forks
87

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ReflexioAI/claude-smart Star History (2026-04-20 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +797 in 228d · avg +3/day 843 422 0 2026-04-20: ★ 12026-05-09: ★ 472026-05-23: ★ 4342026-06-06: ★ 5792026-06-20: ★ 6822026-07-04: ★ 7192026-07-18: ★ 7342026-08-01: ★ 7442026-08-15: ★ 7612026-08-29: ★ 7662026-09-12: ★ 7722026-09-26: ★ 7752026-10-10: ★ 7802026-10-24: ★ 7862026-11-07: ★ 7922026-11-21: ★ 7952026-12-04: ★ 798 ★ 798 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

claude-smart is a host-native plugin suite around the Reflexio learning backend. The npm package exposes a claude-smart CLI for installation and management; Claude Code declares six lifecycle hooks in plugin/hooks/hooks.json. SessionStart applies defaults and starts supporting services without retrieving memory. UserPromptSubmit buffers the turn, heuristically flags corrections, and uses the prompt to retrieve guidance for injection. Codex uses its own hooks, and OpenCode uses an installed plugin loader.

The runtime includes Python components and a browser dashboard. Local Reflexio runs as a background service; managed mode uses a configured HTTPS backend without starting a local one. Local semantic search uses an in-process ONNX embedder (all-MiniLM-L6-v2), while extraction and optimization use a separately selected learning provider. That separation lets one provider analyze interactions from several installed hosts without forcing them to use the same coding model.

Key Capabilities & Differentiators

The learning pipeline captures user turns, assistant responses, and tool calls, then distills them into three artifacts: project-scoped preferences, project-specific skills, and shared skills. Preferences preserve local conventions; skills turn corrections and successful workflows into actionable guidance. Optimization can merge near-duplicates, revise applicability conditions, and archive superseded rules instead of continually appending instructions.

Retrieval combines vector search with BM25 and deduplicates injections per session. After Claude Code compacts a conversation, the next search resets server-side deduplication so previously injected guidance can be retrieved again. Backend outages are buffered on disk and drained on the next successful publish. Operators can flag a correction manually, browse or edit skills in the dashboard, or use --read-only to retrieve without publishing interactions.

Trade-offs & Limitations

Compared with transcript-oriented tools such as claude-mem, claude-smart is designed to change what a coding agent does next rather than primarily recover session history. That is useful when the same corrections recur, but automatic extraction and cross-project rollups can turn a one-off workaround into an overly broad rule. Use the dashboard to review generated guidance, check whether it improves behavior on representative tasks, and keep mandatory policies in version-controlled instructions rather than treating retrieved skills as enforcement.

Local mode keeps memory storage on the machine and runs embedding locally, but it does not guarantee offline inference: a selected learning CLI can still call a remote model. Managed mode removes the local backend but moves memory storage and learning to the configured service; interaction buffers remain on the device. Plan for the background runtime, provider calls, and data retention. Hookless environments such as claude.ai/code web, Claude Code Cowork, and remote Codex without local hooks are outside the supported deployment model.

Hardware & Deployment Guide

Use Node.js 20.9.0 or newer for the npm package and put the target CLI on PATH; the OpenCode engine floor is 1.17.0. npx claude-smart install guides host and backend selection, or automation can specify --host, --backend, and a local --provider. Managed installs take an HTTPS endpoint and an API key supplied through --api-key-env. The local backend binds to 127.0.0.1:8071 by default, and the dashboard starts at http://localhost:3001 in either mode.

Reload Claude Code plugins, start a new Codex session, or restart OpenCode to activate installation changes. Check Codex hook trust and use the same CODEX_HOME for installation and status. v0.3.12 made sonnet the default Claude Code learning alias, separate from the coding model, while Codex and OpenCode retained their configured defaults. v0.3.15 moved Python and dashboard dependencies outside the validated plugin package to resolve Codex cache symlink failures and reuse the account runtime across updates.

Host integration: Claude Code lifecycle hooks, Codex hooks, and an OpenCode plugin loader installed at project or user scope.
Learning scope: Project-scoped preferences and skills keep repository conventions local, while shared skills carry reusable patterns across projects.
Retrieval: Hybrid vector and BM25 search with per-session injection deduplication and a reset on the next search after Claude Code compaction.
Provider selection: One local Reflexio setup can learn from multiple installed hosts through a separately selected Claude Code, Codex, or OpenCode CLI.
Capture controls: On-disk buffering survives backend interruptions; read-only mode retrieves learned guidance without publishing interactions.
Upgrade behavior: v0.3.15 relocates Python and dashboard dependencies to an account-scoped runtime to avoid Codex plugin-cache symlink failures.
Best For

Developers using Claude Code, Codex, or OpenCode locally who repeatedly correct repository conventions or rediscover working procedures, and want to review and reuse the resulting guidance across sessions.

Skip If

You need a generic MCP memory endpoint, work only in hookless remote sessions, cannot permit interaction capture, or need deterministic policy enforcement rather than learned guidance.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLILocal AI
npx claude-smart install

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-smart ★798+1PythonApache-2.0Coding-agent hooks turn corrections and proven workflows into reusable skills.
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.
i-have-adhd64.1k+1.3kPythonMITA coding-agent skill that puts the next action first
agents43.2k+212PythonMITOne Markdown plugin catalog adapted to seven AI coding tools

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ReflexioAI/claude-smart.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ReflexioAI/claude-smart Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-smart

How does claude-smart connect to a coding agent, and when does it retrieve guidance?

The documented integration uses host lifecycle hooks and plugins, not a generic MCP endpoint. In Claude Code, SessionStart prepares supporting services; UserPromptSubmit buffers the turn and searches for relevant guidance. Codex loads its hooks in a new session, while OpenCode loads an installer-written plugin on restart.

Does local mode require a GPU, and what should I size for?

Local mode runs a background Reflexio service, an in-process all-MiniLM-L6-v2 ONNX embedder, and a dashboard. Extraction and optimization use the selected learning provider rather than a bundled local coding model. No fixed RAM or VRAM requirement is specified; measure memory and CPU use with representative sessions, and assess GPU needs separately if your provider runs inference locally.

Can we use it commercially and keep session data under our control?

Apache-2.0 permits commercial use and modification subject to its terms, including applicable notice obligations when redistributing. Local mode keeps Reflexio's memory store on your machine, but the learning provider may still process session content remotely. Review provider terms, transcript handling, and dashboard access before rollout. Uninstall preserves learned data, so retention and deletion need a separate policy.

When would I choose this over claude-mem or checked-in agent instructions?

Choose claude-smart when you want corrections and proven workflows converted into rules that are retrieved in later sessions. Transcript-oriented memory tools such as claude-mem are a more natural fit when the main goal is recalling what happened. If your conventions are already stable and reviewed, checked-in instructions are easier to audit and do not require a background learning pipeline.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ReflexioAI/claude-smart? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ReflexioAI/claude-smart on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare