Add Cursor Agent Skill for guided integration#6
Merged
Conversation
Ship a project-level skill at .cursor/skills/behavioral-memory/ that walks users through wiring behavioral-memory into any LangChain/LangGraph agent. Covers store setup, seed traces, gatekeeper pipeline, Langfuse v4 feedback loop, pgvector persistence, and common pitfalls. Includes: - SKILL.md: main integration guide (230 lines, under 500-line limit) - integration-examples.md: 6 concrete patterns (ReAct, FastAPI, StateGraph, etc.) - scripts/verify_setup.py: end-to-end setup validation script - README.md: added skill section with /behavioral-memory invocation docs Co-authored-by: Cursor <cursoragent@cursor.com>
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
.cursor/skills/behavioral-memory/for seamless plug-and-play integration with any LangChain/LangGraph agentSKILL.md(main guide),integration-examples.md(6 concrete patterns), andscripts/verify_setup.py(end-to-end validation)/behavioral-memoryinvocation and verify commandWhat the skill covers
Tested
pip install behavioral-memoryfrom PyPIverify_setup.pypasses all checks (import, store roundtrip, gatekeeper, PlanEngine)disable-model-invocation: true, under 500 lines, progressive disclosureTest plan
python .cursor/skills/behavioral-memory/scripts/verify_setup.pyin clean envMade with Cursor