dotfiles: Skill for Claude Code

.claude/skills/using-python-lsp/SKILL.md

using-python-lsp is a skill for Claude Code from mhagrelius/dotfiles. It costs 34 tokens per session (1,185 once invoked), scanned B, original, no licence file.

A set of instructions for using a Python language server with Pyright. A language server helps an editor or coding agent find definitions, references, and type errors in code.

In plain words
What is it for?
Use it to find where Python names are defined or used, navigate code, and verify that Python types are correct.
Why use it?
It gives a consistent way to inspect Python code and check types while working in a project where the Pyright language-server plugin is enabled.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to mhagrelius/dotfiles. 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/mhagrelius/dotfiles/main/.claude/skills/using-python-lsp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mhagrelius/dotfiles

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 using-python-lsp

README.md
[![agentmods](https://agentmods.dev/badge/skills/mhagrelius/dotfiles/using-python-lsp/github.svg)](https://agentmods.dev/skills/mhagrelius/dotfiles/using-python-lsp)
Your own site
<a href="https://agentmods.dev/skills/mhagrelius/dotfiles/using-python-lsp"><img src="https://agentmods.dev/badge/skills/mhagrelius/dotfiles/using-python-lsp/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 using-python-lsp

Your own site · 80×15
<a href="https://agentmods.dev/skills/mhagrelius/dotfiles/using-python-lsp"><img src="https://agentmods.dev/badge/skills/mhagrelius/dotfiles/using-python-lsp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00034 $0.01185
Opus 5.5 $0.00014 $0.00474
Sonnet 5.5 $0.00007 $0.00237
Haiku 4.5 $0.00003 $0.00119

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

Security

Grade B, and why

using-python-lsp scanned grade B 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. **Plugin enabled:** `pyright-lsp@claude-plugins-official` in `~/.claude/settings.json`
.claude/skills/using-python-lsp/SKILL.md · 141 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 141 lines · 34 tokens per session scan B 5d44c044c5be

Subscribe to this mod's changes

using-python-lsp is a skill published in the GitHub repository mhagrelius/dotfiles (2 stars, last pushed 3mo ago), with no licence file. It adds 34 tokens to every session and 1,185 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

using-python-lsp compared with skills from other repositories

using-python-lsp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
using-python-lspmhagrelius/dotfilesSkill23mo agononeB34Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill3.9kyesterdayApache-2.0A34Claude Code, Codex
future-self-liteTHU-MAIC/OpenMAICSkill43kyesterdayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill783yesterdayApache-2.0A93Claude Code
typing-exclusion-workergetsentry/skillsSkill1.1kyesterdayApache-2.0A57Claude Code