OpenParable
Skip to content
← Back to skills

Raycast Snippets

Apps & Automation
raycast-snippets

Raycast Snippets is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/raycast-snippets/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/raycast-snippets, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Raycast Snippet Generator

Capabilities

This skill allows you to generate and save Raycast Snippets directly to the user's configuration file.

Usage Process

  1. 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}).
  2. 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.
  3. Execute Storage:

    • You have a helper script located at: ~/.claude/skills/raycast-snippets/scripts/manage_snippets.py
    • Construct the command using the following format:
      python3 ~/.claude/skills/raycast-snippets/scripts/manage_snippets.py --name "Snippet Name" --text "Snippet Content" --keyword "optional_keyword"
      
    • IMPORTANT: You must use the Bash tool to execute this command. Do not just display it.
  4. 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:

  1. Generates content: feat: <description>\n\n[optional body]\n\n[optional footer]
  2. Generates command: python3 ~/.claude/skills/raycast-snippets/scripts/manage_snippets.py --name "Git Commit" --text "feat: ..." --keyword ";gc"
  3. Executes command via Bash.
  4. Responds: "Saved 'Git Commit' snippet with keyword ';gc'."