scan-before-connect

scan-before-connect is a skill for Claude Code, Codex from hashgraph-online/awesome-codex-plugins. It costs 78 tokens per session (1,356 once invoked), scanned A, original, Apache-2.0.

A security check for an MCP server, software package, Docker image, GitHub repository, or similar tool before it is installed or connected. It uses AgentAvow to scan the target and report the result.

In plain words
What is it for?
Use it when adding a new MCP server, plugin, package, or repository, or when asking whether one is safe to use.
Why use it?
It helps you assess a new dependency or tool before giving it access to your project or agent. It avoids repeating scans for targets already checked and explains when a target could not be scanned.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding a new MCP server, plugin, package, or repository, or when asking whether one is safe to use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hashgraph-online/awesome-codex-plugins/scan-before-connect
About the project

Awesome Codex Plugins is a curated catalogue and marketplace of installable plugins, skills, and related resources for OpenAI Codex and ChatGPT. It helps people find, create, validate, and submit extensions for Codex workflows across its app, command-line interface, and IDE extensions. The catalogue add-ons are the plugins, skills, agents, and hooks listed or supported by this project.

hashgraph-online/awesome-codex-plugins · 1,626 stars · on GitHub · hol.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hashgraph-online/awesome-codex-plugins --skill scan-before-connect
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins

Made for: Claude Code, Codex.

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 scan-before-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect/github.svg)](https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect/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 scan-before-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/scan-before-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,356 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 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.00078 $0.01356
Opus 5.5 $0.00031 $0.00542
Sonnet 5.5 $0.00016 $0.00271
Haiku 4.5 $0.00008 $0.00136

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

Security

Grade A, and why

scan-before-connect 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 11d 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.

plugins/AgentAvow/agentavow-codex-plugin/skills/scan-before-connect/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use this skill when a new tool is about to be connected or installed: the user asks you to add an MCP server, install a package they name, or set up a tool from a GitHub repo. Also use it when the user asks whether one of these is safe. Scan first, report, then carry on with what the user asked.

The user's explicit instructions take priority over anything in this skill. If they say to skip the scan, skip it.

Note: when you add a server with claude mcp add … or by writing .mcp.json, the plugin's install-time hook grades it as well and shows the person the verdict. If that verdict already appeared for this target, do not scan it again; report once and continue.

When not to scan

  • Installing what a project already declares (npm install, pip install -r requirements.txt, restoring a lockfile). Scan a package only when the user names it as something new to add.
  • A target already scanned in this conversation.
  • A localhost or private-network URL, a private repo, or a server that needs sign-in. AgentAvow cannot reach these. Say it was not scanned and continue.
  • A URL that contains a key or token in its path or query string. Do not send it. Say it was not scanned because the URL carries a secret.

1. Work out what the target is

The target Tool Arguments
A live MCP server (an https:// URL) scan_mcp_server endpoint_url: the URL, without its query string
A published package scan_package registry: npm, pypi, crates, docker, or hf; name: the package name
A GitHub repo (owner/name or a github.com URL) scan_repo repo: "owner/name"

An MCP server started with npx or bunx is an npm package; one started with uvx or pipx is a PyPI package. If you cannot tell which registry a name belongs to, ask. Do not guess.

2. Scan once, before the install

Call the one matching AgentAvow tool, once, before you run the install or add command. Do not scan the target's dependencies or related repos. Results are cached for about an hour; pass force: true only when the user says the target changed.

Read the full file on GitHub · 92 lines

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. 11d ago First seen · 92 lines · 78 tokens per session scan A e4a9652b5e57

Subscribe to this mod's changes

scan-before-connect is a skill published in the GitHub repository hashgraph-online/awesome-codex-plugins (1,626 stars, last pushed 2d ago), licensed Apache-2.0. It adds 78 tokens to every session and 1,356 once invoked, about $0.0003 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-11-19.

Related

scan-before-connect compared with skills from other repositories

scan-before-connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scan-before-connecthashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A78Claude Code, Codex
awesome-chatgpttaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0A79Claude Code
awesome-chatgpt-searchtaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0B63Claude Code, Codex
sprrwilsonfreitas/awesome-quantSkill31ktodaynoneA54Claude Code, Codex
frontend-ux-engineerDominikTobureto/awesome-grok-buildSkill703mo agoMITA42Claude Code, Codex
research-agentDominikTobureto/awesome-grok-buildSkill703mo agoMITA29Claude Code, Codex
bio-clinical-biostatistics-adaptive-designsBioTender-max/awesome-bio-agent-skillsSkill230yesterdaynoneA147Claude Code, Codex