autosnippet-search

Guide when to surface knowledge-base code snippets during editing workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers on when to surface knowledge-base code snippets during editing, preventing unnecessary interruptions while coding.

Core Features & Use Cases

  • Decision guidance: Determines if and when a Recipe snippet should be suggested on the current line.
  • Routing hints: Recommends the correct workflow to use autosnippet-intent for routing and autosnippet-recipes for actual lookup.
  • On-demand context: Works with MCP context to fetch relevant Candidates when the UI is running.

Quick Start

In editor: place a search directive like // as:search <keyword> on the current line, save, and review the suggested Recipes in the Dashboard to insert the best match.

Frequently Asked Questions about autosnippet-search

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

FAQPage Schema
How do I surface relevant code snippets on demand while editing?

Code snippets are surfaced on demand by placing a search directive like // as:search <keyword> on the current editor line and saving, which routes the query to suggest standard recipes.

When should I trigger a knowledge-base snippet search in my editor?

Trigger a knowledge-base snippet search when you need to locate or insert standard code, using decision guidance to prevent unnecessary interruptions during your normal coding workflow.

Can I use a search directive to locate standard recipes in my code?

Yes, you can use a search directive on the current line to locate standard recipes, routing the lookup to autosnippet-recipes to fetch and review the best matching candidates.

Does the snippet search routing require MCP context to fetch candidates?

Yes, snippet search routing requires MCP context to fetch relevant Candidates when the UI is running, ensuring on-demand context is delivered through the autosnippet-intent workflow.

What is the best way to insert standard code from recipes without interrupting my workflow?

The best way to insert standard code without interruptions is using on-demand routing guidance that evaluates your current line, fetches recipe candidates via MCP, and suggests matches in the Dashboard.