winx-code-agent: Instructions file for Codex

AGENTS.md

winx-code-agent AGENTS.md is an instructions file for Codex, OpenCode from gabrielmaialva33/winx-code-agent. It costs 994 tokens per session, scanned A, original, MIT.

A repository instruction file for Winx, a Rust-based MCP server for shell and coding-agent workflows. It documents the project layout, commands, coding conventions, and tests.

In plain words
What is it for?
Use it before developing in Winx, especially when checking the project, running tests, organizing files, or reviewing Rust changes.
Why use it?
It gives coding agents the project-specific rules needed to build, test, and change the code consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is gabrielmaialva33/winx-code-agent's own configuration. It tells Codex and OpenCode how to work on winx-code-agent 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 winx-code-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gabrielmaialva33/winx-code-agent. 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/gabrielmaialva33/winx-code-agent/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/gabrielmaialva33/winx-code-agent

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 winx-code-agent AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gabrielmaialva33/winx-code-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/gabrielmaialva33/winx-code-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 994 This file is loaded in full into every session.
When invoked 994 The same file — it is already loaded in full.
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.00994 $0.00994
Opus 5.5 $0.00398 $0.00398
Sonnet 5.5 $0.00199 $0.00199
Haiku 4.5 $0.00099 $0.00099

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

Security

Grade A, and why

winx-code-agent AGENTS.md 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 17d 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.md · 43 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

Winx is a Rust 2021 MCP server for shell and coding-agent workflows. The binary entry point is src/main.rs; library exports live in src/lib.rs. src/server.rs is the MCP-service facade, with catalog/schema, handler, principal isolation, session, Task, dispatch, and tests under src/server/; hardened HTTP transport lives in src/http_server.rs, and typed secret/config parsing in src/config.rs. Tool facades live under src/tools/; BashCommand and FileWriteOrEdit are split into focused submodules. Terminal and persistence logic belongs under src/state/, reusable parsing/path/repository/safety helpers under src/utils/, and audited libc calls exclusively under src/os.rs (the crate otherwise denies unsafe code). Integration tests live in tests/, Criterion benchmarks in benches/, cargo-fuzz targets in fuzz/, model assets in assets/, and pinned CI/release automation in .github/workflows/.

Build, Test, and Development Commands

justfile wraps the commands below; run just --list to see every recipe. just check runs formatting, host clippy, the Windows target lint, the test suite, and the MSRV check, and is the gate before any commit. just install-hooks points Git at .githooks/, whose pre-commit hook runs formatting and host clippy and whose commit-msg hook enforces Conventional Commit subjects. The toolchain is pinned in rust-toolchain.toml; bump it deliberately in its own commit, since new clippy lints land with each stable release.

  • cargo check --all-features --locked performs a fast compile check with the committed lockfile.
  • WINX_EMBEDDED=1 cargo run --release starts an in-process development server without sibling daemons.
  • cargo build --release --locked --bins produces the complete optimized Unix bundle; run ./target/release/winx-code-agent afterward.
  • cargo fmt --all -- --check verifies formatting; run cargo fmt --all to apply it.
  • cargo clippy --all-targets --all-features --locked -- -D warnings runs the enforced lint suite.
  • cargo test --all-features --locked runs the full normal test suite.
  • cargo test --features loom --lib loom_ runs the opt-in concurrency model checks.
  • cargo +1.90.0 check --all-features --locked verifies the declared MSRV.
  • cargo package --locked verifies the crates.io package.
  • cargo bench --bench performance --locked --no-run compiles the benchmark suite.
  • cargo deny --all-features check and cargo audit --deny warnings enforce dependency policy.
  • cargo +nightly fuzz build compiles all cargo-fuzz targets.

Read the full file on GitHub · 43 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. 17d ago Changed · +6 lines · +126 tokens per session f1d433da37b7
  2. 2mo ago First seen · 37 lines · 868 tokens per session scan A c8d9308e90a3

Subscribe to this mod's changes

winx-code-agent AGENTS.md is an instructions file published in the GitHub repository gabrielmaialva33/winx-code-agent (38 stars, last pushed 4d ago), licensed MIT. It adds 994 tokens to every session, about $0.0040 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-30.

Related

winx-code-agent AGENTS.md compared with instructions from other repositories

winx-code-agent AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winx-code-agent AGENTS.mdgabrielmaialva33/winx-code-agentInstructions file384d agoMITA994Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode