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.09405 |
| Opus 5.5 | $0.00006 | $0.03762 |
| Sonnet 5.5 | $0.00003 | $0.01881 |
| Haiku 4.5 | $0.00001 | $0.00941 |
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 13d 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 tests/test_x.py -k name (auto-syncs first; no manual activate; bare uv run pytest is the stage gate's) |
| 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.
- 13d ago Changed 2c698460fec0
- 2mo ago Changed · +29 lines 0e06fe32db6e
- 2mo ago Changed · -55 tokens per session 739a77be1ad0
- 3mo ago First seen · 609 lines · 69 tokens per session scan A 0a01052f7b3f
loom-python is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 9,405 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.
loom-python compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-pythoncosmix/loom | Skill | 66 | yesterday | MIT | A | 14 | Claude Code, Codex |
| authoring-dagsastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 93 | Claude Code |
| fastmcpmetaspartan/cybara | Skill | 41 | 8d ago | MIT | A | 20 | Claude Code, Codex |
| python-to-javaAdamBien/airails | Skill | 76 | today | MIT | A | 118 | Claude Code, Codex |
| aws-lambda-python-integrationgiuseppe-trisciuoglio/developer-kit | Skill | 373 | 2mo ago | MIT | A | 94 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |