knowledge

List agents, skills, and code snippets from a SGai workspace.

130|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/sandgardenhq/sgai --skill knowledge-sandgardenhq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge
Source: https://github.com/sandgardenhq/sgai/tree/main/docs/sgai-skills/knowledge
Command: npx skills add https://github.com/sandgardenhq/sgai --skill knowledge-sandgardenhq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams need a fast way to discover the agents, skills, and code snippets defined in a SGai workspace without manually browsing the .sgai directory structure.

Core Features & Use Cases

  • Agent Discovery: List all agents available in the workspace, useful for allocating responsibilities.
  • Skill Catalog: Retrieve hierarchical skill listings and detailed content, enabling quick reuse of best‑practice workflows.
  • Snippet Library: Search and fetch code snippets by language, streamlining prototyping and implementation.

Quick Start

Ask the knowledge skill to list all agents in the workspace named "my-project".

Frequently Asked Questions about knowledge

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

FAQPage Schema
How do I list all agents and skills defined in an SGai workspace?

To list agents and skills in an SGai workspace, use the knowledge skill to query the .sgai directory, retrieving all agent definitions and hierarchical skill listings for allocation and reuse.

Can I retrieve code snippets from the .sgai directory without manually browsing the folder?

Yes, you can retrieve code snippets from the .sgai directory by querying the knowledge skill, which searches and fetches snippet definitions to streamline prototyping and implementation.

Do I need a running SGai server to browse workspace agents and snippets?

Yes, browsing workspace agents and snippets requires a running SGai server with access to the workspace's .sgai folder to retrieve definitions for planning and execution tasks.

What is the best way to discover available agents in a locally hosted SGai workspace?

The best way to discover available agents in a locally hosted SGai workspace is to ask the knowledge skill to list all agents, enabling quick allocation of responsibilities across the project.

How does the SGai knowledge skill handle hierarchical skill catalog retrieval?

The knowledge skill handles hierarchical skill retrieval by fetching detailed skill content and listings from the .sgai directory, enabling quick reuse of best-practice workflows during execution.

Are there limitations when using the knowledge skill across different SGai workspaces?

The knowledge skill is applicable to any locally hosted SGai workspace, but it requires the .sgai directory to be populated and accessible to successfully retrieve agents, skills, and snippets.