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 cosmix/loom --skill loom-pythongit clone --depth 1 https://github.com/cosmix/loomWrote 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/cosmix/loom/loom-python)<a href="https://agentmods.dev/skills/cosmix/loom/loom-python"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-python/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/cosmix/loom/loom-python"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 52 uvx/uv tool run commands without ==version create a rug-pull risk.Fix: Pin the version: uvx package-name==1.2.3
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.00014 | $0.09372 |
| Opus 5.5 | $0.00006 | $0.03749 |
| Sonnet 5.5 | $0.00003 | $0.01874 |
| Haiku 4.5 | $0.00001 | $0.00937 |
Grade A, and why
loom-python 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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 638 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Language Expertise
Overview
Idiomatic, production-grade Python: modern typing, async, packaging, and the web/data/ML ecosystem. Assumes competence — the value is in what is easy to get wrong (interning, mutable defaults, blocking the event loop, GIL, dataclass/Pydantic boundaries), not syntax tutorials.
Tooling (uv / ruff / mypy)
Ruff is a strong default for linting and formatting. uv is a capable project and environment manager, but preserve the repository's existing package manager and lockfile unless a migration is explicitly requested.
uv — a single tool for project environments, locking, Python installation, and pip-compatible workflows. Use it for new work or repositories that already use it; do not treat it as an implicit replacement for Poetry or another established workflow.
| Task | Command |
|---|---|
| New project | uv init (writes pyproject.toml) |
| Add / remove dep | uv add httpx / uv remove httpx (updates pyproject.toml + uv.lock) |
| Add dev dep | uv add --dev pytest |
| Sync env from lock | uv sync (creates .venv, exact/reproducible) |
| Run in project env | uv run pytest (auto-syncs first; no manual activate) |
| Install a Python | uv python install 3.12 |
| Ephemeral tool | uvx ruff check (= uv tool run) |
| pip shim | uv pip install ... (drop-in, no project file) |
- In a uv-managed project, use
uv add/uv removeso the manifest anduv.lockstay in sync; useuv sync --frozenin CI to fail on drift.
ruff — single linter+formatter replacing flake8, isort, pyupgrade, pydocstyle, autoflake, and much of bandit.
ruff check --fix(lint+autofix),ruff format(near-identical to black, replaces it).- Config lives under
[tool.ruff.lint]since 0.1 — top-levelselectis deprecated and warns. - Useful rule groups:
E/Wpycodestyle,Fpyflakes,Iisort,UPpyupgrade (keeps typing current),Bbugbear (catches mutable defaults,lru_cacheon methods),SIM,Sbandit-security,ASYNC,PLpylint,RUF. Suppress with# noqa: E501(never bare# noqa).
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.
- 22d ago Changed · +29 lines 0e06fe32db6e
- 1mo ago Changed · -55 tokens per session 739a77be1ad0
- 1mo ago First seen · 609 lines · 69 tokens per session scan A 0a01052f7b3f
loom-python is a skill published in the GitHub repository cosmix/loom (62 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 9,372 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.
Other skills, from other repositories
authoring-dags
Workflow and best practices for writing Apache Airflow DAGs. Use when creating a new DAG, write pipeline code, handling questions about DAG patterns and conventions or extending an existing DAG with a follow-up/downstream task. ANY request shaped like 'add a DAG named X', 'write a pipeline', 'add a task that runs…
aws-lambda-python-integration
Provides AWS Lambda integration patterns for Python with cold start optimization. Use when deploying Python functions to AWS Lambda, choosing between AWS Chalice and raw Python approaches, optimizing cold starts, configuring API Gateway or ALB integration, or implementing serverless Python applications. Triggers…
fastmcp
Build, test, inspect, and deploy Python MCP servers with FastMCP.
python-to-java
Convert Python scripts to zero-dependency Java 25 CLI programs. Use when asked to migrate, convert, port, or rewrite Python scripts (.py) to Java, or when translating a Python codebase to Java CLI scripts or apps. Triggers on "convert Python to Java", "migrate Python", "port to Java", "rewrite in Java", or when a .py…
idiomatic-go
Apply Go community idioms for API and package design, error and concurrency patterns, naming (initialisms, stutter, receivers), generics vs interfaces, and Go code review — including PR or diff review, questions about "the Go way", pointer vs value receivers, channels vs mutexes, and building Go language tooling…
go-documentation
Write idiomatic Go doc comments that render correctly on pkg.go.dev — package comments, doc.go, exported-symbol comments, testable Example functions, deprecation notices — and publish or debug modules on pkg.go.dev (pkgsite, the module proxy). Use when writing or reviewing Go documentation, or when a developer used to…