ki-memory-lookup

Queries ki-search project memory across seven memory types with type-specific retrieval strategies.

2|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/HACK-WU/skills --skill ki-memory-lookup-hack-wu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ki-memory-lookup
Source: https://github.com/HACK-WU/skills/tree/main/skills/ki-memory-lookup
Command: npx skills add https://github.com/HACK-WU/skills --skill ki-memory-lookup-hack-wu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Project knowledge scattered across a ki-search memory store is hard to query consistently: different memory types (strong relations, decisions, errors, pending changes) need different retrieval strategies, and query logic duplicated across many skills drifts out of sync. This Skill centralizes all ki memory lookups into one single source of truth with per-type strategies. ## Core Features & Use Cases - Unified query layer for seven memory types: topic memories, API/interface info, data flows, strong cross-module relations, decision records, error solutions, and pending-change ledger entries, each dispatched to its own reference strategy. - Directory-first navigation for enumerable types: uses ki_query_group two-level navigation (subtree then groups with mode="full") plus batch ki_get_module_info retrieval, avoiding semantic recall gaps for strong relations, decisions, and pending changes. - Dual-path retrieval with change context: when a diff is available (code review, bug impact analysis), runs directory filtering and semantic ki_search in parallel and merges results; degrades silently without blocking when ki is unavailable. - Use Case: Before modifying a payment module, ask what other modules are affected; the Skill lists all strong-relation entries for that module, retrieves the relevant ones in batch, and returns a coupling checklist with direction and strength. ## Quick Start Ask the AI to check what other modules are affected before changing the payment module, using the ki memory lookup.

Frequently Asked Questions about ki-memory-lookup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query cross-module dependencies before changing code?

Use the strong-relation strategy: run ki_query_group with subtree on the relation root group to list module subgroups, then list all entries with mode="full", and batch-retrieve relevant entries via ki_get_module_info. Each hit gives direction, strength, and reason for the coupling.

How to find why a technical decision was made in a project?

Query the decision memory type, which records the decision, background constraints, rejected alternatives with reasons, and re-evaluation triggers. Use directory-first listing per module, or semantic search with tags="decision" for point queries.

Can I search past error solutions by pasting a stack trace?

Yes. The error library strategy accepts the full error text or stack trace as the ki_search query with tags="error". Semantic matching handles path, version, and line-number variants that keyword-based file search cannot.

Why does ki_query_group return only five entries?

The default mode is "hot" with hot_count=5, returning only the five hottest relations without any error. Always pass mode="full" explicitly when listing a group's entries, especially for pending-change ledger entries which are cold by nature.

What happens if the ki memory service is unavailable?

The Skill degrades silently without blocking the calling workflow. If ki is unavailable, no records exist, or nothing matches, it skips the lookup and the caller falls back to reading code directly.

Does this Skill write or modify memory records?

No. It is query-only by design. Writing, updating, and deleting memory entries, including pending-change checkout, are handled by the separate ki-memory-write Skill.