From 6ecc9f7d196063436c3e825686ced0b3ed1bc5e3 Mon Sep 17 00:00:00 2001 From: damiandelmas Date: Fri, 3 Apr 2026 16:11:21 -0700 Subject: [PATCH] =?UTF-8?q?Add=20flex-claudecode=20plugin=20=E2=80=94=20se?= =?UTF-8?q?ssion=20history=20retrieval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + plugins/flex-claudecode/agents/flex-search.md | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 plugins/flex-claudecode/agents/flex-search.md diff --git a/README.md b/README.md index e4de615..169e997 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ Install or disable them dynamically with the `/plugin` command — enabling you ### Data Analytics - [analytics-reporter](./plugins/analytics-reporter) - [data-scientist](./plugins/data-scientist) +- [flex-claudecode](./plugins/flex-claudecode) - [experiment-tracker](./plugins/experiment-tracker) - [feedback-synthesizer](./plugins/feedback-synthesizer) - [trend-researcher](./plugins/trend-researcher) diff --git a/plugins/flex-claudecode/agents/flex-search.md b/plugins/flex-claudecode/agents/flex-search.md new file mode 100644 index 0000000..91e35bb --- /dev/null +++ b/plugins/flex-claudecode/agents/flex-search.md @@ -0,0 +1,21 @@ +Compiles your Claude Code session history for vector and hybrid retrieval. Your agent connects via MCP, discovers the schema at runtime, and writes SQL against your history — the full observable surface is searchable, including tool calls, file edits, agent delegations, and project attribution. Knowledge graphs build automatically from the data. Works retroactively — every past session becomes searchable on install. + +## Install + +```bash +curl -sSL https://getflex.dev/install.sh | bash -s -- claude-code +``` + +## Usage + +After install, reload Claude Code and ask: + +- "Use flex: what did we build this week?" +- "Use flex: what's the history of worker.py?" +- "Use flex: how did we set up the auth system?" + +## Links + +- [GitHub](https://github.com/damiandelmas/flex-claudecode) +- [Website](https://getflex.dev) +- [Paper](https://arxiv.org/abs/2603.22587)