LidGuard: Skill for Codex

.codex/skills/lidguard-implementation-map/SKILL.md

lidguard-implementation-map is a skill for Codex from airtaxi/LidGuard. It costs 45 tokens per session (1,589 once invoked), scanned A, original, MIT.

A map of the LidGuard codebase and its design boundaries. It explains where shared logic belongs, how Windows, Linux, and macOS code is separated, and how the .NET application is organized.

In plain words
What is it for?
Use it when changing repository structure, feature ownership, platform files, project targets, or other architectural parts of LidGuard.
Why use it?
It reduces the risk of putting code in the wrong subsystem or breaking platform-specific builds and NativeAOT requirements.

Skill for Codex

Written for Codex: agents/openai.yaml present.

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-implementation-map/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-implementation-map

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/airtaxi/lidguard/lidguard-implementation-map"><img src="https://agentmods.dev/badge/skills/airtaxi/lidguard/lidguard-implementation-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,589 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.00045 $0.01589
Opus 5 $0.00023 $0.00794
Sonnet 5 $0.00009 $0.00318
Haiku 4.5 $0.00005 $0.00159

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

Security

Grade A, and why

lidguard-implementation-map 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 9d 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-implementation-map/SKILL.md · 80 lines

How it starts

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

LidGuard Implementation Map

Scope

Use this skill for repository shape, subsystem ownership, and architectural constraints. Keep release-phase tracking, completed-component inventories, and missing-work lists out of this file.

Repository Shape

  • LidGuard
    • .NET 10 console app targeting net10.0.
    • Visual Studio platform switching uses RID-shaped solution/project platforms windows-x86, windows-x64, windows-arm64, linux-x64, linux-arm64, macos-x64, and macos-arm64; the project maps those to RuntimeIdentifier and LidGuardTargetPlatform.
    • Standalone hook-facing CLI plus in-process headless runtime and stdio MCP server hosting.
    • Common, platform-neutral models and policies live in feature folders such as Sessions, Settings, Power, Services, Results, and Processes.
    • Shared provider/hook utilities live under Hooks in regular *.cs files.
    • Windows-specific runtime/process/power implementations live in *.windows.cs.
    • Linux-specific systemd/logind, /proc, and /sys implementations live in *.linux.cs.
    • macOS-specific runtime/process/power implementations live in *.macOS.cs.
    • Platform-specific files are compiled according to LidGuardTargetPlatform, which is selected from Visual Studio Platform, then RID, then current host OS.
    • Nullable is intentionally not enabled in the csproj.
    • ImplicitUsings is enabled.
    • NativeAOT/trimming compatibility flags are enabled.
    • Uses CsWin32 with CsWin32RunAsBuildTask=true and DisableRuntimeMarshalling=true for AOT compatibility.
    • Uses root namespace LidGuard and assembly/apphost name lidguard.
    • Prepared for .NET 10 RID-specific NativeAOT .NET tool distribution as NuGet package lidguard with tool command lidguard.
    • Package RID support is prepared for win-x64, win-x86, win-arm64, linux-x64, linux-arm64, osx-x64, and osx-arm64, but the release workflow excludes linux-arm64 because of the NativeAOT cross-linking known issue documented in the .NET Tool Package Guidelines.
    • Uses a named pipe to send start, stop, remove-session, status, settings, and cleanup-orphans requests to the runtime.
    • Hosts the stdio MCP server through the mcp-server subcommand.
    • Stores default settings JSON under the platform local application data directory, such as %LOCALAPPDATA%\LidGuard\settings.json on Windows, ~/.local/share/LidGuard/settings.json on typical Linux desktops, or the .NET local application data path on macOS.
  • LidGuard.Notifications
    • .NET 10 ASP.NET Core Razor Pages app targeting net10.0.
    • Receives LidGuard pre-suspend, post-session-end, and ask-before-sleep reply webhooks and sends browser Web Push notifications to subscribed clients.
    • Stores subscriptions, webhook events, ask-before-sleep reply state, and delivery attempts in SQLite.
    • Uses server-side VAPID settings; VAPID private keys and access tokens must never be committed.
  • LidGuard.slnx
    • Root solution file including LidGuard and LidGuard.Notifications.

Read the full file on GitHub · 80 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. 9d ago First seen · 80 lines · 45 tokens per session scan A 13024dbb1cbe

Subscribe to this mod's changes

lidguard-implementation-map is a skill published in the GitHub repository airtaxi/LidGuard (10 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,589 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

agui-dotnet-streaming-chat

Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…

ag-ui-protocol/ag-ui · 223 tokens

azure-eventgrid-dotnet

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven"…

microsoft/skills · 80 tokens

azure-maps-search-dotnet

Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route…

microsoft/skills · 91 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

create-datadriven-aspnetcore

Generate or scaffold ASP.NET Core code — Razor Pages, Blazor components, MVC controllers, views, and Minimal API endpoints — without using ASP.NET Core CLI scaffolding/code-generation tools. Use when (1) adding CRUD pages, views, or API endpoints backed by Entity Framework (EF Core) and a database, (2) generating code…

dotnet/skills · 147 tokens

minimal-api-file-upload

File upload endpoints in ASP.NET minimal APIs (.NET 8+).

dotnet/skills · 18 tokens