LidGuard: Skill for Codex

.codex/skills/lidguard-mcp-runtime/SKILL.md

lidguard-mcp-runtime is a skill for Codex from airtaxi/LidGuard. It costs 49 tokens per session (1,777 once invoked), scanned A, original, MIT.

A reference for LidGuard's MCP server, a program that lets coding agents call LidGuard functions through the Model Context Protocol. It covers server behavior, provider configuration, and installation commands.

In plain words
What is it for?
Use it when changing MCP tools, provider MCP behavior, MCP settings, session identifiers, or standard-input/output server handling.
Why use it?
It keeps MCP registrations pointed at the current executable and ensures status, install, removal, logging, and session behavior follow the project's rules.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

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

Reuse

Borrowing it

Nothing to install: this file belongs to airtaxi/LidGuard. 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/airtaxi/LidGuard/master/.codex/skills/lidguard-mcp-runtime/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/airtaxi/LidGuard

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 lidguard-mcp-runtime

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/airtaxi/lidguard/lidguard-mcp-runtime"><img src="https://agentmods.dev/badge/skills/airtaxi/lidguard/lidguard-mcp-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.01777
Opus 5 $0.00024 $0.00889
Sonnet 5 $0.00010 $0.00355
Haiku 4.5 $0.00005 $0.00178

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

Security

Grade A, and why

lidguard-mcp-runtime 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.

.codex/skills/lidguard-mcp-runtime/SKILL.md · 83 lines

How it starts

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

LidGuard MCP Runtime

Regular MCP Server

  • Host the regular stdio MCP server through lidguard mcp-server.
  • mcp-status inspects the provider's global/user MCP configuration and reports whether the lidguard server entry is present and still points at the current LidGuard executable plus mcp-server.
  • mcp-install and mcp-remove register or remove the user/global LidGuard stdio MCP server named lidguard for Codex, Claude Code, GitHub Copilot CLI, and OpenCode.
  • mcp-install refreshes an existing managed LidGuard MCP registration, including one that points at an older LidGuard executable, by removing the existing provider entry first, then reinstalling it with the current command and arguments.
  • Windows WSL MCP management mirrors regular MCP management with WSL-side provider CLIs and config files, but the registered command must be the current Windows lidguard.exe converted through wslpath. Supported commands are wsl-mcp-status/install/remove [codex|claude|copilot|opencode|all] plus wsl-codex-mcp-*, wsl-claude-mcp-*, wsl-copilot-mcp-*, and wsl-opencode-mcp-* aliases.
  • OpenCode MCP management edits the OpenCode JSON/JSONC config directly under the mcp object using a local command array instead of calling an OpenCode CLI registration command. OpenCode MCP status should only report the managed server as installed when the entry is type = local, not disabled, points at the current LidGuard executable, and contains mcp-server in the command array.
  • Prefer the current lidguard.exe path over the Windows .cmd shim when registering stdio MCP servers, because shim wrapper processes can remain visible under MCP clients and should not be mistaken for agent work.
  • Expose get_settings_status, list_sessions, update_settings, remove_session, set_session_soft_lock, and clear_session_soft_lock.
  • Make list_sessions return the active session list plus runtime lid/session state without the full settings payload.
  • Make update_settings accept multiple setting fields in a single request and persist them together.
  • Expose inactive session timeout through sessionTimeoutMinutes, accepting off or an enabled minute count of at least 1.
  • Expose server runtime cleanup delay through serverRuntimeCleanupDelayMinutes, accepting off to keep the runtime alive, 0 for immediate exit, or a positive minute count to wait.
  • Expose post-session-end webhook URL through postSessionEndWebhookUrl, accepting an empty string to clear it.
  • Expose the ask-before-sleep reply webhook URL through closedLidStopFollowUpWebhookUrl, accepting an empty string to clear it.
  • Expose ask-before-sleep reply wait through closedLidStopFollowUpDelaySeconds, defaulting to 180; 0 disables reply waiting, and values 1 through 19 are saved but become configuration errors when the URL is configured.
  • Expose ask-before-sleep reply wait sound through closedLidStopFollowUpSound, accepting off, an empty string, a supported system sound name, or a playable .wav path.
  • Expose ask-before-sleep reply wait sound volume override through closedLidStopFollowUpSoundVolumeOverridePercent, accepting off or an enabled percent from 1 through 100.
  • Expose repeated ask-before-sleep reply behavior through repeatClosedLidStopFollowUp, defaulting to true.
  • Make remove_session manually remove active sessions by session identifier and optionally narrow removal to one provider and one MCP provider name.
  • Keep set_session_soft_lock and clear_session_soft_lock general-purpose by accepting provider and session identifier inputs, so non-MCP providers can also use MCP-driven soft-lock control when they can supply those values.
  • Use the same named-pipe client and settings store for MCP settings updates that the CLI uses.
  • Do not launch run-server from MCP settings updates when no runtime is listening.
  • Keep MCP server logging on stderr so stdio tool traffic remains clean.

Read the full file on GitHub · 83 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. 11d ago First seen · 83 lines · 49 tokens per session scan A 8aa68dd881d2

Subscribe to this mod's changes

lidguard-mcp-runtime is a skill published in the GitHub repository airtaxi/LidGuard (11 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 1,777 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

anti-sleep

Keep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs.

sickn33/agentic-awesome-skills · 22 tokens

aot-trimming

Guidelines for making .NET libraries and applications trimming-safe and Native AOT compatible. Covers the trimming/AOT model, the MSBuild properties that enable analysis (IsTrimmable, IsAotCompatible, PublishTrimmed, PublishAot), the trimming attributes (RequiresUnreferencedCode, RequiresDynamicCode…

Aaronontheweb/dotnet-skills · 181 tokens

community-research-insight

Extract structured insight briefs from community research transcripts or notes. Produces pain points, stakeholder needs, opportunity maps, risks, and follow-up questions. Requires human review before publication.

clawdotnet/openclaw.net · 41 tokens

history-explorer

Inspect recent session conversation turns and meta-run history. Returns structured JSON summaries of turn counts, role distribution, tool usage, meta-skill executions, and co-occurrence patterns. Use this before running meta-skill-creator or when the user asks about recent history, past tool usage, or session activity.

clawdotnet/openclaw.net · 65 tokens

senior-java

World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems. Expertise in Spring Framework, Spring Boot 3.x, Spring Cloud, JPA/Hibernate, and reactive programming with WebFlux. Includes project scaffolding, dependency management, security implementation, and…

benchflow-ai/skillsbench · 65 tokens

data-analyst

Connects to databases, runs SQL queries, and analyzes datasets using code to provide actionable business insights.

clawdotnet/openclaw.net · 25 tokens