SkillHub

snippet

v3.0.1

Save and search code snippets in a personal vault for instant recall. Use when checking syntax, validating blocks, generating boilerplate, formatting code.

Sourced from ClawHub, Authored by bytesagain

Installation

Please help me install the skill `snippet` from SkillHub official store. npx skills add bytesagain/snippet

snippet

Code snippet manager.

Commands

save

Save snippet from stdin

scripts/script.sh save <name> [lang]

get

Display a snippet

scripts/script.sh get <name>

list

List all snippets (filter by language)

scripts/script.sh list [lang]

Search snippets by name/content/tags

scripts/script.sh search <keyword>

delete

Delete a snippet

scripts/script.sh delete <name>

tags

Add tags to a snippet

scripts/script.sh tags <name> <tag1> ...

export

Export all snippets

scripts/script.sh export <json|md>

stats

Usage statistics

scripts/script.sh stats

Requirements

  • python3

Powered by BytesAgain | bytesagain.com | [email protected]