aim-search
Skill by Hidden-History
Searches the AI Memory Module by semantic similarity, with filters for collection, memory type, project and intent. It is for developers who keep project memories in that module.
Install aim-search
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Hidden-History/ai-memory /tmp/ai-memory && mkdir -p ~/.claude/skills && cp -r /tmp/ai-memory/.claude/skills/aim-search ~/.claude/skills/aim-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Hidden-History/ai-memory /tmp/ai-memory && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-memory/.claude/skills/aim-search ~/.gemini/antigravity-cli/skills/aim-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The aim-search skill searches the AI Memory Module using semantic similarity. Memories are stored in three collections: code-patterns for how things are built, conventions for rules to follow, and discussions for why decisions were made. Users can filter results by collection, memory type and project. Intent detection (how, what or why) routes a query to a primary collection, and the search expands to secondary collections when the primary one has too few results.
Results are ranked by a relevance score that combines semantic similarity with a temporal decay score, so more recent memories rank higher. Each result shows its score, collection, type and date, and decay scores can be hidden. The skill is intended for developers who use the AI Memory Module and want to retrieve past implementations, conventions, error fixes and decisions.
Written from the project's SKILL.md and checked against it.
What it can do
- Semantic searchFinds stored memories by meaning using vector similarity.
- Collection filterUses --collection to target code-patterns, conventions or discussions.
- Type filterUses --type to filter by memory types such as error_fix or decision.
- Intent detectionUses --intent how, what or why to route a query to a primary collection.
- Cascading searchExpands to secondary collections when the primary collection has too few results.
- Decay scoringShows relevance, semantic and temporal scores for each result.
- Project scopingFilters results by project, auto-detected from the working directory.
What you need
- AI Memory Module with the search.py implementation
- Qdrant API key (QDRANT_API_KEY in .env.secrets)
- Python
- Git repository for project auto-detection
Try asking
- Search my memory for how we implement authentication
- Find error fixes for database connection problems
- Why did we choose postgres? Search the discussions collection
Good to know
- If the Qdrant auth fails, results are file-only and the knowledge base is not consulted.
- Default result limit is 5, and the score threshold defaults to 0.7 (set in .env).
- Performance target is under 2 seconds for typical searches.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/aim-search/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadBash
Alternatives to aim-search
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
aim-search: common questions
Which embedding model does aim-search use?
Semantic search uses jina-embeddings-v2-base-en for vector similarity. The source does not describe other models.
How is the decay score calculated?
The final score is 0.7 times semantic plus 0.3 times 0.5 raised to age_days divided by half_life. Half-life varies by memory type, for example 60 days for rules and guidelines.
What happens if the Qdrant API key is rejected?
The search reports a 401 auth failure and says the knowledge base was not consulted. Results are then file-only, not empty search results.
How do I install aim-search?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aim-search free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is aim-search safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to aim-search?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
