impulso-audit

impulso-audit is a skill for Claude Code, Codex from thomaspinder/Impulso. It costs 162 tokens per session (1,564 once invoked), scanned A, original, MIT.

A structured review of a Python codebase that checks code quality, data-model use, automation, tests, documentation, and typing.

In plain words
What is it for?
Use it to audit a probabilistic Python library, including its package setup, CI, tests, documentation, type hints, and core source modules.
Why use it?
It finds maintainability and reliability problems across the project instead of checking only one file or feature.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/thomaspinder/impulso/impulso-workflow
Any agent
npx skills add thomaspinder/Impulso --skill impulso-workflow
Clone the repo
git clone --depth 1 https://github.com/thomaspinder/Impulso

Made for: Claude Code, 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 impulso-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomaspinder/impulso/impulso-workflow.svg)](https://agentmods.dev/skills/thomaspinder/impulso/impulso-workflow)
Your own site
<a href="https://agentmods.dev/skills/thomaspinder/impulso/impulso-workflow"><img src="https://agentmods.dev/badge/skills/thomaspinder/impulso/impulso-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,564 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00162 $0.01564
Opus 5 $0.00081 $0.00782
Sonnet 5 $0.00032 $0.00313
Haiku 4.5 $0.00016 $0.00156

Measured 4d ago against content hash a91ea0407919, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

impulso-audit 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 4d 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.

.agents/skills/impulso-workflow/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Impulso Codebase Audit

Full-scope audit of a Bayesian Vector Autoregressive (VAR) and structural VAR library. Run against a local checkout.

Workflow

Execute phases 1–7 in order. Each phase gathers findings. Phase 8 compiles the report.

Phase 1: Repository Discovery

Understand the repo before auditing. Read these files (skip missing ones):

pyproject.toml
setup.cfg / setup.py (if present)
.github/workflows/*.yml
.pre-commit-config.yaml
uv.lock (first 50 lines)
Makefile / justfile (if present)

Record:

  • Python version constraints (requires-python)
  • Dependency list and version pins
  • Dev/test dependency groups
  • Build backend (hatchling, setuptools, etc.)
  • uv workspace configuration if any
  • Linter/formatter config (ruff, mypy, ty, etc.)

Phase 2: Code Standards Audit

Read references/code-standards.md for the full checklist, then scan the source tree.

For each .py file under the main package directory:

  1. Sample files proportionally — read ALL files in small packages (<30 files), or ~40% in larger ones, prioritising core modules (spec, data, fitted, identified, priors, samplers, results).
  2. Check against each item in the checklist, including the Probabilistic Programming / Domain-Specific and Protocols and Extensibility sections.
  3. Record concrete findings with file paths and line numbers where possible.

Phase 3: Pydantic Usage Audit

Read references/pydantic-checklist.md for the full checklist, then audit all Pydantic models.

  1. Use the Grep tool to find all BaseModel subclasses: pattern class \w+\(BaseModel\) in src/impulso/.
  2. For each model, check against the checklist items: model_config consistency, Field constraints, validator patterns, serialization, arbitrary_types_allowed usage, v2 feature adoption, and performance.
  3. Pay special attention to:
    • Whether a shared base model class would reduce model_config duplication
    • Whether arbitrary_types_allowed is justified for each model
    • Whether model_construct() is used in internal code paths that build models from already-validated data
    • Whether @computed_field could replace any manual @property definitions
  4. Record concrete findings with file paths and line numbers.

Read the full file on GitHub · 129 lines

Files

What ships with it

6 files 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. 4d ago First seen · 129 lines · 162 tokens per session scan A a91ea0407919

Subscribe to this mod's changes

impulso-audit is a skill published in the GitHub repository thomaspinder/Impulso (23 stars, last pushed 4d ago), licensed MIT. It adds 162 tokens to every session and 1,564 once invoked, about $0.0008 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-30.

Related

Other skills, from other repositories

agent-framework-azure-ai-py

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.

sickn33/agentic-awesome-skills · 24 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-development

Coding standards, conventions, and patterns for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files in the python/ directory.

microsoft/agent-framework · 35 tokens

import-prom-rule

Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…

ccfos/nightingale · 125 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

python-code-reviewer

Review Python OpenInference instrumentation code for correctness and completeness. Use this skill when reviewing a Python instrumentor package — whether it's a new instrumentor, a PR that modifies one, or when the user asks to audit/review/check an existing instrumentor's code quality. Trigger on phrases like "review…

Arize-ai/openinference · 100 tokens