简介
knowledge-locator
原始描述
Searches and navigates stored knowledge in memory palaces
通过你的 Agent 添加
安装目录:knowledge-locator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: knowledge-locator description: Searches and navigates stored knowledge in memory palaces version: 1.9.8 triggers:
- retrieval
- search
- indexing
- recall
- spatial-memory
- pr-review
- looking for previously stored information or cross-referencing concepts across palaces metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/memory-palace", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.memory-palace-architect", "night-market.review-chamber"]}}} source: claude-night-market source_plugin: memory-palace
Night Market Skill — ported from claude-night-market/memory-palace. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Table of Contents
- What It Is
- Quick Start
- Search Palaces
- List All Palaces
- When to Use
- Search Modalities
- Core Workflow
- Target Metrics
- Detailed Resources
- PR Review Search
- Quick Commands
- Review Chamber Rooms
- Context-Aware Surfacing
- Integration
Knowledge Locator
A spatial indexing and retrieval system for finding information within and across memory palaces. Enables multi-modal search using spatial, semantic, sensory, and associative queries.
What It Is
The Knowledge Locator provides efficient information retrieval across your memory palace network by:
- Building and maintaining spatial indices for fast lookup
- Supporting multiple search modalities (spatial, semantic, sensory)
- Mapping cross-references between palaces
- Tracking access patterns for optimization
Quick Start
Search Palaces
python scripts/palace_manager.py search "authentication" --type semantic
Verification: Run python --version to verify Python environment.
List All Palaces
python scripts/palace_manager.py list
python scripts/palace_manager.py list
Verification: Run python --version to verify Python environment.
When To Use
- Finding specific concepts within one or more memory palaces
- Cross-referencing information across different palaces
- Discovering connections between stored information
- Finding information using partial or contextual queries
- Analyzing access patterns for palace optimization
When NOT To Use
- Creating new
palace structures - use memory-palace-architect
- Processing new
external resources - use knowledge-intake
- Creating new
palace structures - use memory-palace-architect
- Processing new
external resources - use knowledge-intake
Search Modalities
Mode
Description
Best For
Spatial
Query by location path
"Find concepts in the Workshop"
Semantic
Search by meaning/keywords
"Find authentication-related items"
Sensory
Locate by sensory attributes
"Blue-colored concepts"
Associative
Follow connection chains
"Related to OAuth"
Temporal
Find by creation/access date
"Recently accessed"
Core Workflow
- Build Index - Create spatial index of all palaces
- Optimize Search - Configure search strategies and heuristics
- Map Cross-References - Identify inter-palace connections
- Test Retrieval - Validate search accuracy and speed
- Analyze Patterns - Track and optimize based on usage
Target Metrics
- Retrieval latency: ≤ 150ms cached, ≤ 500ms cold
- Top-3 accuracy: ≥ 90% for semantic queries
- Robustness: ≥ 80% success with incomplete queries
Detailed Resources
- Index Structure: See
modules/index-structure.md
- Search Strategies: See
modules/search-strategies.md
- Cross-Reference Mapping: See
modules/index-structure.md
PR Review Search
- Creating new palace structures - use memory-palace-architect
- Processing new external resources - use knowledge-intake
- Creating new palace structures - use memory-palace-architect
- Processing new external resources - use knowledge-intake
Search Modalities
Mode
Description
Best For
Spatial
Query by location path
"Find concepts in the Workshop"
Semantic
Search by meaning/keywords
"Find authentication-related items"
Sensory
Locate by sensory attributes
"Blue-colored concepts"
Associative
Follow connection chains
"Related to OAuth"
Temporal
Find by creation/access date
"Recently accessed"
Core Workflow
- Build Index - Create spatial index of all palaces
- Optimize Search - Configure search strategies and heuristics
- Map Cross-References - Identify inter-palace connections
- Test Retrieval - Validate search accuracy and speed
- Analyze Patterns - Track and optimize based on usage
Target Metrics
- Retrieval latency: ≤ 150ms cached, ≤ 500ms cold
- Top-3 accuracy: ≥ 90% for semantic queries
- Robustness: ≥ 80% success with incomplete queries
Detailed Resources
- Index Structure: See
modules/index-structure.md
- Search Strategies: See
modules/search-strategies.md
- Cross-Reference Mapping: See
modules/index-structure.md
PR Review Search
| Mode | Description | Best For |
|---|---|---|
| Spatial | Query by location path | "Find concepts in the Workshop" |
| Semantic | Search by meaning/keywords | "Find authentication-related items" |
| Sensory | Locate by sensory attributes | "Blue-colored concepts" |
| Associative | Follow connection chains | "Related to OAuth" |
| Temporal | Find by creation/access date | "Recently accessed" |
- Build Index - Create spatial index of all palaces
- Optimize Search - Configure search strategies and heuristics
- Map Cross-References - Identify inter-palace connections
- Test Retrieval - Validate search accuracy and speed
- Analyze Patterns - Track and optimize based on usage
Target Metrics
- Retrieval latency: ≤ 150ms cached, ≤ 500ms cold
- Top-3 accuracy: ≥ 90% for semantic queries
- Robustness: ≥ 80% success with incomplete queries
Detailed Resources
- Index Structure: See
modules/index-structure.md
- Search Strategies: See
modules/search-strategies.md
- Cross-Reference Mapping: See
modules/index-structure.md
PR Review Search
- Index Structure: See
modules/index-structure.md - Search Strategies: See
modules/search-strategies.md - Cross-Reference Mapping: See
modules/index-structure.md
PR Review Search
Search the review chamber within project palaces for past decisions and patterns.
Quick Commands
# Search review chamber by query
python scripts/palace_manager.py search "authentication" \
--palace <project_id> \
--room review-chamber
# List entries in specific room
python scripts/palace_manager.py list-reviews \
--palace <project_id> \
--room decisions
# Find by tags
python scripts/palace_manager.py search-reviews \
--tags security,api \
--since 2025-01-01
# Search review chamber by query
python scripts/palace_manager.py search "authentication" \
--palace <project_id> \
--room review-chamber
# List entries in specific room
python scripts/palace_manager.py list-reviews \
--palace <project_id> \
--room decisions
# Find by tags
python scripts/palace_manager.py search-reviews \
--tags security,api \
--since 2025-01-01
Verification: Run python --version to verify Python environment.
Review Chamber Rooms
Room
Content
Example Query
decisions/
Architectural choices
"JWT vs sessions"
patterns/
Recurring solutions
"error handling pattern"
standards/
Quality conventions
"API error format"
lessons/
Post-mortems
"outage learnings"
Context-Aware Surfacing
| Room | Content | Example Query |
|---|---|---|
decisions/ |
Architectural choices | "JWT vs sessions" |
patterns/ |
Recurring solutions | "error handling pattern" |
standards/ |
Quality conventions | "API error format" |
lessons/ |
Post-mortems | "outage learnings" |
When starting work in a code area, surface relevant review knowledge:
# When in auth/ directory
python scripts/palace_manager.py context-search auth/
# Returns:
# - Past decisions about authentication
# - Known patterns in this area
# - Relevant standards to follow
Verification: Run python --version to verify Python environment.
Integration
Works with:
memory-palace-architect- Indexes palaces created by architectsession-palace-builder- Searches session-specific palacesdigital-garden-cultivator- Finds garden content and linksreview-chamber- Searches PR review knowledge in project palaces
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。