operate-ai-stack

operate-ai-stack is a skill for Codex from leynier/python-template. It costs 65 tokens per session (375 once invoked), scanned A, original, MIT.

A workflow for developing, testing, and troubleshooting AI or machine-learning applications across models, embeddings, search, interfaces, training, serving, and monitoring.

In plain words
What is it for?
Use it when changing prompts, tools, agents, retrieval-augmented generation, MCP, model serving, fine-tuning, evaluations, or provider integrations. Retrieval-augmented generation means finding relevant stored information before producing an answer.
Why use it?
It helps keep provider-specific code, tests, secrets, logs, and end-to-end checks organized as an AI system changes.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when changing prompts, tools, agents, retrieval-augmented generation, MCP, model serving, fine-tuning, evaluations, or provider integrations. Retrieval-augmented generation means finding relevant stored information before producing an answer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif
Install

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.

Any agent
npx skills add leynier/python-template --skill if-ai_capabilities-none-operate-ai-stack-endif
Clone the repo
git clone --depth 1 https://github.com/leynier/python-template

Made for: Codex.

Wrote 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.

agentmods badge for operate-ai-stack

README.md
[![agentmods](https://agentmods.dev/badge/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif/github.svg)](https://agentmods.dev/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif)
Your own site
<a href="https://agentmods.dev/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif"><img src="https://agentmods.dev/badge/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif/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.

agentmods 80×15 button for operate-ai-stack

Your own site · 80×15
<a href="https://agentmods.dev/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif"><img src="https://agentmods.dev/badge/skills/leynier/python-template/if-ai_capabilities-none-operate-ai-stack-endif.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00375
Opus 5.5 $0.00026 $0.00150
Sonnet 5.5 $0.00013 $0.00075
Haiku 4.5 $0.00006 $0.00038

Measured 1mo ago against content hash d0d52540dd9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

operate-ai-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 1mo 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.

template/skills/{% if ai_capabilities != 'none' %}operate-ai-stack{% endif %}/SKILL.md · 25 lines

What it actually says

Operate AI Stack

Treat .copier-answers.yml as the layer map and inspect the generated modules before assuming a framework or provider API.

Workflow

  1. Identify the workload, framework, model provider, embedding provider, data roles, interfaces, training extensions, serving engine, and quality tools that are actually enabled.
  2. Preserve the boundary between model and embedding providers. Keep provider-specific construction in the generated provider module and inject it into framework code.
  3. Use deterministic fakes for unit tests. Put real-provider checks behind explicit environment variables and never make the normal test suite spend tokens or require cloud credentials.
  4. For agents and MCP, test tool schemas and error paths. For RAG, test ingestion, retrieval, empty results, and citation metadata. For training, test a tiny local batch and artifact creation. For inference, test health plus one prediction.
  5. Record required secrets in .env.example, use the settings layer, and redact prompt, credential, and personal data from logs.
  6. Run the project quality gates from project-workflow, followed by the smallest representative end-to-end check for the enabled stack.

Operational Checks

  • Pin or bound model and API dependencies; review upstream breaking changes before updating.
  • Track latency, token or compute usage, provider errors, and evaluation quality separately.
  • Make external calls timeout and fail clearly; do not silently switch providers or models.
  • Require an explicit review before changing production prompts, tools with side effects, or model artifacts.
Files

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.

Changes

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.

  1. 1mo ago First seen · 25 lines · 65 tokens per session scan A d0d52540dd9e

Subscribe to this mod's changes

operate-ai-stack is a skill published in the GitHub repository leynier/python-template (37 stars, last pushed 21d ago), licensed MIT. It adds 65 tokens to every session and 375 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.

Related

Other skills, from other repositories

playwright-e2e-testing

This skill should be used when the user asks to "create an E2E test", "write a Playwright scenario", "add a Playwright test", "generate e2e tests", "create actions and checks", "write playwright checks", "add scenario for feature", or when modifying, reviewing, or debugging Playwright E2E test files in the workspace.

AmadeusITGroup/otter · 82 tokens

notebooklm

Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm CLI, or its Python API.…

teng-lin/notebooklm-py · 79 tokens

credit-note-fixer

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

openai/openai-agents-python · 21 tokens

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent, tool-using workflow, multi-turn chatbot, RAG pipeline, or LLM app; add evals; generate datasets or goldens; use deepeval generate; use deepeval test run; send results to Confident AI…

confident-ai/deepeval · 229 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 68 tokens

typescript-testing

Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests. Use when adding tests, diagnosing TypeScript CI, choosing a focused test command, validating TypeScript package changes, or writing/porting CLI tests against…

ComposioHQ/composio · 91 tokens