python-tools Cursor ruleA
python-tools from borghei/claude-skills is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add borghei/claude-skills/.cursor/rules/python-tools.mdc@git:20260629.ee6fb37Pins git:20260629.ee6fb37 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- borghei/claude-skills
- Path
.cursor/rules/python-tools.mdc- Versions recorded
- 1
- Latest version
- git:20260629.ee6fb37, committed Jun 29, 2026
- Size
- 1,337 bytes
- Repository stars
- 954
- License
- a license file GitHub does not identify
Conventions for the Python automation tools that ship inside skills.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Skill Python tools
Scripts under a skill's `scripts/` directory are deterministic automation helpers, not AI.
## Hard rules
- **Standard library only.** No third-party packages, no `pip install`. If a script truly needs a dependency, document it in the skill's `SKILL.md` — but prefer a stdlib implementation.
- **No ML/LLM calls.** Scripts use deterministic analysis (parsing, scoring, math). Calling an LLM defeats the portability and speed the library guarantees.
- **CLI-first.** Use `argparse`. Support both `--json` (machine-readable) and a human-readable default output.
- **No build system.** Scripts run directly: `python3 <domain>/<skill>/scripts/<tool>.py …`.
## Shape
```python
#!/usr/bin/env python3
"""One-line purpose. Standard library only."""
import argparse, json, sys
def main(argv):
p = argparse.ArgumentParser(description="…")
p.add_argument("--json", action="store_true", help="emit JSON")
args = p.parse_args(argv)
result = {...}
print(json.dumps(result, indent=2) if args.json else render(result))
return 0
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
```
…Read the whole file at its exact version.
How to install
mdr add borghei/claude-skills/.cursor/rules/python-tools.mdc@sha256:02a9859e3682709fThe line at the top of this page pins the label git:20260629.ee6fb37, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_nq7kps5m5zs4ajsq)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 29, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1337 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
borghei/claude-skills · 954 stars · license a license file GitHub does not identify · pushed 2026-10-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_nq7kps5m5zs4ajsq GET https://markdownregistry.com/api/v1/resolve?ref=borghei/claude-skills/.cursor/rules/python-tools.mdc GET https://markdownregistry.com/api/v1/blob/02a9859e3682709f575c635b7aae52f587632a0e73381b139a98337d28ef3083
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.