twinmind-sdk-patterns

Featured

Apply production-ready TwinMind SDK patterns for TypeScript and Python. Use when implementing TwinMind integrations, refactoring API usage, or establishing team coding standards for meeting AI integration. Trigger with phrases like "twinmind SDK patterns", "twinmind best practices", "twinmind code patterns", "idiomatic twinmind".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# TwinMind SDK Patterns ## Overview Production patterns for TwinMind's AI memory and meeting intelligence REST API. TwinMind captures, organizes, and retrieves contextual memories from conversations and meetings. ## Prerequisites - TwinMind API key configured - Understanding of REST API patterns - Familiarity with memory/context retrieval concepts ## Instructions ### Step 1: Client Wrapper with Authentication ```python import requests import os class TwinMindClient: def __init__(self, api_key: str = None, base_url: str = "https://api.twinmind.com/v1"): self.api_key = api_key or os.environ["TWINMIND_API_KEY"] self.base_url = base_url self.session = requests.Session() self.session.headers.update({ "Authorization": f"Bearer {self.api_key}", "Content-Type": "application/json" }) def _request(self, method: str, path: str, **kwargs): response = self.session.request(method, f"{self.base_url}{path}", **kwargs) response.raise_for_status() return response.json() ``` ### Step 2: Memory Storage and Retrieval ```python class TwinMindClient: # ... (continued from Step 1) def store_memory(self, content: str, context: dict = None, tags: list = None) -> dict: return self._request("POST", "/memories", json={ "content": content, "context": context or {}, "tags": tags or [], "timestamp": datetime.utcnow().isoformat() }) ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category