smithery.ai

add-search-engine

Integrate a new LLM search provider into Mentha

First seen Apr 3, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,779 B
  • docs SUMMARY.md 72 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Add Search Engine Skill

When the user requests to add a new AI search engine (e.g., "Integrate Claude 3", "Add Anthropic"), follow these steps:

Steps

  1. Create Provider File

- Create src/infrastructure/search/{provider-name}.provider.ts - Import the ISearchProvider interface from src/domain/search/types.ts - Implement all required methods

  1. Provider Template

```typescript import { ISearchProvider, SearchOptions, SearchResult } from '../../domain/search/types.js'; import { env } from '../../config/index.js';

export class {ProviderName}Provider implements ISearchProvider { private readonly apiKey: string;

constructor() { this.apiKey = env.{PROVIDER}APIKEY ?? ''; if (!this.apiKey) { throw new Error('{PROVIDER}APIKEY is required'); } }

async search(query: string, options?: SearchOptions): Promise<SearchResult> { // Implementation } } ```

  1. Update Factory

- Edit src/infrastructure/search/factory.ts - Add the new provider to the createProvider function - Add the provider enum value

  1. Update Environment

- Add {PROVIDER}APIKEY to .env.example - Add to the env schema in src/config/env.ts

  1. Update Schema

- Add provider to the engines enum in controller schemas

  1. Test

- Run npm run typecheck to verify compilation - Create a basic integration test

Validation Checklist

  • Provider implements ISearchProvider interface
  • Environment variable documented in .env.example
  • Factory updated with new provider
  • Controller enum includes new provider
  • No TypeScript errors