Skip to content
Back to skills

Omp Search

ASecurity

Use when headless web search needs OMP's provider routing, explicit provider choice, or structured JSON output.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
toolsjavascripttypescriptjavashelldebugging

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add anntnzrb/agents --skill omp-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omp Search?

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

Security grade badge for Omp Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anntnzrb-omp-search/badge)](https://www.skillsdirectory.com/skills/anntnzrb-omp-search)

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: omp-search
description: "Use when headless web search needs OMP's provider routing, explicit provider choice, or structured JSON output."
license: AGPL-3.0-or-later
metadata:
  author: anntnzrb

---

# OMP Search

Use this skill when an agent needs live web search through the installed OMP CLI, especially for recency-sensitive research, explicit provider selection, or unattended execution.

## Entry point

Run the cross-platform wrapper; do not invoke a shell, source an environment file, or scrape OMP's terminal panel yourself:

```text
uv run --script <skill-dir>/scripts/cli.py "<query>"
```

The wrapper locates `omp` on `PATH` or uses `OMP_BIN`, preserves the caller's working directory and OMP profile, and emits one JSON object to stdout.

## Workflow

1. Pass the complete search question as positional query words
2. By default, the search skill dynamically discovers all active, configured search providers from OMP's configuration, queries them concurrently in parallel, deduplicates sources across the web, and aggregates all provider-attributed intelligence for the calling agent to evaluate and synthesize
3. Pass `--providers <p1,p2,...>` to select a custom subset of providers in parallel, or `--provider <name>` / `--single` to force a single specific provider
4. Use `--recency day|week|month|year` for freshness and `--limit N` (minimum 2; defaults to 2) to bound sources per provider
5. Accept the default compact answer for agent context efficiency; pass `--full` when the complete answer matters
6. Preserve `ok`, `query`, `providers`, `providers_count`, `sources`, `sources_count`, `answer`, `exit_code`, and `error` in the caller's result. Do not expose environment values
OMP loads its own dotenv/auth configuration. Never read, copy, print, or synthesize provider secrets in this skill. Query directives such as `site:`, `after:`, and `before:` may be included in the query.

## Output contract

Success returns:
```json
{
  "ok": true,
  "query": "...",
  "provider": "ProviderA+ProviderB",
  "providers": ["ProviderA", "ProviderB"],
  "providers_count": 2,
  "answer": "### [ProviderA]\n...\n\n### [ProviderB]\n...",
  "sources": [{"title": "...", "domain": "...", "age": "..."}],
  "sources_count": 4,
  "truncated": false,
  "compact": true,
  "parsed": true,
  "exit_code": 0
}
```
`age` may be null. OMP's terminal renderer does not reliably expose source URLs, so do not invent a `url` field. Pass `--include-raw` only when debugging parser behavior. The raw field is ANSI-stripped but may include launcher diagnostics.

Failure returns the same query context with `ok: false`, an `error` object, and the child or wrapper `exit_code`. Exit `127` means `omp` is unavailable; exit `124` means the outer timeout fired; OMP's nonzero exit is preserved. Usage/configuration errors return `2`.

## Examples

```text
uv run --script <skill-dir>/scripts/cli.py "latest Bun JavaScript runtime release" --recency week --limit 3
uv run --script <skill-dir>/scripts/cli.py "ancient history of the Antikythera mechanism" --providers exa,parallel
uv run --script <skill-dir>/scripts/cli.py "current TypeScript release" --provider brave --full
```

## Runtime notes

- The wrapper is non-interactive and uses argument arrays; never interpolate a query into shell syntax
- The default timeout is 300 seconds because automatic provider fallback can outlive one provider request
- OMP may print dependency-sync noise before its panel; the wrapper removes that from structured fields
- If automatic search fails, retry once with a configured explicit provider and report the actual provider error

## Validation

```text
uv run --script <skill-dir>/scripts/cli.py --help
uv run --script <skill-creator-dir>/scripts/cli.py gates <skill-dir> --tests
uv run --script <skill-creator-dir>/scripts/cli.py quick-validate <skill-dir>
```

Files in this skill

  • SKILL.md3.8 KB
  • lib/__init__.py31 B
  • lib/config.py3 KB
  • lib/executor.py7 KB
  • lib/merge.py3.2 KB
  • lib/models.py2.8 KB
  • lib/parser.py5 KB
  • pyproject.toml934 B
  • scripts/cli.py4.6 KB
  • tests/__init__.py28 B
  • tests/test_omp_search.py34.4 KB
  • uv.lock52 B

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.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.