Agent skill
raycast-snippets
Create and manage Raycast Snippets automatically. Use this skill when the user wants to save a prompt, template, or text snippet to their Raycast configuration.
Install this agent skill to your Project
npx add-skill https://github.com/ttmouse/skills/tree/main/raycast-snippets
SKILL.md
Raycast Snippet Generator
Capabilities
This skill allows you to generate and save Raycast Snippets directly to the user's configuration file.
Usage Process
-
Analyze Request:
- Identify the core content the user wants to save.
- If the user asks for a "prompt" or "role", generate a high-quality, structured system prompt.
- If the user asks for a "template", ensure it has placeholders (e.g.,
{date}).
-
Generate Metadata:
- Name: Create a short, descriptive title (e.g., "Python Logger").
- Keyword: Suggest a short abbreviation for quick access (e.g.,
!log,;py). - Text: The actual content.
-
Execute Storage:
- You have a helper script located at:
~/.claude/skills/raycast-snippets/scripts/manage_snippets.py - Construct the command using the following format:
bash
python3 ~/.claude/skills/raycast-snippets/scripts/manage_snippets.py --name "Snippet Name" --text "Snippet Content" --keyword "optional_keyword" - IMPORTANT: You must use the
Bashtool to execute this command. Do not just display it.
- You have a helper script located at:
-
Confirm:
- Inform the user that the snippet has been saved.
- Remind them to Import the JSON file in Raycast if they haven't set up auto-sync for that specific file (though this script modifies the source file directly, Raycast might need a re-import if it's not the live database).
Example
User: "Save a snippet for a standard git commit message."
Assistant:
- Generates content:
feat: <description>\n\n[optional body]\n\n[optional footer] - Generates command:
python3 ~/.claude/skills/raycast-snippets/scripts/manage_snippets.py --name "Git Commit" --text "feat: ..." --keyword ";gc" - Executes command via Bash.
- Responds: "Saved 'Git Commit' snippet with keyword ';gc'."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
template-skill
Replace with description of the skill and when Claude should use it.
prompt-analyzer
提示词分析与洞察 - 查看Prompt详情、对比差异、推荐相似提示词、元素库统计
meta-skill
元技能 - 对话复盘与技能进化。在对话结束后分析:已用技能是否可优化、未形成技能的流程是否值得沉淀。当用户说"复盘"、"回顾对话"、"优化技能"、"沉淀经验"、"这个流程可以复用吗"、"技能体系复盘"、"技能健康检查"等关键词时触发,或用户显式调用 /meta-skill。
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
downloads-organizer
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
gemini-gen
Generates images using Google's Gemini model. Prioritizes standard resolution to save quota. Automatically opens images on macOS.
Didn't find tool you were looking for?