quadletman: Instructions file for Claude Code

CLAUDE.md

quadletman CLAUDE.md is an instructions file for Claude Code from mikkovihonen/quadletman. It costs 16,291 tokens per session, scanned B, original, MIT.

Repository instructions for quadletman, a web interface for managing Podman Quadlet services on Linux. Quadlet is a way to define container services for systemd, Linux's service manager.

In plain words
What is it for?
Developing, linting, formatting, testing, and rebuilding the CSS for the quadletman application.
Why use it?
They explain the project's commands, security model, architecture, and required checks so changes can be made safely.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is mikkovihonen/quadletman's own configuration. It tells Claude Code how to work on quadletman 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 quadletman configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mikkovihonen/quadletman. 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/mikkovihonen/quadletman/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/mikkovihonen/quadletman

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mikkovihonen/quadletman/claude-md"><img src="https://agentmods.dev/badge/instructions/mikkovihonen/quadletman/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16,291 This file is loaded in full into every session.
When invoked 16,291 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.16291 $0.16291
Opus 5.5 $0.06516 $0.06516
Sonnet 5.5 $0.03258 $0.03258
Haiku 4.5 $0.01629 $0.01629

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

Security

Grade B, and why

quadletman CLAUDE.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/wheel users. Admin operations use the authenticated user's sudo credentials for

Runs shell commandslowCapability

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

| `subprocess.run(mutating_cmd, ...)` | `host.run(mutating_cmd, ...)` |
CLAUDE.md · 994 lines

How it starts

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

CLAUDE.md — quadletman

What This Is

quadletman is a FastAPI web UI (HTMX + Tailwind) for managing Podman Quadlet container services on a Linux host. It runs as a dedicated quadletman system user via a systemd service and uses PAM-based HTTP Basic Auth restricted to sudo/wheel users. Admin operations use the authenticated user's sudo credentials for privilege escalation. See README.md for full user-facing documentation.

Dev Commands

uv sync --group dev               # install all deps including dev tools
./scripts/run_dev.sh              # run as qm-dev user with dev-isolated data
uv run ruff check quadletman/     # lint
uv run ruff format quadletman/    # format
uv run pytest                     # run test suite (must NOT run as root)
uv run pre-commit run --all-files # run all checks (fail_fast: lint → format → tests)
TAILWINDCSS_VERSION=v4.2.2 uv run tailwindcss -i quadletman/static/src/app.css \
  -o quadletman/static/src/tailwind.css --minify
                                  # rebuild Tailwind CSS — re-run after adding new utility
                                  # classes to any template; commit the output file
                                  # TAILWINDCSS_VERSION must match ci.yml and .pre-commit-config.yaml
uv run pybabel extract -F babel.cfg -o quadletman/locale/quadletman.pot .
                                  # re-extract translatable strings after adding/changing strings
uv run pybabel update -i quadletman/locale/quadletman.pot -d quadletman/locale -D quadletman
                                  # update existing .po files with new/changed strings
uv run pybabel compile -d quadletman/locale -D quadletman
                                  # compile .po → .mo for runtime use (run after updating)
                                  # See docs/localization.md for the full localization workflow
npm test                          # run JavaScript unit tests (Vitest, Node 20+ required)

Pre-commit hooks run automatically on git commit and auto-fix what they can. The pipeline uses fail_fast: true so a ruff lint failure stops the pipeline before pytest runs. Pytest only triggers when files under quadletman/ or tests/ are staged — docs-only or config-only commits skip the test suite. Never use --no-verify to skip hooks.

Read the full file on GitHub · 994 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 · 994 lines · 16,291 tokens per session scan B 7090aa0d6213

Subscribe to this mod's changes

quadletman CLAUDE.md is an instructions file published in the GitHub repository mikkovihonen/quadletman (69 stars, last pushed 4d ago), licensed MIT. It adds 16,291 tokens to every session, about $0.0652 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-30.

Related

quadletman CLAUDE.md compared with instructions from other repositories

quadletman CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quadletman CLAUDE.mdmikkovihonen/quadletmanInstructions file694d agoMITB16,291Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode