Skip to main content

Claude Code

← Back to Agent Skills

File: .claude/skills/audaxic-memory/SKILL.md

---
name: audaxic-memory
description: Use when storing or retrieving user preferences, project decisions, learned patterns, or any persistent context via Audaxic memory layer.
---

# Audaxic Memory Skill

MCP server: `https://memory-mcp.audaxic.com/mcp`

## Connection Check

If MCP tools fail, ask user to run:

npx @modelcontextprotocol/inspector --transport http --server-url https://memory-mcp.audaxic.com/mcp --header "Authorization: Bearer ak_your_key_here"

## Behavioral Triggers

### AUTO-SEARCH before:
- Making architectural decisions
- Adding new dependencies
- Fixing bugs (check for prior solutions)
- Starting new sessions (load preferences)

### AUTO-SAVE after:
- User states a preference
- Decision with rationale made
- Complex bug fixed
- Project conventions learned

### DO NOT save:
- Temporary state, debug info, secrets

## MCP Tools

- `add_memory` — text (required), user_id?, metadata?
- `search_memories` — query (required), user_id?, limit?
- `get_memories` — user_id?, limit?
- `delete_memory` — memory_ids[] (required)
- `delete_all_memories` — user_id?

## Content Rules

- One fact per memory
- Natural language, not keywords
- Include reasoning, not just outcomes
- Be specific for better semantic matching

## Lifecycle

Add → Search → Update (delete + re-add) → Delete (when obsolete)

Setup:

mkdir -p .claude/skills/audaxic-memory
# Create SKILL.md with content above

Alternative: Add to CLAUDE.md (project root):

@.claude/skills/audaxic-memory/SKILL.md