autosnippet-concepts

Explain AutoSnippet knowledge base concepts and component relationships.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-concepts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autosnippet-concepts
Source: https://github.com/GxFn/AutoSnippet/tree/main/skills/autosnippet-concepts
Command: npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-concepts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill clarifies AutoSnippet's knowledge base concepts and how recipes, Snippets, candidates, and context storage are organized and used within AutoSnippet. It enables agents to answer questions about where these components live, how they relate, and how they interact with the knowledge base to drive AI behavior and Guard workflows.

Core Features & Use Cases

  • Knowledge base concepts: knowledge base (知识库), Recipe (配方), Snippet, Candidates, context storage (向量库), and their locations within AutoSnippet.
  • Context and search workflows: how the context index is built, how on-demand semantic search integrates with Guard and Dashboard workflows, and how Recipes and Docs support AI guidance.
  • Use cases: answering questions about KB structure, locating Recipes and Snippets, and understanding where knowledge resides for context loading and reasoning.

Quick Start

To understand AutoSnippet's KB and Recipes, ask the agent to explain the relationships or run contextual search (autosnippet_context_search) to locate relevant Recipes/docs.

Frequently Asked Questions about autosnippet-concepts

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

FAQPage Schema
What is a knowledge base in AutoSnippet and how do recipes and snippets relate to it?

A knowledge base in AutoSnippet organizes recipes, snippets, and candidates to drive AI behavior. Recipes define workflows, snippets store reusable context, and candidates represent potential matches, all linked through context storage to support semantic search and Guard workflows.

How do I locate recipes and snippets within AutoSnippet's context storage?

To locate recipes and snippets within AutoSnippet's context storage, run the contextual search function (autosnippet_context_search). This on-demand semantic search queries the context index to retrieve relevant recipes and documentation based on your input.

How does semantic search integrate with Guard workflows in AutoSnippet?

Semantic search integrates with Guard workflows by querying the on-demand context index built from the knowledge base. This allows Guard to load relevant recipes and snippets dynamically, informing AI behavior and ensuring contextually accurate responses during workflow execution.

Can I use AutoSnippet recipes to guide AI behavior without manually loading context?

Yes, AutoSnippet recipes support AI guidance by defining structured workflows within the knowledge base. The system uses an on-demand context index to automatically retrieve necessary snippets and candidates during semantic search, eliminating manual context loading for Guard workflows.

What is the difference between a snippet and a candidate in AutoSnippet's knowledge base?

In AutoSnippet's knowledge base, a snippet is a stored reusable piece of context or code, while a candidate represents a potential match generated during search workflows. Both reside in context storage and are organized by recipes to inform AI behavior and Guard processes.