python-tools Cursor ruleA

python-tools from borghei/claude-skills is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add borghei/claude-skills/.cursor/rules/python-tools.mdc@git:20260629.ee6fb37

Pins 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

The exact contents, by fingerprint
mdr add borghei/claude-skills/.cursor/rules/python-tools.mdc@sha256:02a9859e3682709f

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nq7kps5m5zs4ajsq.svg)](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.

versioncommittedcommitsizeaudit
git:20260629.ee6fb37 latest2026-06-29 ee6fb37 1,337 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from borghei/claude-skills

repo-overview Cursor rule
borghei/claude-skills · .cursor/rules/repo-overview.mdc · What the AI Skills Library is, its structure, and core principles. Apply when reasoning about the repo as a whole.
git:20260629.ee6fb37 · audit A · 954 stars
skill-authoring Cursor rule
borghei/claude-skills · .cursor/rules/skill-authoring.mdc · Conventions for writing or editing a SKILL.md skill package.
git:20260629.ee6fb37 · audit A · 954 stars
.cursorrules Cursor rule
borghei/claude-skills · .cursorrules
git:20260629.ee6fb37 · audit A · 954 stars
AGENTS.md AGENTS.md file
borghei/claude-skills · AGENTS.md
git:20261007.6533a59 · audit A · 954 stars
CLAUDE.md CLAUDE.md file
borghei/claude-skills · CLAUDE.md
git:20261007.4a698e8 · audit A · 954 stars
CLAUDE.md@agents CLAUDE.md file
borghei/claude-skills · agents/CLAUDE.md
git:20260321.deb73d4 · audit A · 954 stars
CLAUDE.md@business-growth CLAUDE.md file
borghei/claude-skills · business-growth/CLAUDE.md
git:20260527.3201c50 · audit A · 954 stars
channel-economics SKILL.md skill
borghei/claude-skills · business-growth/channel-economics/SKILL.md · Channel economics: design and analyze the financial structure of go-to-market channels. Use when picking a channel mix…
v1.0.0 · audit A · 954 stars
churn-prevention SKILL.md skill
borghei/claude-skills · business-growth/churn-prevention/SKILL.md · SaaS churn reduction covering cancel flow design, dynamic save offers, exit survey architecture, dunning sequences…
v1.0.0 · audit A · 954 stars
commercial-policy SKILL.md skill
borghei/claude-skills · business-growth/commercial-policy/SKILL.md · Commercial policy: the governance framework defining what terms sales can offer and what triggers approval. Use when…
v1.0.0 · audit A · 954 stars
competitive-teardown SKILL.md skill
borghei/claude-skills · business-growth/competitive-teardown/SKILL.md · Systematic competitor analysis covering product teardowns, 12-dimension scoring rubric, feature comparison matrices…
v1.0.0 · audit A · 954 stars
competitor-alternatives SKILL.md skill
borghei/claude-skills · business-growth/competitor-alternatives/SKILL.md · Create competitor comparison and alternative pages for SEO and sales enablement. Use when building alternative pages…
v1.0.0 · audit A · 954 stars

Every file in borghei/claude-skills

Browse by kind, by grade A, or by owner.