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.
git clone --depth 1 https://github.com/tumf/grafana-loki-mcpWrote 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/rules/tumf/grafana-loki-mcp/uv)<a href="https://agentmods.dev/rules/tumf/grafana-loki-mcp/uv"><img src="https://agentmods.dev/badge/rules/tumf/grafana-loki-mcp/uv/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/rules/tumf/grafana-loki-mcp/uv"><img src="https://agentmods.dev/badge/rules/tumf/grafana-loki-mcp/uv.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.00010 | $0.00910 |
| Opus 5 | $0.00005 | $0.00455 |
| Sonnet 5 | $0.00002 | $0.00182 |
| Haiku 4.5 | $0.00001 | $0.00091 |
Grade A, and why
uv 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 9d 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.
What it actually says
uv - 高速なPythonパッケージマネージャー
uvは、Rustで書かれた非常に高速なPythonパッケージマネージャーです。従来のpip、pip-tools、poetry、pyenv、virtualenvなどの複数のツールの機能を1つにまとめたものです。
主な特徴
- 高速: pipと比較して10〜100倍速い
- Rustで実装: Pythonに依存しない独立したバイナリとして提供
- 多機能: パッケージ管理、仮想環境管理、Pythonバージョン管理など
- キャッシュ機能: 共通の依存関係を再利用して高速化
基本コマンド
インストールと初期設定
# プロジェクトの初期化
uv init # pyproject.tomlを作成し、基本的なプロジェクト構造を設定
# Pythonのインストールと管理
uv python install # 最新バージョンのPythonをインストール
uv python install 3.12 # 特定のバージョンをインストール
パッケージ管理
# パッケージの追加
uv add パッケージ名 # pyproject.tomlに追加し、インストール
# パッケージの削除
uv remove パッケージ名 # パッケージの削除
# 依存関係の同期
uv sync # pyproject.tomlとuv.lockに基づいて依存関係をインストール
# ロックファイルの作成
uv lock # 依存関係をロックファイルに記録
実行とスクリプト
# スクリプトの実行
uv run python script.py # 仮想環境を明示的に有効化せずにスクリプトを実行
uv run コマンド # 任意のコマンドを実行
仮想環境の管理
# 仮想環境の作成
uv venv # デフォルトの仮想環境を作成
uv venv 環境名 --python 3.12.4 # 特定の名前とPythonバージョンで仮想環境を作成
uvの利点
- 速度: パッケージのインストールが非常に高速
- シンプルさ: 複数のツールの機能を1つに統合
- 依存関係の管理: ロックファイルによる再現性の高い環境
- Pythonバージョン管理: pyenvのような機能も内蔵
- キャッシュ機能: 共通の依存関係を再利用して高速化
使用例
新しいプロジェクトの作成
# 新しいディレクトリを作成
mkdir my-project
cd my-project
# プロジェクトを初期化
uv init
# パッケージを追加
uv add requests pandas
# スクリプトを実行
uv run python main.py
既存のプロジェクトでの使用
# 依存関係をインストール
uv sync
# スクリプトを実行
uv run python main.py
まとめ
uvは従来のPythonパッケージ管理ツールと比較して、速度と使いやすさに優れています。特に、複数のツールの機能を1つにまとめることで、Pythonプロジェクトの管理が簡単になります。また、Rustで実装されているため、非常に高速に動作します。
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.
- 9d ago First seen · 102 lines · 10 tokens per session scan A 99d1026082d8
uv is a cursor rule published in the GitHub repository tumf/grafana-loki-mcp (29 stars, last pushed 8mo ago), licensed MIT. It adds 10 tokens to every session and 910 once invoked, about $0.0001 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-30.
Other cursor rules, from other repositories
python_tests
We use the unit tests to cover internal behavior that can work without the web / backend counterpart. We aim for 95%+ unit test coverage of our Python code in lib/streamlit.
python-llm-ml-workflow-cursorrules-prompt-file
Cursor rules for Python LLM & ML development with workflow integration.
python
Python best practices and patterns for modern software development with Flask and SQLite.
python-containerization-cursorrules-prompt-file
Cursor rules for Python development with containerization integration.
django
Definitive guidelines for writing maintainable, performant, and secure Django applications, emphasizing modern best practices, clear code organization, and efficient patterns.
rich
Definitive guidelines for building robust, maintainable, and visually appealing Python CLI applications using the rich library.