openprocmon CLAUDE.md

openprocmon CLAUDE.md is an instructions file for coding agents from progmboy/openprocmon. It costs 2,435 tokens per session, scanned A, original, MIT.

Project instructions for OpenProcMon, an open-source Windows tool that monitors processes, files, and registry activity in real time. They describe its Rust application layers and unchanged kernel driver.

In plain words
What is it for?
They help an agent understand the repository layout, the Rust rewrite, the reference C++ code, and how the graphical interface, software library, and Windows driver fit together.
Why use it?
They give a coding agent the project’s structure and boundaries before it changes code, reducing the risk of working in the wrong layer.

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/progmboy/openprocmon/claude-md
Clone the repo
git clone --depth 1 https://github.com/progmboy/openprocmon

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/progmboy/openprocmon/claude-md.svg)](https://agentmods.dev/instructions/progmboy/openprocmon/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/progmboy/openprocmon/claude-md"><img src="https://agentmods.dev/badge/instructions/progmboy/openprocmon/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,435 This file is loaded in full into every session.
When invoked 2,435 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.02435 $0.02435
Opus 5 $0.01218 $0.01218
Sonnet 5 $0.00487 $0.00487
Haiku 4.5 $0.00244 $0.00244

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

Security

Grade A, and why

openprocmon 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 4d 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 · 198 lines

How it starts

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

OpenProcMon - CLAUDE.md

Project Overview

OpenProcMon is an open-source Process Monitor implementation for real-time monitoring of process, file and registry activity on Windows. Layered architecture: a kernel miniFilter driver captures events -> the SDK layer talks to the driver over a Filter Manager port -> the GUI layer presents the event data.

The SDK and GUI are a completed ground-up Rust rewrite of the original C++ implementation, which is kept under cpp-backup/ for reference. The kernel driver is unchanged.

Architecture

┌─────────────────────────────────────┐
│  GUI Layer                          │
│  ├── Rust GPUI GUI (crates/gui/)    │
│  └── C++ WTL GUI (cpp-backup/gui/)  │  [reference]
├─────────────────────────────────────┤
│  SDK Layer                          │
│  ├── Rust SDK (crates/sdk/)         │
│  └── C++ SDK (cpp-backup/sdk)       │  [reference]
├─────────────────────────────────────┤
│  Kernel Driver (kernel/)            │
│  └── miniFilter driver (complete)   │
└─────────────────────────────────────┘

Directory Structure

openprocmon/
├── Cargo.toml              # Rust workspace root (members = ["crates/*"])
├── Cargo.lock
├── bin/                    # Prebuilt binaries (stock Process Monitor driver PROCMON24.SYS)
├── kernel/                 # Kernel driver (miniFilter, complete)
│   ├── logsdk.h           # ★ Core: kernel/user-mode interface (structs the Rust SDK mirrors)
│   ├── procmon.c          # Driver entry
│   ├── process.c/h        # Process monitoring callbacks
│   ├── file.c/h           # File-operation monitoring
│   └── reg.c/h            # Registry-operation monitoring
├── crates/                 # ★ Rust workspace
│   ├── sdk/               #   procmon-sdk: driver comms + event parsing + PML read/write
│   │   ├── benches/       #     baseline.rs: CPU+memory bench (see BASELINE.md)
│   │   └── src/           #     monitor/pipeline/parse/event/filter/pml/...
│   ├── gui/               #   procmon-gui: gpui-component GUI on top of the SDK
│   │   ├── locales/       #     en/zh strings (rust-i18n)
│   │   ├── themes/        #     procmon.json (light/dark ThemeConfig + palette)
│   │   └── src/           #     app/model/components/dialogs
│   └── example/           #   procmon-example: console SDK demo (capture/save/replay)
├── docs/
│   └── design/             # GUI design mockups (React/Figma prototypes, reference only)
│       └── gui-design-v1/
└── cpp-backup/             # Original C++ implementation (kept for reference)
    ├── CMakeLists.txt
    ├── cmake/             # CMake build modules
    ├── procmon.sln
    ├── gui/               # C++ WTL GUI (reference)
    │   ├── MainFrm.h      #   Main window
    │   ├── View.h         #   Event list view
    │   ├── dataview.cpp/h #   Data-view management
    │   ├── filterdlg.cpp/h#   Filter dialog
    │   ├── filtermgr.cpp/h#   Filter management
    │   └── propdlg.cpp/h  #   Properties dialog
    └── sdk/procmonsdk/    # C++ SDK (reference)
        ├── sdk.hpp        #   SDK entry point
        ├── kernelsdk.hpp  #   Kernel struct definitions (references logsdk.h)
        ├── monctl.cxx/hpp #   Monitor controller: driver connect, start/stop
        ├── eventmgr.cxx/hpp #  Event manager: queueing and dispatch
        ├── event.cxx/hpp  #   Event object
        ├── eventview.cxx/hpp # Event view interface
        ├── eventfactory.cxx/hpp # Event parsing factory
        ├── drvload.cxx/hpp#   Driver load/unload
        ├── procmgr.cxx/hpp#   Process management
        ├── process.cxx/hpp#   Process info
        ├── fileopt.cxx/hpp#   File-operation parsing
        ├── regopt.cxx/hpp #   Registry-operation parsing
        ├── procopt.cxx/hpp#   Process-operation parsing
        ├── buffer.cxx/hpp #   Thread-safe message buffer
        ├── thread.cxx/hpp #   Thread wrapper
        ├── strmaps.cxx/hpp#   String maps (enum value -> display name)
        ├── utils.cxx/hpp  #   Utility functions
        └── logger.cxx/hpp #   Logging framework

Read the full file on GitHub · 198 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. 4d ago First seen · 198 lines · 2,435 tokens per session scan A 8d97eace3ef9

Subscribe to this mod's changes

openprocmon CLAUDE.md is an instructions file published in the GitHub repository progmboy/openprocmon (332 stars, last pushed 7d ago), licensed MIT. It adds 2,435 tokens to every session, about $0.0122 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.