Skip to content
Back to skills

Reuse Before Generate

ASecurity

Intercept new project scaffolding to discover existing open-source codebases, ecosystem packages, and commercial alternatives.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
ai-agentsgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add aradar46/reuse-before-generate --skill reuse-before-generate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reuse Before Generate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reuse Before Generate
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/aradar46-reuse-before-generate/badge)](https://www.skillsdirectory.com/skills/aradar46-reuse-before-generate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
```
```

---
name: reuse-before-generate
description: Check for existing open-source repositories, packages, models, container images, and SaaS competitors before building from scratch. Trigger on /reuse-before-generate or whenever checking existing alternatives.
---
# Reuse Before Generate

Intercept new project scaffolding to discover existing open-source codebases, ecosystem packages, and commercial alternatives.

## Workflow

1. **Generate 2–4 Technical Query Angles**:
   Convert the user's request into precise technical keywords maintainers use (e.g. `["gnome speech to text", "gnome whisper dictation", "linux offline voice typing"]`).
2. **Query Code Registries**:

   - **If MCP tool (`check_before_building`) is available:**
     Call `check_before_building` with the generated queries:
     ```json
     {
       "queries": ["query 1", "query 2", "query 3"]
     }
     ```
   - **If MCP is NOT installed:**
     1. Prompt the user briefly with how to install it and refresh:
        > πŸ’‘ *`reuse-before-generate` MCP is not installed. To add it, put this in your MCP configuration and restart your session:*
        >
        > ```json
        > "reuse-before-generate": {
        >   "command": "npx",
        >   "args": ["-y", "reuse-before-generate@latest"]
        > }
        > ```
        >
     2. In the meantime, run CLI fallback (`npx -y reuse-before-generate "..."`) or targeted web searches (`site:github.com ...`) to continue answering.
3. **Execute Deep Web Search**:
   Use built-in web search to check for:

   - Commercial SaaS products and hosted services
   - Reddit / Hacker News discussions and comparisons
   - Self-hosted / indie tools and awesome-lists
4. **Present Findings & Deliverables (Keep Analysis Concise & Show All Fetched Hits)**:

   - **Recommendation (Short & Direct)**: 2–3 sentences on whether to reuse an existing tool, fork/extend one, or build from scratch.
   - **Top Alternatives Highlight**: Brief summary of the top 2–3 direct solutions found across web search and code registries.
   - **Fetched Registry Hits Table (Mandatory at end)**: Always output a structured markdown table summarizing the fetched discoveries directly from the tool output so the user sees all exact hits without wading through AI prose:
     | Project / Package | Source / Ecosystem                       | Stars / Metric      | Description         |
     | ----------------- | ---------------------------------------- | ------------------- | ------------------- |
     | [owner/repo](url)  | GitHub / GitLab                          | β˜… 4,200            | Concise description |
     | [app-name](url)    | Flathub / F-Droid / GNOME                | App ID / Downloads  | Concise description |
     | [pkg-name](url)    | PyPI / npm / Crates / Brew / AUR / Conda | Version / Downloads | Concise description |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…