Aim settings

From Hidden-History/ai-memory · View interactive version

Aim settings is an AI agent skill from the GitHub repository Hidden-History/ai-memory. Display current memory system configuration and settings

How to use this skill

Skill file

Memory Settings - Configuration Viewer

Display the current configuration of the AI Memory Module, including collections, types, thresholds, token budgets, and service endpoints.

Activation

# Show all memory settings
/aim-settings

# Show specific section
/aim-settings --section collections
/aim-settings --section types
/aim-settings --section thresholds
/aim-settings --section services
/aim-settings --section agents

Configuration Sections

Collections

Shows the 3 Memory System V2.0 collections:

Memory Types (14 total)

Organized by collection:

Thresholds

Services

Shows connection details for:

Agent Token Budgets

Shows token allocation per BMAD agent:

Logging

Collection Size Limits

Activation Examples

# View complete configuration
/aim-settings

# Check current thresholds
/aim-settings --section thresholds

# View service endpoints
/aim-settings --section services

# Check agent token budgets
/aim-settings --section agents

# View all memory types
/aim-settings --section types

Python Configuration Reference

Configuration is managed by src/memory/config.py:

from src.memory.config import get_config, AGENT_TOKEN_BUDGETS, get_agent_token_budget

# Get configuration singleton
config = get_config()

# Access settings
print(f"Qdrant: {config.qdrant_host}:{config.qdrant_port}")
print(f"Similarity threshold: {config.similarity_threshold}")
print(f"Max retrievals: {config.max_retrievals}")

# Get agent-specific token budget
budget = get_agent_token_budget("architect")  # Returns 1500

Environment Variables

Configuration can be customized via environment variables or .env file:

# Core thresholds
SIMILARITY_THRESHOLD=0.7    # Retrieval relevance cutoff
DEDUP_THRESHOLD=0.95        # Duplicate detection sensitivity
MAX_RETRIEVALS=10           # Results per search
TOKEN_BUDGET=4000           # Context injection limit (per BP-039)

# Service endpoints
QDRANT_HOST=localhost
QDRANT_PORT=26350
EMBEDDING_HOST=127.0.0.1
EMBEDDING_PORT=28080
MONITORING_HOST=localhost
MONITORING_PORT=28000

# Logging
LOG_LEVEL=INFO              # DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_FORMAT=json             # json or text

# Collection size limits
COLLECTION_SIZE_WARNING=10000
COLLECTION_SIZE_CRITICAL=50000

Configuration Precedence

Settings are loaded in this order (highest priority first):

  1. Environment variables
  2. .env file in project root
  3. Default values

Output Format

The skill displays configuration in organized sections with:

Technical Details

Related Skills

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.