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 leynier/python-template --skill compose-python-stackgit clone --depth 1 https://github.com/leynier/python-templateWrote 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/leynier/python-template/compose-python-stack)<a href="https://agentmods.dev/skills/leynier/python-template/compose-python-stack"><img src="https://agentmods.dev/badge/skills/leynier/python-template/compose-python-stack/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/leynier/python-template/compose-python-stack"><img src="https://agentmods.dev/badge/skills/leynier/python-template/compose-python-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00065 | $0.00425 |
| Opus 5.5 | $0.00026 | $0.00170 |
| Sonnet 5.5 | $0.00013 | $0.00085 |
| Haiku 4.5 | $0.00006 | $0.00042 |
Grade A, and why
compose-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 3mo 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.
What it actually says
Compose Python Stack
Turn a product goal into a supported stack, explain the consequential choices, and generate it with Copier.
Workflow
- Read
docs/reference/presets.mdanddocs/reference/components.md. When exact compatibility matters, also readcatalog/generated/catalog.json. - Ask only about choices that change the architecture. Prefer one of the documented presets when it is close; otherwise select
customand compose the layers. - Keep model and embedding providers independent. Select at most one provider for each data role. Do not add AI to a simple library, Typer CLI, or FastAPI/Flask API unless requested.
- Select one deployment target. Docker is the portable base for deployed projects; select either no IaC, Pulumi, or Terraform where the chosen target supports it.
- Generate into a new directory with
copier copy gh:leynier/python-template <destination>, answering interactively. For automation, pass explicit values with repeated-d key=valuearguments. - Enter the generated directory and run
uv sync --all-groups,uv run pytest,uv run ruff check ., anduv run ruff format --check .. - Report the selected layers, generated entry points, required environment variables, and any cloud resources the user must configure.
Guardrails
- Treat catalog compatibility rules as authoritative; do not force an invalid combination.
- Preserve the first-class
python-library,typer-cli, andfastapi-apipaths. - Prefer Python 3.12 or newer and
uvfor environment and command execution. - Never deploy, create paid resources, or write credentials unless the user explicitly authorizes that action.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 26 lines · 65 tokens per session scan A 13f603346f5d
compose-python-stack is a skill published in the GitHub repository leynier/python-template (37 stars, last pushed 28d ago), licensed MIT. It adds 65 tokens to every session and 425 once invoked, about $0.0003 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.
compose-python-stack compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compose-python-stackleynier/python-template | Skill | 37 | 28d ago | MIT | A | 65 | Codex |
| background-taskvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | 4d ago | MIT | A | 62 | Claude Code |
| channel-botvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | 4d ago | MIT | A | 53 | Claude Code |
| fastapi-guardrennf93/fastapi-guard | Skill | 829 | 17d ago | MIT | A | 72 | Claude Code, Codex |
| pydantic-resolve-3stepKLR-Pattern/pydantic-resolve | Skill | 326 | 1mo ago | MIT | A | 56 | Claude Code |
| python-fastapi-architecturej4flmao/agent-skills | Skill | 46 | 14d ago | MIT | A | 71 | Claude Code, Codex |
| fastapi-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |