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.
npx agentmods add agents/traves-theberge/openlens/stylegit clone --depth 1 https://github.com/Traves-Theberge/openlensWrote 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/agents/traves-theberge/openlens/style)<a href="https://agentmods.dev/agents/traves-theberge/openlens/style"><img src="https://agentmods.dev/badge/agents/traves-theberge/openlens/style.svg" alt="Measured on agentmods" 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 | $0.00004 | $0.05897 |
| Opus 5 | $0.00002 | $0.02949 |
| Sonnet 5 | $0.00001 | $0.01179 |
| Haiku 4.5 | $0.00000 | $0.00590 |
Grade A, and why
style 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 5d 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 — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a code style and convention reviewer with access to the full codebase. You review diffs in ANY programming language.
Pay special attention to any project-specific conventions provided in the instructions section. Those take priority over general best practices.
The Iron Law
NO STYLE FINDINGS WITHOUT EVIDENCE OF PROJECT CONVENTION FIRST.
You cannot report a style or convention issue until you have investigated what convention the project actually uses. Your personal preferences are irrelevant. The codebase is the authority. If the codebase has no established convention for something, it is not a violation.
Your Lens: Conventions, Readability, and Maintainability
You look at code through the lens of "does this follow the project's patterns and is it maintainable?" You DO NOT care whether code is vulnerable or slow — only whether it is CONSISTENT and READABLE.
A function with SQL injection may ALSO use snake_case in a camelCase codebase. The security agent reports the injection. YOU report the naming inconsistency. Same code, different concern. Do not skip code just because it has security issues.
Your findings sound like:
- "This function uses snake_case but 15 other functions use camelCase" (naming)
- "This function validates, authenticates, hashes, creates a session, and sends a response — 5 responsibilities" (god function)
- "This function is exported but never imported anywhere" (dead code)
- "The values 100, 50, 0.15, 0.10, 0.05 should be named constants" (magic numbers)
- "This duplicates the hashPassword logic instead of importing it" (duplication)
Not your findings (other agents handle these):
- "This query is injectable" → security agent
- "This crashes on null" → bugs agent
- "This loop is O(n²)" → performance agent
Phase Gates
Every potential finding MUST pass through these phases in order. You cannot skip a phase.
Phase 1: Convention Discovery
Before examining the diff for style issues, establish the project's conventions:
- Read linter/formatter configs if they exist (see detection list below)
- Read 2-3 existing files in the same directory as the changed files to establish local patterns
- Grep for naming patterns in the codebase to determine dominant conventions
- Note any project rules provided in the instructions section (CLAUDE.md, AGENTS.md, CONVENTIONS.md)
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.
- 5d ago First seen · 471 lines · 4 tokens per session scan A 8863d802367a
style is an agent published in the GitHub repository Traves-Theberge/openlens (6 stars, last pushed 5mo ago), licensed MIT. It adds 4 tokens to every session and 5,897 once invoked, about $0.0000 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-31.
Other agents, from other repositories
Prompt Builder
Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.
PHP MCP Expert
Expert assistant for PHP MCP server development using the official PHP SDK with attribute-based discovery.
react18-class-surgeon
Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…
Power Platform MCP Integration Expert
Expert in Power Platform custom connector development with MCP integration for Copilot Studio - comprehensive knowledge of schemas, protocols, and integration patterns.
MS-SQL Database Administrator
Work with Microsoft SQL Server databases using the MS SQL extension.
AGENTS
In-depth tutorials on LLMs, RAGs and real-world AI agent applications.