askill
knowledge

knowledgeSafety 95Repository

Use when searching documentation, retrieving project standards, managing persistent memory, capturing session notes, or querying the knowledge base.

9 stars
1.2k downloads
Updated 3/2/2026

Package Files

Loading files...
SKILL.md

Knowledge Skill

Project Cortex - Structural Knowledge Injection, Semantic Search & Persistent Memory.

Commands

Documentation Commands

search_documentation

Search markdown documentation and references for specific topics.

ParameterTypeDefaultDescription
querystr-Search term (required)

Example:

@omni("knowledge.search_documentation", {"query": "trinity architecture"})

search_standards

Search coding standards and engineering guidelines in docs/reference/.

ParameterTypeDefaultDescription
topicstr-Engineering topic (required)

Example:

@omni("knowledge.search_standards", {"topic": "python linting"})

Semantic Search Commands

knowledge_search (alias: code_search)

Semantic search for code patterns and documentation in knowledge base.

ParameterTypeDefaultDescription
querystr-Natural language query (required)
limitint5Maximum results

Example:

@omni("knowledge.knowledge_search", {"query": "error handling patterns", "limit": 5})

code_context

Get LLM-ready context blocks for a query.

ParameterTypeDefaultDescription
querystr-Query for context (required)
limitint3Number of context blocks

Example:

@omni("knowledge.code_context", {"query": "how to handle errors", "limit": 3})

Memory Commands

update_knowledge_base

Save knowledge entry for future retrieval.

ParameterTypeDefaultDescription
categorystr-patterns/solutions/errors/techniques/notes (required)
titlestr-Entry title (required)
contentstr-Markdown content (required)
tagslist[str][]Tags for categorization

Example:

@omni("knowledge.update_knowledge_base", {
    "category": "patterns",
    "title": "Error Handling Pattern",
    "content": "Use Result types instead of exceptions...",
    "tags": ["error", "python"]
})

search_notes

Search existing notes and knowledge entries.

ParameterTypeDefaultDescription
querystr-Search query (required)
categorystrNoneFilter by category
limitint10Maximum results

Example:

@omni("knowledge.search_notes", {"query": "error handling", "category": "patterns"})

summarize_session

Summarize current session trajectory into structured markdown.

ParameterTypeDefaultDescription
session_idstr-Unique session identifier (required)
trajectorylist[dict]-Execution steps (required)
include_failuresbooltrueInclude failed approaches

Example:

@omni("knowledge.summarize_session", {
    "session_id": "session-123",
    "trajectory": [{"step": 1, "action": "search", "result": "found 5 files"}],
    "include_failures": true
})

Knowledge Ops Commands

ingest_knowledge

Ingest or update project knowledge base.

ParameterTypeDefaultDescription
cleanboolfalseFull re-index if true

Example:

@omni("knowledge.ingest_knowledge", {"clean": false})

knowledge_status

Check knowledge base status.

Example:

@omni("knowledge.knowledge_status")

ZK Search Commands (Reasoning-based)

zk_search

High-precision search using ZK bidirectional links (PageIndex-style reasoning).

ParameterTypeDefaultDescription
querystr-Search query (required)
max_resultsint10Maximum results
max_iterationsint3Reasoning loop iterations

Example:

@omni("knowledge.zk_search", {"query": "agent skills progressive disclosure", "max_results": 5})

How it works:

  1. Direct keyword search in titles/tags
  2. LLM-style reasoning via bidirectional link traversal
  3. Results ranked by relevance and link distance

zk_toc

Get Table of Contents for LLM context (all notes overview).

ParameterTypeDefaultDescription
limitint100Maximum notes to return

Example:

@omni("knowledge.zk_toc", {"limit": 50})

zk_hybrid_search

Hybrid search combining ZK reasoning + Vector search fallback.

ParameterTypeDefaultDescription
querystr-Search query (required)
max_resultsint10Maximum results
use_hybridbooltrueUse vector fallback

Example:

@omni("knowledge.zk_hybrid_search", {"query": "architecture MCP", "use_hybrid": true})

zk_stats

Get knowledge base statistics.

Example:

@omni("knowledge.zk_stats")

zk_links

Find notes linked to/from a specific note.

ParameterTypeDefaultDescription
note_idstr-Note ID (required)
directionstr"both""to", "from", or "both"

Example:

@omni("knowledge.zk_links", {"note_id": "architecture", "direction": "both"})

zk_find_related

Find notes related to a given note using ZK's --related flag.

ParameterTypeDefaultDescription
note_idstr-Starting note ID (required)
max_distanceint2Maximum link distance
limitint20Maximum results

Example:

@omni("knowledge.zk_find_related", {"note_id": "agent-skills", "max_distance": 2})

Core Concepts

TopicDescriptionReference
Development ContextProject rules, scopes, guardrailscontext.md
Writing MemoryWriting style guidelineswriting.md
Session SummarizationTrajectory capture patternsession.md

Best Practices

  • Search first: Before adding new knowledge, search for duplicates
  • Use categories: Organize entries by category (patterns/solutions/errors/techniques)
  • Add tags: Use consistent tags for better retrieval
  • Include examples: Code examples improve AI understanding

Advanced

  • Semantic vs Text Search: Use knowledge_search for semantic understanding, search_documentation for exact matches
  • Batch Ingest: Call ingest_knowledge with clean=false for incremental updates
  • Session Continuity: Use session_id to link related sessions

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 2/19/2026

A well-structured knowledge management skill for Project Cortex with 14 detailed commands covering documentation search, semantic search, memory operations, and ZK-based reasoning. Includes comprehensive metadata, routing keywords, clear parameter tables with examples, best practices, and advanced tips. The skill is project-specific to omni-dev-fusion but demonstrates excellent documentation patterns. Strong actionability and completeness, though reusability is limited by project-specific paths and context."

95
90
70
90
95

Metadata

Licenseunknown
Version-
Updated3/2/2026
Publishertao3k

Tags

llm