mcp-web-search: Command for OpenCode

.opencode/command/test.md

test is a command for OpenCode from himanshu231204/mcp-web-search. It costs 5 tokens per session (141 once invoked), scanned A, a copy of test, MIT.

A command that runs a project's full testing pipeline: type checking, linting, and automated tests. Type checking finds mismatched data types, linting finds style and common-code problems, and tests check expected behavior.

In plain words
What is it for?
Use it to run `pnpm type:check`, `pnpm lint`, and `pnpm test`, report failures, and verify the project after corrections.
Why use it?
It combines the project's main automated checks so failures are reported in one workflow. It can then repeat the checks after fixes until they pass.

Command for OpenCode

Written for OpenCode: installed under .opencode/.

This is himanshu231204/mcp-web-search's own configuration. It tells OpenCode how to work on mcp-web-search itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-web-search configures →

Reuse

Borrowing it

Nothing to install: this file belongs to himanshu231204/mcp-web-search. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/himanshu231204/mcp-web-search/main/.opencode/command/test.md
Clone the repo
git clone --depth 1 https://github.com/himanshu231204/mcp-web-search

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test

README.md
[![agentmods](https://agentmods.dev/badge/commands/himanshu231204/mcp-web-search/test/github.svg)](https://agentmods.dev/commands/himanshu231204/mcp-web-search/test)
Your own site
<a href="https://agentmods.dev/commands/himanshu231204/mcp-web-search/test"><img src="https://agentmods.dev/badge/commands/himanshu231204/mcp-web-search/test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test

Your own site · 80×15
<a href="https://agentmods.dev/commands/himanshu231204/mcp-web-search/test"><img src="https://agentmods.dev/badge/commands/himanshu231204/mcp-web-search/test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 141 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00005 $0.00141
Opus 5.5 $0.00002 $0.00056
Sonnet 5.5 $0.00001 $0.00028
Haiku 4.5 $0.00001 $0.00014

Measured 14d ago against content hash 2cf3b3b8d1ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to test — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/command/test.md · 26 lines

What it actually says

Testing Pipeline

This command runs the complete testing pipeline for the project.

Usage

To run the complete testing pipeline, just type:

  1. Run pnpm type:check
  2. Run pnpm lint
  3. Run pnpm test
  4. Report any failures
  5. Fix any failures
  6. Repeat until all tests pass
  7. Report success

What This Command Does

  1. Runs pnpm type:check to check for type errors
  2. Runs pnpm lint to check for linting errors
  3. Runs pnpm test to run the tests
  4. Reports any failures
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 26 lines · 5 tokens per session scan A 2cf3b3b8d1ba

Subscribe to this mod's changes

test is a command published in the GitHub repository himanshu231204/mcp-web-search (2 stars, last pushed 16d ago), licensed MIT. It adds 5 tokens to every session and 141 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to test, differing in 0 lines, and is treated as a copy.

Related

test compared with commands from other repositories

test next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testhimanshu231204/mcp-web-searchCommand216d agoMITA5OpenCode
fest-showObedience-Corp/festivalCommand1726d agoApache-2.0A17Claude Code
synthesise-reviewsflonat/flonat-researchCommand15515d agoMITA47Claude Code
verify-mathflonat/flonat-researchCommand15515d agoMITA81Claude Code
prep-rolefourleafai/clover-publicCommand810d agoMITA0Claude Code
hypothesisAznatkoiny/zAI-SkillsCommand1022d agoMITA8Claude Code
auditoria-legalMazalucas/El-DT-Lightweight-ArmyCommand4yesterdayMITA0Claude Code