openrouter-mcp: Skill for Codex

.agents/skills/security-ops/SKILL.md

security-ops is a skill for Codex from physics91/openrouter-mcp. It costs 36 tokens per session (557 once invoked), scanned A, original, MIT.

A set of procedures for handling OpenRouter API credentials and security checks in a repository. It covers safer storage, key setup, rotation, deletion, audits, and security documentation.

In plain words
What is it for?
Use it when setting up, rotating, or removing API keys, running security audits, or reviewing OpenRouter security guidance.
Why use it?
It provides a consistent way to manage secrets and check for risks in shared shells, machines, CI logs, and documentation.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is physics91/openrouter-mcp's own configuration. It tells Codex how to work on openrouter-mcp 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 openrouter-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node bin/openrouter-mcp.js status.

Reuse

Borrowing it

Nothing to install: this file belongs to physics91/openrouter-mcp. 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/physics91/openrouter-mcp/main/.agents/skills/security-ops/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/physics91/openrouter-mcp

Made for: 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 security-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/physics91/openrouter-mcp/security-ops/github.svg)](https://agentmods.dev/skills/physics91/openrouter-mcp/security-ops)
Your own site
<a href="https://agentmods.dev/skills/physics91/openrouter-mcp/security-ops"><img src="https://agentmods.dev/badge/skills/physics91/openrouter-mcp/security-ops/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 security-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/physics91/openrouter-mcp/security-ops"><img src="https://agentmods.dev/badge/skills/physics91/openrouter-mcp/security-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 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.00036 $0.00557
Opus 5.5 $0.00014 $0.00223
Sonnet 5.5 $0.00007 $0.00111
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

security-ops 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 2mo 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.

.agents/skills/security-ops/SKILL.md · 76 lines

How it starts

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

Security Ops

Overview

Use this skill for repository-local security operations around OpenRouter credentials and security hygiene. It standardizes safe defaults, audit commands, and documentation checks before someone changes key storage or claims the setup is secure.

Safe Defaults

  • Prefer OS keychain over plaintext or ad hoc env-file storage.
  • Treat shared shells, shared machines, CI logs, and screen sharing as elevated risk.
  • Never paste real API keys into issues, docs, fixtures, or examples.
  • Re-run a security audit after setup, rotation, or deletion changes.

Repository Touchpoints

  • bin/secure-credentials.js
  • bin/openrouter-mcp.js
  • docs/SECURITY.md
  • docs/SECURITY_BEST_PRACTICES.md
  • docs/SECURITY_QUICKSTART.md
  • README.md

Standard Runbook

  1. Inspect the current state:
    node bin/openrouter-mcp.js status
    node bin/openrouter-mcp.js security-audit
    
  2. For first-time setup, run:
    node bin/openrouter-mcp.js init
    
  3. For key rotation, run:
    node bin/openrouter-mcp.js rotate-key
    
  4. For credential removal, run:
    node bin/openrouter-mcp.js delete-credentials
    
  5. Re-run:
    node bin/openrouter-mcp.js security-audit
    
  6. If docs changed, scan for placeholders and unsafe examples before closing the task.

Documentation Hygiene

Run this when security docs or release docs were touched:

rg -n "yourproject.com|your-domain-here|security@" SECURITY.md docs/SECURITY.md docs/SECURITY_BEST_PRACTICES.md docs/SECURITY_QUICKSTART.md

If the repository still contains placeholder security contacts, call that out explicitly.

Shared-Environment Warnings

  • On a shared workstation, prefer keychain-backed storage and avoid .env unless the user explicitly accepts the risk.
  • Before enabling verbose logging, check whether prompts or responses could expose secrets.
  • If a task involves CI or automation, verify whether credentials are expected to live in env vars, encrypted files, or user-level stores.

Read the full file on GitHub · 76 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 76 lines · 36 tokens per session scan A 947e2caf2560

Subscribe to this mod's changes

security-ops is a skill published in the GitHub repository physics91/openrouter-mcp (10 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 557 once invoked, about $0.0001 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-08-31.

Related

security-ops compared with skills from other repositories

security-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-opsphysics91/openrouter-mcpSkill101mo agoMITA36Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code