360 Secure SkillHub
360 安全技能中心

Hizal Search

该 Skill 指导在开始构建前先检索 Hizal 中已有的上下文:用语义搜索(可换多种表述)、按 scope/project_id 和 chunk_type 过滤、按 query_key 精确读取、按 chunk UUID 读取、只读合成相关块并查看块版本历史,从而复用团队的架构决策、约定与先前记忆。

parkerscobey
parkerscobey
热度 17.08
最近更新 2026-05-23 02:24:58
分类:知识依赖:MCP 服务应用场景:研究 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add hizal-search
Metadata
name
hizal-search
description
Retrieve existing context before building anything. Self-triggering — fires whenever the agent is about to search the codebase, recall prior decisions, look for conventions, check memory, investigate patterns, or gather background knowledge before starting work. Covers all Hizal search and read tools (semantic search, query_key lookup, scope filtering, compaction, version history). Triggers on phrases like "let me check", "I need to find", "what do we know about", "search for", "look into", "have we done this before", "check existing", "find related", "recall", or any moment the agent would otherwise start Googling or grep-ing without first consulting Hizal.

Hizal Search

Search before you build. Don't rediscover what the team already decided.

Semantic Search

Start with 2-3 broad searches using different phrasings:

hizal__search_context(query="<key concept from the task>")
hizal__search_context(query="<ticket id or feature name>")
hizal__search_context(query="<related subsystem or endpoint>")

Narrow by Scope

# Project-specific knowledge and conventions
hizal__search_context(query="<concept>", scope="PROJECT", project_id="<id>")

# Prior agent memory / investigation notes
hizal__search_context(query="<concept>", scope="AGENT", chunk_type="MEMORY")

# Org-wide principles and standards
hizal__search_context(query="<concept>", scope="ORG")

Filter by Chunk Type

hizal__search_context(query="<concept>", chunk_type="KNOWLEDGE")
hizal__search_context(query="<concept>", chunk_type="CONVENTION")
hizal__search_context(query="<concept>", chunk_type="MEMORY")

Exact Lookup by query_key

When you know the exact key:

hizal__read_context(query_key="<exact-query-key>", project_id="<id>")

Read a Specific Chunk

hizal__read_context(id="<chunk-uuid>")

Synthesize Related Context

Pull related chunks for synthesis (read-only, never delete source chunks):

hizal__compact_context(query="<concept>")
hizal__compact_context(query="<concept>", scope="PROJECT", project_id="<id>")

Version History

Inspect how a chunk evolved:

hizal__get_context_versions(id="<chunk-uuid>")

Search Strategy

  1. Broad first — 2-3 searches with different phrasings
  2. Read the results — chunks contain architecture decisions, conventions, and prior work
  3. Narrow by scope if broad search returns too much noise
  4. Use query_key if you already know the key
  5. If an AGENT memory chunk is broadly useful — promote it with write_knowledge or write_convention

See hizal-write skill for writing back to Hizal.