CodexBarWin CLAUDE.md

CodexBarWin CLAUDE.md is an instructions file for coding agents from nek0der/CodexBarWin. It costs 616 tokens per session, scanned A, original, MIT.

Repository instructions for a Windows 11 desktop app built with WinUI 3 that monitors coding-tool usage through CodexBar CLI.

In plain words
What is it for?
Use them when changing services, data models, view models, views, helpers, logging, provider handling, or tests.
Why use it?
They record the app’s structure, build and test commands, coding conventions, and required safety checks.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nek0der/codexbarwin/claude-md
Clone the repo
git clone --depth 1 https://github.com/nek0der/CodexBarWin

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 CodexBarWin CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nek0der/codexbarwin/claude-md.svg)](https://agentmods.dev/instructions/nek0der/codexbarwin/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nek0der/codexbarwin/claude-md"><img src="https://agentmods.dev/badge/instructions/nek0der/codexbarwin/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 616 This file is loaded in full into every session.
When invoked 616 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00616 $0.00616
Opus 5 $0.00308 $0.00308
Sonnet 5 $0.00123 $0.00123
Haiku 4.5 $0.00062 $0.00062

Measured 3d ago against content hash 43ed64f634b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

CodexBarWin CLAUDE.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 3d 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.

CLAUDE.md · 73 lines

How it starts

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

CodexBarWin

Windows 11 WinUI 3 app for AI coding tool usage monitoring. Frontend for CodexBar CLI.

Stack

.NET 10, WinUI 3, Windows App SDK, MVVM (CommunityToolkit.Mvvm), H.NotifyIcon.WinUI, MSTest/Moq/FluentAssertions

Commands

dotnet build -c Release -p:Platform=x64                          # Build
dotnet test CodexBarWin.Tests.Unit -c Debug -p:Platform=x64      # Test
dotnet restore CodexBarWin.sln                                   # Restore

Structure

Services/       - Business logic (IWslService, ICodexBarService)
Models/         - Data models, DTOs
ViewModels/     - MVVM ViewModels
Views/          - XAML pages
Helpers/        - Utility classes

Code Style

  • All deliverables in English (code, comments, commits, docs)
  • Async: Use SafeFireAndForget(), no bare async void except event handlers
  • Logging: ILogger<T>, not Debug.WriteLine
  • Security: Use ProviderConstants.ValidateAndNormalize() for provider names

Testing

Required for Services/, Models/, Helpers/ changes. See .claude/rules/testing.md for details.

Pull Requests

Before creating PR: Read .claude/rules/pr-workflow.md for validation checklist and process.

PR titles must follow format: Add:, Fix:, Update:, Refactor:, Test:, Docs:, Remove:

Security

Read .claude/rules/security.md before modifying Services/Models.

Critical rules:

  • NO GPL dependencies (MIT incompatible)
  • NO hardcoded secrets
  • ALWAYS validate provider input

Important Files

  • Services/CodexBarService.cs - Core usage data fetching
  • Models/ProviderConfig.cs - Provider validation (security-critical)
  • MainWindow.xaml.cs - System tray, window animation
  • ViewModels/MainViewModel.cs - Main UI state

CI/CD

Workflows: build, test, licenses, pr-title, stale

All PRs must pass CI. Uses Squash & Merge strategy.

Read the full file on GitHub · 73 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. 3d ago First seen · 73 lines · 616 tokens per session scan A 43ed64f634b0

Subscribe to this mod's changes

CodexBarWin CLAUDE.md is an instructions file published in the GitHub repository nek0der/CodexBarWin (23 stars, last pushed 21d ago), licensed MIT. It adds 616 tokens to every session, about $0.0031 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-30.