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 agentmods add commands/mfmezger/ai_agent_dotfiles/python-stackgit clone --depth 1 https://github.com/mfmezger/ai_agent_dotfilesWhat 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 | $0.00124 | $0.01655 |
| Opus 5 | $0.00062 | $0.00827 |
| Sonnet 5 | $0.00025 | $0.00331 |
| Haiku 4.5 | $0.00012 | $0.00166 |
Grade A, and why
python-stack 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 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.
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 — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Engineering Stack
Standard tooling and conventions for Python projects. When making recommendations or scaffolding projects, prefer these tools over alternatives unless the user explicitly requests otherwise.
Python Version
Use Python 3.13 or 3.14. Target the latest stable release for new projects.
Package and Dependency Management
uv is the standard package and dependency manager. It replaces pip, Poetry, and Conda.
- Use
uv initto scaffold new projects - Use
uv add <package>to add dependencies (notpip install) - Use
uv syncto install from lockfile - Use
uv runto execute scripts/commands in the project environment - Use
uvxto run CLI tools without installing them (e.g.,uvx ruff check,uvx ty) pyproject.tomlis the single source of truth for project metadata and dependencies
Coding Standards
MUST DO
- Type hints for all function signatures and class attributes
- Use
X | Noneinstead ofOptional[X](Python 3.10+) - PEP 8 compliance (enforced via ruff)
- Comprehensive docstrings in Google style for public APIs
- Test coverage exceeding 90% with pytest
- Async/await for I/O-bound operations
- Dataclasses over manual
__init__methods (or Pydantic models when validation is needed) - Context managers for resource handling
MUST NOT DO
- Skip type annotations on public APIs
- Use mutable default arguments
- Mix sync and async code improperly
- Ignore ty errors in strict mode
- Use bare
except:clauses - Hardcode secrets or configuration (use pydantic-settings)
- Use deprecated stdlib modules (use
pathlibnotos.path)
Code Quality
File Paths — pathlib
Always use pathlib.Path for file and directory operations. Do not use os.path or string manipulation for paths.
Console Output — Rich
Use Rich for terminal output, including formatted text, tables, and progress bars. Use rich.progress as the default for progress indicators.
Logging — Loguru
Use Loguru for application logging. Prefer structured, contextual logs over ad hoc print() debugging.
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 First seen · 192 lines · 0 tokens per session scan A 04c79fa104cb
python-stack is a command published in the GitHub repository mfmezger/ai_agent_dotfiles (5 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 1,655 once invoked, about $0.0006 per session on Opus 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-31.
Other commands, from other repositories
psm
/oh-my-claudecode:psm is a compatibility alias for /oh-my-claudecode:project-session-manager.
release
Ship a stable cmux release built by CI: bump version, update changelog, open a PR, merge, tag, then GitHub Actions builds, signs, and publishes.
refresh-compare-pages
Freshly research, add, and refresh marketing compare pages, then open a descriptive PR.
release
This compatibility command keeps /oh-my-claudecode:release available without loading the full release skill description in every Claude Code session.
step-research
Always research before proposing a fix. The Untether bug you're chasing is often a known upstream engine quirk, a previously-fixed regression, or a documented config gotcha.
update-python-version
Update the minimum Python version requirement across the entire codebase.