Skip to main content

madhav-anthropic

Madhav's Act and Transform skill, distributed as an installable Python package. It turns a task into a professional, evidence-driven prompt using five steps: professional standards, primary evidence, concrete methods, independent validation, and a copy-ready transformed prompt.

This is an independent instruction package, unaffiliated with Anthropic. It does not include a model, call an API, or require an API key. Python 3.10+ is required.

Install and use

Install the package, then run its command from your project folder:

python -m pip install --upgrade madhav-anthropic
madhav-anthropic

The second command creates skill.md directly in your current project folder. This default is available in version 0.1.1 and later. You install the package once per Python environment and run madhav-anthropic once in each project that needs the file. The file stays there between sessions.

pip install itself installs into the Python environment. Wheel installation does not provide a supported post-install hook for writing to the calling project directory. See the wheel installation specification. Assistant activation still depends on that assistant's skill configuration.

To display the instructions or export a skill folder for an assistant's loader:

madhav-anthropic show
madhav-anthropic export ./act-and-transform

The export command creates ./act-and-transform/SKILL.md as before.

Use the original trigger, act and transfrom, alongside your task, or explicitly ask to apply Act and Transform. Example:

act and transfrom: Help me design an evaluation for my image classifier.

Existing files are preserved. To deliberately replace the current project's file:

madhav-anthropic init --force

To replace an exported skill folder's file:

madhav-anthropic export ./act-and-transform --force

If the shell cannot find the command, use python -m madhav_anthropic instead:

python -m madhav_anthropic show
python -m madhav_anthropic
python -m madhav_anthropic export ./act-and-transform

Python API:

from madhav_anthropic import get_skill

instructions = get_skill()

Develop and build

skill.md at the project root is the authoritative source. The build copies it into the package as SKILL.md; there is no second source copy to maintain.

python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade build twine
.\.venv\Scripts\python.exe -m build
.\.venv\Scripts\python.exe -m twine check --strict dist/*
.\.venv\Scripts\python.exe -m pip install --force-reinstall --no-deps .\dist\madhav_anthropic-0.1.1-py3-none-any.whl
.\.venv\Scripts\python.exe -m unittest discover -s tests -v

Publish to PyPI

  1. Sign in at https://pypi.org/, verify your email, and enable two-factor authentication if needed.
  2. Create an API token at https://pypi.org/manage/account/token/. For a first upload, use account scope; after creating the project, use a project-scoped token for subsequent releases.
  3. From this folder, run:
.\publish.ps1

The script builds, checks, installs, and tests the release before uploading. At Twine's password prompt, paste your PyPI API token. The username is __token__. Enter the token only into that terminal prompt; do not put it in source files or chat. The script uses the real PyPI upload endpoint.

After a successful upload:

python -m pip install madhav-anthropic

PyPI names are shared globally. The requested name is not reserved until the first upload succeeds. If PyPI rejects it as unavailable, select another name and update the package metadata, version lookup, and documentation before building.

For another release, update version in pyproject.toml, then run publish.ps1 again. A published version cannot be overwritten with different files.

Packaging reference: https://packaging.python.org/en/latest/tutorials/packaging-projects/. Authentication reference: https://pypi.org/help/#apitoken.

Metadata

Release files for madhav-anthropic 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for madhav-anthropic 0.1.1
File Size Uploaded Provenance Actions
madhav_anthropic-0.1.1.tar.gz 11.0 kB Without provenance Details for madhav_anthropic-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for madhav-anthropic 0.1.1
File Interpreter ABI Platform Actions
madhav_anthropic-0.1.1-py3-none-any.whl Python 3 none any Details for madhav_anthropic-0.1.1-py3-none-any.whl

Total release size: 19.4 kB

Release files / madhav_anthropic-0.1.1.tar.gz

Download URL madhav_anthropic-0.1.1.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4e52b384f907dac98354061b3c9533b9b563c216be7ba3ee5a7bbcbb93485baf
BLAKE2b-256 checksum
How to use checksums
1a58443520905a26f7f14eeab62a8a825d419ec800aef1fc022a6557cb17d466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Release files / madhav_anthropic-0.1.1-py3-none-any.whl

Download URL madhav_anthropic-0.1.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1892c76f9f49531b69310795487841ec9ad68ef153eceaf4344ee39ce6dc46
BLAKE2b-256 checksum
How to use checksums
926a1e25fbe79594490b760547abee423642a49a7da66568e95b82290b73fd9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Security for madhav-anthropic 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page