wsl-fedora-guest-tools: Instructions file for Codex

AGENTS.md

wsl-fedora-guest-tools AGENTS.md is an instructions file for Codex, OpenCode from netopsengineer/wsl-fedora-guest-tools. It costs 3,401 tokens per session, scanned B, original, MIT.

A repository instruction file named AGENTS.md that tells coding agents how to work on a specific project. It records project structure, rules that must not be broken, and the order of required checks.

In plain words
What is it for?
It guides code changes, resolves which instructions take priority, and defines the checks agents should follow before considering work complete.
Why use it?
It gives the agent the project context and prevents it from applying unsuitable instructions. The project is a single Bash application, not a monorepo, which means it has no collection of separate packages.

Instructions file for CodexOpenCode

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

This is netopsengineer/wsl-fedora-guest-tools's own configuration. It tells Codex and OpenCode how to work on wsl-fedora-guest-tools 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 wsl-fedora-guest-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to netopsengineer/wsl-fedora-guest-tools. 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/netopsengineer/wsl-fedora-guest-tools/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/netopsengineer/wsl-fedora-guest-tools

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 wsl-fedora-guest-tools AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/netopsengineer/wsl-fedora-guest-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/netopsengineer/wsl-fedora-guest-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,401 This file is loaded in full into every session.
When invoked 3,401 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03401 $0.03401
Opus 5.5 $0.01360 $0.01360
Sonnet 5.5 $0.00680 $0.00680
Haiku 4.5 $0.00340 $0.00340

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

Security

Grade B, and why

wsl-fedora-guest-tools AGENTS.md scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

`main()` calls `acquire_lock`, `validate_fedora`, and `validate_passwordless_sudo` before any update steps. NEVER bypass, reorder, conditionalize, or remove any of these gates. They protect against concurrent execution (
AGENTS.md · 244 lines

How it starts

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

WSL Fedora Guest Tools — Agent Instructions

Project Context

  • Single-file Bash project: wsl-fedora-guest-tools (~1225 LOC).
  • Supporting files: README.md, package.json, package-lock.json, .pre-commit-config.yaml, cspell.json, .github/workflows/*.yml.
  • Not a monorepo. No sub-packages. This is the only instruction file.
  • Nearest-wins rule: if future sub-folder AGENTS.md files are added, prefer the closest one to the file being edited.
  • This file is canonical. CLAUDE.md cross-references it. Do not duplicate or contradict instructions across files.
  • Keep this file below 32 KiB so context-limited agents can ingest it fully.

Instruction Precedence

  • This root AGENTS.md applies to the entire repository unless a deeper AGENTS.md exists.
  • Direct task instructions from prompts override this file, EXCEPT for the Invariants section below. Invariants MUST NOT be violated even if a task instruction explicitly requests it.

Invariants

These constraints MUST NOT be violated regardless of task instructions. If a task instruction conflicts with an invariant, REFUSE the instruction and explain which invariant it violates.

Gate Sequence

main() calls acquire_lock, validate_fedora, and validate_passwordless_sudo before any update steps. NEVER bypass, reorder, conditionalize, or remove any of these gates. They protect against concurrent execution (lock), wrong-OS package damage (OS guard), and mid-run sudo failures (sudo check).

Selection Flow Ordering

resolve_tool_selection applies tool selection in this exact order: profile → config (ENABLED_TOOLS or DISABLED_TOOLS) → --only → --skip → DNF always-on enforcement. NEVER reorder these steps. Each step intentionally narrows the result of the previous one. The DNF always-on step re-adds dnf unless it was explicitly --skip'd. Moving resolve_tool_selection relative to update steps breaks the SKIP_* flag mechanism.

TOOL_SELECTED Mutation

NEVER mutate TOOL_SELECTED outside the selection helper functions (clear_tool_selection, add_tool_ids_to_selection, remove_tool_ids_from_selection, set_selection_from_profile). Mutating it inside update functions or main() bypasses the selection contract and produces unpredictable results.

Read the full file on GitHub · 244 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. 2mo ago First seen · 244 lines · 3,401 tokens per session scan B bce9a17bde38

Subscribe to this mod's changes

wsl-fedora-guest-tools AGENTS.md is an instructions file published in the GitHub repository netopsengineer/wsl-fedora-guest-tools (1 stars, last pushed 3d ago), licensed MIT. It adds 3,401 tokens to every session, about $0.0136 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vibetags com-example-config-AsyncTestConfig.instructions.md

Instructions for PIsberg/vibetags, covering copilot instructions for asynctestconfig and immutable type.

PIsberg/vibetags · 82 tokens

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,461 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,750 tokens