Skip to main content

ai-hats-library

The agent library for ai-hats — the portable content the framework composes into role prompts: skills, roles, traits, and rules, plus the runtime hooks they ship. It is a data-only package (YAML + Markdown + a few hook scripts); it holds no framework runtime code and has zero dependencies.

Two ways to use it

1. Drop-in for any Claude Code user (no ai-hats, no pip). The skills are in the standard Claude Code Agent-Skill format (SKILL.md frontmatter). Clone this package and copy the ones you want into ~/.claude/skills/:

git clone https://github.com/muratovv/ai-hats
cp -r ai-hats/packages/ai-hats-library/src/ai_hats_library/core/skills/systematic-debugging ~/.claude/skills/

The ai-hats composition metadata rides in a namespaced ai_hats: frontmatter key that non-ai-hats agents simply ignore — so every SKILL.md stays drop-in.

2. As the content dependency of ai-hats. ai-hats pins this package (ai-hats-library>=…) and resolves its built-in library layer from it via importlib.resources. The precedence stack layers user overrides on top, last-wins: built-in (this package) < ~/.ai-hats < project libraries.

Layout

src/ai_hats_library/
  core/     # engine fundament — universal skills, base traits, global rules, pipelines
  usage/    # opinionated catalog — domain roles, dev::/env:: traits, opt-in skills
  hooks/    # runtime hook sources materialized into consuming projects

core/ and usage/ are the two library layers (core first = lowest priority). Local development against ai-hats uses the AI_HATS_LIBRARY_ROOT environment override pointed at a checkout of this package.

Versioning

Semantic versioning on the format schema (skill frontmatter + composition schema + resolver expectations), decoupled from ai-hats's own version. The shipped schema_version (in manifest.yaml) is the contract; ai-hats pins a compatible range and fails loud on a library newer than it understands. MAJOR = breaking schema change, MINOR = skills/roles added, PATCH = content fix.

License

MIT — see LICENSE. Third-party-derived skills carry their own upstream attribution in-tree (metadata.yaml upstream: blocks + per-skill LICENSE files); see the repository-root THIRD_PARTY_NOTICES.

Metadata

Release files for ai-hats-library 0.11.4

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

Source distribution (sdist)

Source distribution for ai-hats-library 0.11.4
File Size Uploaded Provenance Actions
ai_hats_library-0.11.4.tar.gz 947.8 kB With provenance Details for ai_hats_library-0.11.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-hats-library 0.11.4
File Interpreter ABI Platform Actions
ai_hats_library-0.11.4-py3-none-any.whl Python 3 none any Details for ai_hats_library-0.11.4-py3-none-any.whl

Total release size: 2.3 MB

Release files / ai_hats_library-0.11.4.tar.gz

Download URL ai_hats_library-0.11.4.tar.gz
Size 947.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fa7c7e8ec16f082aa0179c349f1b304731a3e1ba40e73f98dbe1a9cf0e160400
BLAKE2b-256 checksum
How to use checksums
c2f44b9cffba4c27dc7a21c7ed3381e1f4766c14d41246896402d7729028f2b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / ai_hats_library-0.11.4-py3-none-any.whl

Download URL ai_hats_library-0.11.4-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
35a06f89cbb3404de722c1a5805c13a243b4417df8ed089f4225da2743e889bf
BLAKE2b-256 checksum
How to use checksums
f1d085038a2689e06d3909cbbf9e77d0d12769b94558ccca56fd7046efcacee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for ai-hats-library 0.11.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_hats_library-0.11.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

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

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