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 robhowley/py-pit-skills --skill settings-configgit clone --depth 1 https://github.com/robhowley/py-pit-skillsWrote 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/robhowley/py-pit-skills/settings-config)<a href="https://agentmods.dev/skills/robhowley/py-pit-skills/settings-config"><img src="https://agentmods.dev/badge/skills/robhowley/py-pit-skills/settings-config.svg" alt="Measured on agentmods" height="20"></a>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.00062 | $0.01325 |
| Opus 5 | $0.00031 | $0.00662 |
| Sonnet 5 | $0.00012 | $0.00265 |
| Haiku 4.5 | $0.00006 | $0.00133 |
Grade A, and why
settings-config 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 7d 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 — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: settings-config
Core position
This skill creates clean, production-ready application configuration management using pydantic-settings.
It enforces disciplined configuration patterns that prevent common problems such as:
- configuration drift
- unclear env var naming
- environment-specific branching
- accidental secrets in code
The skill favors minimal, explicit configuration surfaces and ensures configuration is:
- typed
- validated
- environment-driven
- testable
Goals
Produce a configuration system that:
- Centralizes configuration in a single settings module
- Uses typed settings via pydantic
- Reads configuration from environment variables
- Allows
.envusage in local development - Avoids configuration logic scattered across the codebase
Step 0 — Inspect the existing project first
Before generating anything:
-
Check whether a
config.pyorsettings.pyalready exists. If it does, extend it rather than creating a parallel one. -
Note the existing package layout. If the project was scaffolded with
fastapi-init, config lives at{pkg_name}/core/config.py— use that path, notapp/config.py. -
Check whether an
env_prefixis already in use anywhere (env_prefix=,os.getenv("XYZ_, existing.envkeys). If one exists, adopt it. -
Check whether
.envloading is already part of the project convention (for example a real.envfile used locally, documented setup instructions, or an explicit user request). If so, adoptenv_file=".env"in the config.Do not assume that the presence of
.env.examplealone means.envshould be automatically loaded at runtime. -
Only create new files if no config module is present.
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.
- 7d ago First seen · 249 lines · 62 tokens per session scan A afe5052249c1
settings-config is a skill published in the GitHub repository robhowley/py-pit-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 1,325 once invoked, about $0.0003 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 skills, from other repositories
python-backend
Production Python async patterns including asyncio TaskGroup, FastAPI dependency injection and middleware, SQLAlchemy 2.0 async sessions, and database connection pool tuning. Python 3.11+ runtime concerns such as ExceptionGroup, cancellation semantics, and session rollback. Use when building async services, wiring…
python
Use when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.
FastAPI Customer Support Tech Enablement
Comprehensive FastAPI skill for building modern Python web APIs with focus on customer support systems, ticket management, real-time chat, and backend operations.
fastapi-expert
Expert-level FastAPI development for high-performance Python APIs with async support. Use when the user mentions Python, API, async, REST, OpenAPI, or Pydantic, or when the task involves FastAPI Features.
asyncio
Python asyncio - Modern concurrent programming with async/await, event loops, tasks, coroutines, primitives, aiohttp, and FastAPI async patterns.
flask
Flask - Lightweight Python web framework for microservices, REST APIs, and flexible web applications with extensive extension ecosystem.