Skip to content

Add Cursor Agent Skill for guided integration#6

Merged
harsh-kr11 merged 1 commit into
mainfrom
feat/cursor-agent-skill
May 19, 2026
Merged

Add Cursor Agent Skill for guided integration#6
harsh-kr11 merged 1 commit into
mainfrom
feat/cursor-agent-skill

Conversation

@harsh-kr11

Copy link
Copy Markdown
Owner

Summary

  • Ship a project-level Cursor Agent Skill at .cursor/skills/behavioral-memory/ for seamless plug-and-play integration with any LangChain/LangGraph agent
  • Includes SKILL.md (main guide), integration-examples.md (6 concrete patterns), and scripts/verify_setup.py (end-to-end validation)
  • Updated README with skill section showing /behavioral-memory invocation and verify command

What the skill covers

  • 3-step quick integration (store → seed → generate)
  • pgvector persistence (stable collection across deployments)
  • Gatekeeper pipeline (schema + sandbox + dedup)
  • Langfuse v4+ feedback loop (direct capture + polling)
  • Prompt injection for ReAct agents
  • Configuration reference and common pitfalls

Tested

  • All code snippets from SKILL.md verified in a clean virtualenv with pip install behavioral-memory from PyPI
  • verify_setup.py passes all checks (import, store roundtrip, gatekeeper, PlanEngine)
  • Follows Cursor skill authoring standards: YAML frontmatter, disable-model-invocation: true, under 500 lines, progressive disclosure

Test plan

  • CI passes (lint, typecheck, tests)
  • Verify skill appears in Cursor when repo is opened
  • Run python .cursor/skills/behavioral-memory/scripts/verify_setup.py in clean env

Made with Cursor

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>
@harsh-kr11 harsh-kr11 merged commit 9d99a4b into main May 19, 2026
5 checks passed
@harsh-kr11 harsh-kr11 deleted the feat/cursor-agent-skill branch May 19, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant