Add Hindsight plugin#57
Open
benfrank241 wants to merge 1 commit into
Open
Conversation
Adds Hindsight — automatic long-term memory for Grok Build. Recalls relevant memories before each prompt, retains conversation transcripts, and exposes agent_knowledge_* tools via a bundled stdio MCP server. Source: url pin to vectorize-io/hindsight-grok-plugin at a full commit SHA, same shape as the other third-party entries. Category `memory`. Changes: - .grok-plugin/marketplace.json — Hindsight catalog entry (url source + SHA). - .grok-plugin/plugin-index.json — regenerated; records the hindsight MCP server (stdio), 4 lifecycle hooks, and the create-agent skill. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0b127fe to
0c3080f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Hindsight to the marketplace — automatic long-term memory for Grok Build. Hindsight recalls relevant memories before each prompt, retains conversation transcripts, and exposes knowledge-page tools (recall, ingest, create/update/delete pages) through a bundled MCP server. It fills a gap in the catalog: there's no agent-memory plugin yet. Category
memory.cc @ykeremy
How it works
type: local, vendored underexternal_plugins/hindsight/— same shape as the mergedneonentry (#18). The plugin's canonical home is a subdirectory of thevectorize-io/hindsightmonorepo (hindsight-integrations/claude-code/), so a root-cloningurlsource can't target it; vendoring locally is the clean path, matchingneon.hindsight, stdio):.mcp.jsonlaunchesscripts/run_mcp.sh, which creates a per-plugin venv andpip installsmcp>=1.0.0from the vendoredrequirements.txt(nocurl|bash, no remoteeval), then execs the localmcp_server.py.hindsight-embedpackage, run viauvx hindsight-embed@latestand reached over localhost only (http://127.0.0.1:9077). Pinnable viaHINDSIGHT_EMBED_VERSIONinsettings.json.SessionStart,UserPromptSubmit,Stop,SessionEnd) run local Python scripts to recall before prompts and retain transcripts after.create-agent— scaffold a Hindsight-powered subagent with long-term memory.Network & credentials (for security review)
127.0.0.1:9077— no inbound, no external endpoint by default.~/.ssh/.env/tokens for exfiltration; hooks are scoped to lifecycle events; no obfuscated payloads. MIT licensed.Changes
.grok-plugin/marketplace.json— Hindsight catalog entry (local source, homepage, keywords, domains)..grok-plugin/plugin-index.json— regenerated; records thehindsightMCP server (stdio), 4 hooks, and thecreate-agentskill.external_plugins/hindsight/**— vendored plugin (manifest,.mcp.json, hooks, scripts, skill, README, LICENSE).Validation
```
python3 scripts/validate-catalog.py # Catalog OK
python3 scripts/generate-plugin-index.py --check # Plugin index OK
```
Both pass — the same two steps CI runs.
Note
The plugin uses
\${CLAUDE_PLUGIN_ROOT}/\${CLAUDE_PLUGIN_DATA}(Claude-ecosystem convention, which this repo already accepts via.claude-plugin/manifests). Happy to swap to\${GROK_PLUGIN_ROOT}if Grok Build expects that variable instead — just let me know.