Skip to content

Instantly share code, notes, and snippets.

View kshnkvn's full-sized avatar

Ivan Yakushenko kshnkvn

  • 22:10 (UTC +02:00)
View GitHub Profile
@sergeyk
sergeyk / claude_code_prompts_and_tools.yaml
Last active December 5, 2025 12:02
Claude Code System Prompt and Tool Descriptions
model: claude-opus-4-20250514
messages:
- role: user
content:
- type: text
text: |
<system-reminder>
As you answer the user's questions, you can use the following context:
# important-instruction-reminders
Do what has been asked; nothing more, nothing less.
@codelion
codelion / memory.py
Created April 13, 2025 01:15
A simple implementation of memory for LLMs
import numpy as np
from sentence_transformers import SentenceTransformer
import anthropic
from typing import List, Dict, Optional
import logging
from dataclasses import dataclass
import uuid
logger = logging.getLogger(__name__)