quickshell-mcp AGENTS.md

quickshell-mcp AGENTS.md is an instructions file for Codex, OpenCode from franklinnolasco7/quickshell-mcp. It costs 4,365 tokens per session, scanned A, original, MIT.

Repository-specific instructions for AI coding agents working on the quickshell-mcp project. The project is an MCP server that retrieves current Quickshell, Qt, and example-project documentation for agents.

In plain words
What is it for?
Use it when installing, testing, reviewing, or modifying the quickshell-mcp codebase.
Why use it?
It tells the agent the project's scope, structure, setup, and testing commands, reducing guesswork when making changes. The rules apply only within that repository.

Instructions file for CodexOpenCode

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

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/franklinnolasco7/quickshell-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/franklinnolasco7/quickshell-mcp

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 quickshell-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/franklinnolasco7/quickshell-mcp/agents-md.svg)](https://agentmods.dev/instructions/franklinnolasco7/quickshell-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/franklinnolasco7/quickshell-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/franklinnolasco7/quickshell-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,365 This file is loaded in full into every session.
When invoked 4,365 The same file — it is already loaded in full.
Security scan A 1 finding. 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.1 $0.04365 $0.04365
Opus 5 $0.02183 $0.02183
Sonnet 5 $0.00873 $0.00873
Haiku 4.5 $0.00436 $0.00436

Measured 5d ago against content hash e97861a8d5bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

quickshell-mcp AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

rtk curl -sL https://quickshell.org/about/ -o tests/fixtures/about.html
AGENTS.md · 180 lines

How it starts

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

AGENTS.md

Guidance for AI agents (Claude Code, opencode, etc.) working on this repository.

Quick start

  • pip install -e '.[dev]' for the venv (or nix develop for the CI-equivalent shell)
  • pytest -q for the offline suite; see Build/test commands below for the full list

Scope

Governs agent behavior within quickshell-mcp only. This is a single-author personal tool, so keep changes proportional: no release automation, no features without a stated consumer, no dependencies without a reason.

Project overview

An MCP server that serves live Quickshell documentation from quickshell.org so LLMs read real docs instead of hallucinating API surface (the API has shifted heavily between releases). Three companion sources round it out: Qt type docs from doc.qt.io (base types like Rectangle that Quickshell configs import but quickshell.org doesn't document), the official quickshell-examples repo via its Gitea API, and real-world QML shells (Caelestia, Noctalia, end-4's dots-hyprland) indexed from their GitHub repos. Everything is fetched at query time; nothing is hardcoded.

Project structure

  • quickshell_mcp/, the package itself:
    • config.py: URLs, repo identities, strip-selector lists, TTL/retry constants
    • caches.py: 30-minute in-memory cache per fetch, plus a disk layer that persists built indexes (guide/type/qt) across restarts (30-day default TTL); QUICKSHELL_DOCS_MCP_DISK_CACHE env var to disable/redirect
    • utils.py: logging, HTTP client, _fetch_raw (retry + stats), citation prefix; domain modules call utils._fetch_raw by module attribute so tests monkeypatch one seam
    • versions.py, extraction.py: runtime version discovery; HTML→Markdown with per-source strip rules
    • sources/: shared-services layer (data-source access, index building, parsing, project context, orchestration). No MCP decorators here, and it never imports capabilities/ (dependencies point down). Roughly grouped as: doc/content sources (docs, qt_docs, examples, implementations), code-shaping tools (compat, migrate, validate, generate, refactor), project-facing tools (assistant, explain_error, find_pattern, search_all, project, project_intel, project_validate, project_memory), and runtime/analysis tooling (intelligence, agent_tools, knowledge2, ecosystem, perf_profile, runtime_profile, runtime_session, runtime_debug, runtime_test, runtime_visual, ui_runtime, style_match, adapters/). See individual module docstrings for specifics.
    • capabilities/: capability/domain layer between the tools and the sources, one module per capability (knowledge, knowledge2, validation, generation, migration, project, runtime, inspection, testing, performance, debugging, adapters, ecosystem, intelligence, agent, assistant). Each declares CAPABILITY_NAME/CAPABILITY_TOOLS/CAPABILITY_DEPENDS_ON and re-exports the source entry points; registry.py aggregates the tool→capability map, a cycle-checked dependency_order(), and the safety model. Every capability carries a safety_level (read-only default; runtime and testing are mutating), with per-tool overrides in _TOOL_SAFETY_LEVELS (apply_patch, ui_set_property, ui_invoke, reload are mutating; ui_eval is high-risk).
    • server.py: FastMCP instance, every @mcp.tool() wrapper + docstring (the trigger surface), main(), and re-exports of helper names so tests keep addressing srv.<helper>; tool logic is routed through capabilities/
  • tests/: offline pytest suite driven by saved snapshots in tests/fixtures/. conftest.py provides mock_fetch (patches utils._fetch_raw), docs_fixture_urls, http_404, and an autouse cache/stats reset.
  • scripts/: smoke_test.py (end-to-end stdio client), standalone headless CI entrypoints (ci_validate.py, ci_screenshot.py, ci_runtime_test.py, ci_api_compat.py, ci_migration.py), and QA tooling (quality_audit.py, benchmark.py). Each CI script exposes a testable run() function separate from its argparse main().
  • flake.nix / Dockerfile / .github/workflows/ci.yml + .releaserc.js: packaging + CI + semantic release. The flake has a ci devShell (nix develop .#ci) with quickshell, weston, grim, and imagemagick for headless runtime/screenshot jobs. CLAUDE.md is a symlink to this file.

Read the full file on GitHub · 180 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. 5d ago First seen · 180 lines · 4,365 tokens per session scan A e97861a8d5bc

Subscribe to this mod's changes

quickshell-mcp AGENTS.md is an instructions file published in the GitHub repository franklinnolasco7/quickshell-mcp (0 stars, last pushed 6d ago), licensed MIT. It adds 4,365 tokens to every session, about $0.0218 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.