Borrowing it
Nothing to install: this file belongs to carina-studio/ULogViewer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/carina-studio/ULogViewer/master/AGENTS.mdgit clone --depth 1 https://github.com/carina-studio/ULogViewerWrote 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.
[](https://agentmods.dev/instructions/carina-studio/ulogviewer/agents-md)<a href="https://agentmods.dev/instructions/carina-studio/ulogviewer/agents-md"><img src="https://agentmods.dev/badge/instructions/carina-studio/ulogviewer/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.
<a href="https://agentmods.dev/instructions/carina-studio/ulogviewer/agents-md"><img src="https://agentmods.dev/badge/instructions/carina-studio/ulogviewer/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.08507 | $0.08507 |
| Opus 5.5 | $0.03403 | $0.03403 |
| Sonnet 5.5 | $0.01701 | $0.01701 |
| Haiku 4.5 | $0.00851 | $0.00851 |
Grade A, and why
ULogViewer 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 25d 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.
How it starts
The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to AI coding agents when working with code in this repository.
Coding Style
Naming
| Element | Convention | Example |
|---|---|---|
| Public properties | PascalCase | AllLogCount, IsActivated |
| Private fields (instance and static) | camelCase; instance fields always qualified with this. |
this.logs, latestPanelSizeKey, defaultTimestampCultureInfo |
| Internal / protected / public fields | PascalCase | TimestampAsc |
Static ObservableProperty fields |
PascalCase + Prop suffix |
AllLogCountProp |
| Private/helper methods | PascalCase | ChangeState(), OnDataSourcePropertyChanged() |
| Public methods | PascalCase | ClearLogs(), Pause() |
| Async methods | Must end with Async |
OnPrepareShuttingDownAsync() |
| Constants | PascalCase | DefaultSidePanelSize |
| Parameters & local variables | camelCase | cancellationToken, logReader |
| Interfaces | I prefix + PascalCase |
ILogDataSource, IDisplayableLogProcessor |
| Event handlers | On prefix |
OnDataSourcePropertyChanged |
All methods use PascalCase regardless of accessibility, per the standard .NET naming convention — a private or internal helper method is named exactly like a public one (ChangeState(), not changeState()). camelCase is reserved for private fields, parameters, and local variables; there is no case in which a method is camelCase. Some existing types still use camelCase for their private methods — that is legacy, not a convention to match, and new methods in those types are PascalCase too.
Field casing follows accessibility, not lifetime — a field is camelCase when it is private (instance or static alike) and PascalCase when it is internal, protected, or public. When adding a field to an existing type, follow the convention already used in that type.
Formatting & Structure
- File-scoped namespaces — use
namespace Foo.Bar;(not block-scoped). usingdirectives outside the namespace declaration. Always import the correct namespace when using a new type; after any code modification, audit every edited file and removeusingdirectives that are no longer referenced.- Allman-style braces — opening brace on its own line for types and methods; single-statement bodies may omit braces, but only when that single statement fits on one line. If the inner statement spans multiple lines (e.g. the outer of a stacked
usingwhose innerusinghas a multi-line block), the outer statement must use braces. try/catch/finallyblocks always use full braces even when the body is a single statement or empty.this.prefix on all instance member accesses (fields and properties). It does not apply to primary-constructor parameters, which are accessed directly by name.- Static members are accessed through the type that declares them, never through a derived type that merely inherits them.
CurrentOrNullis declared onCarinaStudio.Application, whichAppinherits it from, so writeApplication.CurrentOrNull— notApp.CurrentOrNull. Both spellings bind to the identical member, so this is purely about showing the reader where the member actually lives, and about not implying that the derived type adds something it does not.using CarinaStudio;resolves the bareApplicationname; qualify it in a file that also importsAvalonia, whereAvalonia.Applicationwould collide. - Primary constructors preferred over explicit constructors when the body would only assign fields.
- Expression-bodied members for concise single-expression properties and methods.
- Assignments are dedicated statements — never combine an assignment with a value read in the same expression. Do not consume the result of an assignment (
=,??=,++,--, etc.) as a sub-expression (method argument, condition, initializer, return value, expression-bodied member, etc.). Assign on its own line first, then read the variable/field on the following line. This also rules out returning an assignment: a lazily-initialized property must use a block getter that assigns on one line and returns on the next (get { field ??= …; return field; }), not an expression body that consumes the assignment (=> field ??= …). - Enum members are listed consecutively with no blank line between them, even when each carries an XML doc comment.
- Blank lines between members — two blank lines between members of a top-level type; one blank line between members of an inner (nested) type.
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.
- 25d ago Changed · -104 tokens per session e70a0fed4db3
- 2mo ago Changed · +1 lines · +128 tokens per session 3ffe3942086c
- 2mo ago First seen · 343 lines · 8,483 tokens per session scan A df1f943e5712
ULogViewer AGENTS.md is an instructions file published in the GitHub repository carina-studio/ULogViewer (599 stars, last pushed 9d ago), licensed MIT. It adds 8,507 tokens to every session, about $0.0340 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.
ULogViewer AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ULogViewer AGENTS.mdcarina-studio/ULogViewer | Instructions file | 599 | 9d ago | MIT | A | 8,507 | Codex, OpenCode |
| plan-forge dapr.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 4,975 | GitHub Copilot |
| plan-forge database.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 1,890 | GitHub Copilot |
| plan-forge naming.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 1,453 | GitHub Copilot |
| plan-forge caching.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 733 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |