sdk-behavior-extension

Extends the @lanonasis/mem-intel-sdk with TypeScript behavior recording, recall, and suggestion methods.

Updated Sep 2, 2025
One-click install
npx skills add https://github.com/thefixer3x/onasis-gateway --skill sdk-behavior-extension
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdk-behavior-extension
Source: https://github.com/thefixer3x/onasis-gateway/tree/main/.claude/skills/sdk-behavior-extension
Command: npx skills add https://github.com/thefixer3x/onasis-gateway --skill sdk-behavior-extension

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of integrating behavioral pattern learning into an existing SDK, enabling user workflows to be recorded and replayed without breaking existing functionality or requiring significant backend changes.

Core Features & Use Cases

  • Behavior Recording: Capture user actions, context, and outcomes to form reusable patterns.
  • Behavior Recall: Retrieve similar past patterns based on current context for intelligent suggestions.
  • Behavior Suggestion: Generate AI-powered suggestions for next actions based on learned behaviors.
  • Use Case: A developer using the @lanonasis/mem-intel-sdk can now record a complex sequence of code edits and tool usages, and later have the SDK suggest similar actions when a similar development task is encountered.

Quick Start

Use the sdk-behavior-extension skill to plan the implementation of new behavior intelligence features in the mem-intel SDK.

Frequently Asked Questions about sdk-behavior-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extend an SDK with behavioral pattern learning and replay?

Behavior recording captures user actions, context, and outcomes to form reusable patterns. Behavior recall then retrieves similar past patterns based on current context to generate AI-powered suggestions for next actions.

How do I add behavior recording and recall methods to an existing TypeScript client?

You add behavior recording and recall methods by extending the TypeScript client with new functions for capturing actions and retrieving similar past patterns. This involves defining new types for behavior records and recall results within the existing SDK structure.

Do I need pgvector and Supabase schema migrations for semantic behavior search?

Yes, pgvector and Supabase schema migrations are required to store behavior records and enable semantic search. The Skill guides you through outlining these necessary database schema migrations to support semantic recall of past patterns.

Can I integrate workflow pattern learning without breaking existing SDK functionality?

Yes, you can integrate workflow pattern learning without breaking existing SDK functionality or requiring significant backend changes. The Skill designs the extension to safely add behavior intelligence capabilities alongside current features.

How does behavior intelligence suggest next actions during development tasks?

Behavior intelligence suggests next actions by recalling similar past patterns based on current context. It retrieves previously recorded complex sequences of user actions to generate AI-powered suggestions when similar development tasks are encountered.