union-search-skill: Instructions file for Codex

AGENTS.md

union-search-skill AGENTS.md is an instructions file for Codex, OpenCode from runningZ1/union-search-skill. It costs 792 tokens per session, scanned A, original, MIT.

Repository instructions for a unified search tool that can search multiple sources, extract page text, download images, and download media. Its Python command-line interface provides the shared entry point and channel-specific adapters.

In plain words
What is it for?
Use them when changing search, page extraction, image, or media-download features, or when checking the command's available operations and tests.
Why use it?
They explain where capabilities live and set rules for dependencies, credentials, temporary work, documentation, and verification, reducing inconsistent changes across search channels.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is runningZ1/union-search-skill's own configuration. It tells Codex and OpenCode how to work on union-search-skill 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 union-search-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to runningZ1/union-search-skill. 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/runningZ1/union-search-skill/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/runningZ1/union-search-skill

Made for: Codex, 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 union-search-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/runningz1/union-search-skill/agents-md/github.svg)](https://agentmods.dev/instructions/runningz1/union-search-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/runningz1/union-search-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/runningz1/union-search-skill/agents-md/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 union-search-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/runningz1/union-search-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/runningz1/union-search-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 792 This file is loaded in full into every session.
When invoked 792 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00792 $0.00792
Opus 5.5 $0.00317 $0.00317
Sonnet 5.5 $0.00158 $0.00158
Haiku 4.5 $0.00079 $0.00079

Measured today against content hash 3b1ac7b5eb5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

union-search-skill AGENTS.md 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 today.

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.

AGENTS.md · 43 lines

What it actually says

项目规则

项目职责

union-search-skill 提供一个根技能,通过 union_search_cli.py 统一调用搜索渠道、正文提取、图片下载和 yt-dlp 媒体下载。渠道目录是执行模块。SKILL.md 负责触发、任务选择和结果契约,详细步骤放入 references/ 和对应模块 README。

开发入口

  • Python 依赖:python -m pip install -r requirements.txt。
  • Node.js 依赖:npm ci;Defuddle 的准备步骤见 scripts/url_to_markdown/README.md。
  • 能力清单:python union_search_cli.py list --pretty。
  • 参数与结构:python union_search_cli.py schema --pretty 和子命令 --help。
  • 环境检查:python union_search_cli.py doctor --platforms <渠道>。

文件职责

  • scripts/cli/:参数、能力注册、输出信封、适配器和错误码。
  • scripts/union_search/:并发搜索、分组和凭据元数据。
  • scripts/channels/:每个服务一个目录,API 与无需 API Key 的版本共用服务目录。
  • scripts/url_to_markdown/、scripts/union_image_search/、scripts/downloader/:正文、图片与媒体能力。
  • references/:按任务阅读的操作说明;evals/:技能路由评估和验证说明。
  • tests/:已有回归用例;执行前确认符合当前测试约束。

实现约束

遵循所在模块的命名与结构。需要的依赖直接导入,不为缺失依赖编写替代实现。错误在发生位置明确失败,不增加隐藏异常或替代执行路径。不用程序批量改写代码,使用文件编辑工具修改。

能力名称、数量、默认参数和输出行为以真实 CLI 与注册表为准。修改渠道或分组时,同时检查根技能、中文与英文 README、CLI README 和编排 README。修改图片、正文或媒体接口时,同时更新任务导航与对应模块文档。

保留现有 .env,不要在命令、日志、评估或报告中输出凭据。任务中间结果放入已忽略的 .work/。不要读写 /tmp。不要覆盖用户的未跟踪文件,不执行 Git 回滚,不擅自提交或推送。

验证要求

每次功能变更运行真实入口并检查结果;文档命令通过 --help、list 或实际调用验证。禁止使用 mock、伪造响应或仅为通过测试的特殊处理。现有使用 mock 的测试不能作为本任务的验证证据。

搜索验证应检查实际来源与 ok,正文验证应检查实际提取内容,下载验证应检查真实文件。doctor 通过仅说明本地环境检查通过。需要外部凭据、网络或额度的能力,应如实记录已验证范围与未验证范围。

技能修改时运行 Yao Meta Skill 的结构、资源边界与触发检查,步骤见 evals/README.md。启发式触发评估不能证明模型的实际激活率。不要为了消除评分警告添加未经证实的维护信息或发布证据。

协作规则

全部项目规则维护在本文件。根目录 CLAUDE.md 仅包含 @AGENTS.md。修改前读取目标,发现用户已更改内容时按当前状态继续。

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. today First seen · 43 lines · 792 tokens per session scan A 3b1ac7b5eb5c

Subscribe to this mod's changes

union-search-skill AGENTS.md is an instructions file published in the GitHub repository runningZ1/union-search-skill (759 stars, last pushed today), licensed MIT. It adds 792 tokens to every session, about $0.0032 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-25.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens