Impulso: Skill for Claude Code

.agents/skills/impulso-workflow/SKILL.md

impulso-audit is a skill for Claude Code, Codex from thomaspinder/Impulso. It costs 162 tokens per session (1,564 once invoked), scanned A, a copy of impulso-audit, 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

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is thomaspinder/Impulso's own configuration. It tells Claude Code and Codex how to work on Impulso itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Impulso configures →

Reuse

Borrowing it

Nothing to install: this file belongs to thomaspinder/Impulso. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/thomaspinder/Impulso/main/.agents/skills/impulso-workflow/SKILL.md
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/github.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/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 impulso-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomaspinder/impulso/impulso-workflow"><img src="https://agentmods.dev/badge/skills/thomaspinder/impulso/impulso-workflow.svg" alt="Reviewed on agentmods" width="80" 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. 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 100% copy Near-identical to another mod 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.00162 $0.01564
Opus 5.5 $0.00065 $0.00626
Sonnet 5.5 $0.00032 $0.00313
Haiku 4.5 $0.00016 $0.00156

Measured 2mo ago against content hash a91ea0407919, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

Origin

This is a copy

100% identical to impulso-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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. 2mo 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 (25 stars, last pushed 1mo ago), licensed MIT. It adds 162 tokens to every session and 1,564 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to impulso-audit, differing in 0 lines, and is treated as a copy.