selectools: Skill for Claude Code

.claude/skills/lint/SKILL.md

lint is a skill for Claude Code from johnnichev/selectools. It costs 22 tokens per session (464 once invoked), scanned A, original, Apache-2.0.

A code-quality check for Python projects using Ruff, mypy, and Bandit. Ruff formats code and finds style problems, mypy checks types, and Bandit looks for common security issues.

In plain words
What is it for?
Run it before committing Python changes to format and lint source and tests, check type annotations, and scan the source for security issues.
Why use it?
It finds or fixes problems that could otherwise fail pre-commit checks or continuous integration, the automated checks that run for code changes.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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

Reuse

Borrowing it

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

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 lint

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnnichev/selectools/lint"><img src="https://agentmods.dev/badge/skills/johnnichev/selectools/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00022 $0.00464
Opus 5.5 $0.00009 $0.00186
Sonnet 5.5 $0.00004 $0.00093
Haiku 4.5 $0.00002 $0.00046

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

Security

Grade A, and why

lint 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 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.

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.

.claude/skills/lint/SKILL.md · 46 lines

What it actually says

Code Quality Pipeline

The repo migrated off black/isort/flake8 to ruff (format + lint) plus mypy and bandit. These are exactly what the pre-commit hooks and CI enforce, so matching them here keeps /release from tripping at commit time.

Mode

If "$ARGUMENTS" contains "check" or "check-only", run in check mode (no modifications). Otherwise, run in fix mode (auto-format and auto-fix, then verify).

Fix Mode (default)

Run these in sequence, stopping on first failure:

  1. ruff check src/ tests/ --fix (lint + autofix; replaces flake8 + isort)
  2. ruff format src/ tests/ (format; replaces black)
  3. mypy src/
  4. bandit -c pyproject.toml -r src/

Check Mode

Read-only, no modifications:

  1. ruff check src/ tests/
  2. ruff format src/ tests/ --check
  3. mypy src/
  4. bandit -c pyproject.toml -r src/

On Failure

  • ruff check failure: Report the violations with file paths and line numbers. Fix them — do not blanket-suppress with # noqa.
  • ruff format failure (check mode): Report which files need formatting. Offer to re-run in fix mode.
  • mypy failure: Report the type errors. Fix them — do not use # type: ignore unless truly unavoidable, and always give it an explicit error code (# type: ignore[code]) plus a comment explaining why.
  • bandit failure: Report the finding. Fix it, or justify with a scoped # nosec <ID> and a comment.

Success

When all four pass, report: "All clean — ruff check, ruff format, mypy, bandit passed."

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 · 46 lines · 22 tokens per session scan A 1f06f3b8e70e

Subscribe to this mod's changes

lint is a skill published in the GitHub repository johnnichev/selectools (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 22 tokens to every session and 464 once invoked, about $0.0001 per session on Opus 5.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.

Related

lint compared with skills from other repositories

lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lintjohnnichev/selectoolsSkill114d agoApache-2.0A22Claude Code
llamaguarddavila7/claude-code-templatesSkill33kyesterdayMITA74Claude Code, Codex
agentguardbmdhodl/agent47Skill43d agoMITA37Claude Code, Codex
safety-scanningMaxwellCalkin/sentinel-aiSkill268mo agoApache-2.0A52Claude Code
nemo-guardrailsdavila7/claude-code-templatesSkill33kyesterdayMITB61Claude Code, Codex
polymarket-tradingBlockRunAI/ClawRouterSkill6.7kyesterdayMITA76Claude Code, Codex
releasedevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA121Claude Code