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.
npx skills add shelkesays/safelint --skill claudegit clone --depth 1 https://github.com/shelkesays/safelintWrote 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/skills/shelkesays/safelint/claude)<a href="https://agentmods.dev/skills/shelkesays/safelint/claude"><img src="https://agentmods.dev/badge/skills/shelkesays/safelint/claude/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/skills/shelkesays/safelint/claude"><img src="https://agentmods.dev/badge/skills/shelkesays/safelint/claude.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.00129 | $0.07160 |
| Opus 5.5 | $0.00052 | $0.02864 |
| Sonnet 5.5 | $0.00026 | $0.01432 |
| Haiku 4.5 | $0.00013 | $0.00716 |
Grade B, and why
safelint 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 2d 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
Briefly explain the Power-of-Ten rationale (one or two sentences). Reference the rule code and the underlying safety property. Don't lecture; keep it tight. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
| SAFE802 | return_value_ignored | Discarding the return value of error-signalling functions like `subprocess.run` silently swallows failures. | How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
safelint skill
You are running the safelint static-analysis CLI on behalf of the user. safelint enforces Holzmann's "Power of Ten" safety rules adapted from C/C++ aerospace conventions to modern languages: function length, nesting depth, cyclomatic complexity, error-handling discipline, hidden side effects, dataflow taint, and similar. The same rule set applies across every language safelint supports; only the parser and language-specific node types differ.
Follow the steps below in order.
Step 1: Verify safelint is installed
Run safelint --version via Bash. This is portable across macOS, Linux, and Windows shells and returns non-zero whenever safelint isn't on PATH. If you specifically need a "is the binary findable?" check without invoking it, fall back to python -c "import shutil, sys; sys.exit(0 if shutil.which('safelint') else 1)".
If either check returns non-zero (or the shell reports "command not found" / "is not recognized"):
-
safelint is a Python package regardless of the language being linted, but v2.0.0+ ships language grammars as opt-in extras, so the install command needs a
[<lang>]suffix matching the project's language(s). Glance at the file extensions in the project tree, then suggest the right one:Project contains Install command .py/.pywuv add 'safelint[python]'orpip install 'safelint[python]'(Django / Flask / FastAPI via[tool.safelint.python] framework = "...", plus the optionalpydantic = truetoggle, seelanguages/python.md).js/.mjs/.cjsuv add 'safelint[javascript]'orpip install 'safelint[javascript]'.ts/.tsx/.asuv add 'safelint[typescript]'orpip install 'safelint[typescript]'(bundles JS grammar too).javauv add 'safelint[java]'orpip install 'safelint[java]'(Spring Boot via[tool.safelint.java] framework = "spring-boot", seelanguages/java.md).rsuv add 'safelint[rust]'orpip install 'safelint[rust]'(Rust-specific rules and Holzmann-inspired additions; seelanguages/rust.md).gouv add 'safelint[go]'orpip install 'safelint[go]'(Go-specific rules and idiomatic adaptations; seelanguages/go.md).phpuv add 'safelint[php]'orpip install 'safelint[php]'(Laravel via[tool.safelint.php] framework = "laravel"; PHP-specific rules and idiomatic adaptations; seelanguages/php.md).c,.huv add 'safelint[c]'orpip install 'safelint[c]'(C-specific rules and the Power-of-Ten "homecoming"; seelanguages/c.md).cpp,.cxx,.cc,.hpp,.hxx,.hhuv add 'safelint[cpp]'orpip install 'safelint[cpp]'(C++ idiom rules layered on the C family; seelanguages/cpp.md)Multiple languages Compose, e.g. pip install 'safelint[python,javascript]'Unsure / kitchen-sink pip install 'safelint[all]'(covers every supported language)
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.
- 2d ago Changed 2bc6746d4f58
- 4d ago Changed 09543453d8db
- 2mo ago First seen · 239 lines · 129 tokens per session scan B a7ea191b53b0
safelint is a skill published in the GitHub repository shelkesays/safelint (7 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 7,160 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (strips warnings and disclaimers, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
safelint compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| safelintshelkesays/safelint | Skill | 7 | yesterday | MIT | B | 129 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 1.9k | 23d ago | MIT | A | 36 | Claude Code |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | yesterday | none | A | 151 | Claude Code, Codex |