lianli_207_lcd: Instructions file for Codex

AGENTS.md

lianli_207_lcd AGENTS.md is an instructions file for Codex, OpenCode from deyloop/lianli_207_lcd. It costs 1,438 tokens per session, scanned B, original, MIT.

A Linux driver for the Lian Li Lancool 207 computer case's digital LCD screen. It reads CPU, GPU, memory, and network information and sends images to the display over USB.

In plain words
What is it for?
Use it when developing or installing the LCD driver, configuring its background image, checking its system service, type-checking Python code, or packaging it.
Why use it?
It provides the project rules for installing, running, checking, and rebuilding the driver instead of leaving those steps to guesswork.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to deyloop/lianli_207_lcd. 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/deyloop/lianli_207_lcd/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/deyloop/lianli_207_lcd

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 lianli_207_lcd AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/deyloop/lianli_207_lcd/agents-md"><img src="https://agentmods.dev/badge/instructions/deyloop/lianli_207_lcd/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,438 This file is loaded in full into every session.
When invoked 1,438 The same file — it is already loaded in full.
Security scan B 2 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.01438 $0.01438
Opus 5.5 $0.00575 $0.00575
Sonnet 5.5 $0.00288 $0.00288
Haiku 4.5 $0.00144 $0.00144

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

Security

Grade B, and why

lianli_207_lcd AGENTS.md scanned grade B with 2 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ./install.sh /path/to/background.jpg

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

out = subprocess.check_output(["nvidia-smi", ...], timeout=2).decode().strip()
AGENTS.md · 207 lines

How it starts

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

AGENTS.md - Lian Li Lancool 207 LCD Driver

Project Overview

Linux driver for the Lian Li Lancool 207 Digital LCD screen. This Python 3.12+ project communicates with the LCD via USB, renders system stats (CPU/GPU/RAM/Network), and pushes images to the display.

Build Commands

Installation

# Using uv (recommended)
uv sync

# Using pip
pip install -e .

System Installation (requires root)

# Install with systemd service (requires background image path)
sudo ./install.sh /path/to/background.jpg

# Reinstall/reload after changes
sudo ./reinstall.sh

# Uninstall completely
sudo ./uninstall.sh

# Check service status
journalctl -u lcd-driver -f

Running the driver (development)

lcd-driver <background_image>

Type checking (only tool configured)

# Run basedpyright
basedpyright lcd_driver/

# Or using pyright directly if installed
pyright lcd_driver/

Building the package

python -m build

Running a single test

No tests exist yet. To add tests, use pytest:

pytest tests/                    # Run all tests
pytest tests/test_file.py        # Run specific test file
pytest tests/test_file.py::test_function_name  # Run specific test

Code Style Guidelines

General

  • Python 3.12+ required
  • Follow PEP 8 with 100 character line limit
  • Use type hints for all function signatures and variables when beneficial
  • Run basedpyright before committing - it must pass without errors

Imports

  • Standard library imports first
  • Third-party imports second
  • Local imports last
  • Use absolute imports (e.g., from lcd_driver import foo)
  • Separate import groups with a single blank line
# Correct
import os
import sys
import struct
import time

import usb.core
import usb.util
from PIL import Image, ImageDraw, ImageFont

from lcd_driver import utils

Naming Conventions

  • Use snake_case for functions, variables, and methods
  • Use SCREAMING_SNAKE_CASE for constants
  • Use PascalCase for classes
  • Use descriptive names - avoid single letters except in tight loops

Read the full file on GitHub · 207 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. 2mo ago First seen · 207 lines · 1,438 tokens per session scan B fc4410daca91

Subscribe to this mod's changes

lianli_207_lcd AGENTS.md is an instructions file published in the GitHub repository deyloop/lianli_207_lcd (2 stars, last pushed 6mo ago), licensed MIT. It adds 1,438 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

lianli_207_lcd AGENTS.md compared with instructions from other repositories

lianli_207_lcd AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lianli_207_lcd AGENTS.mddeyloop/lianli_207_lcdInstructions file26mo agoMITB1,438Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot