The ai-hats agent library — portable skills, roles, traits, and rules as a data-only package. Drop-in for any Claude Code user; the versioned content dependency of the ai-hats integrator.
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_hats_library-0.3.0.tar.gz.
File metadata
- Download URL: ai_hats_library-0.3.0.tar.gz
- Upload date:
- Size: 801.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4d8e5f8574ff0f774bed21d0e782fea68f0701b14b4d04be0bff9eb61ac64e7
|
|
| MD5 |
a7fcb02e1253ad755b735b855ce74931
|
|
| BLAKE2b-256 |
a8ecdce45771fea29b5a21bfef54dbbaaa960952ceb9a49d4c776544034a8678
|
Provenance
The following attestation bundles were made for ai_hats_library-0.3.0.tar.gz:
Publisher:
release-packages.yml on muratovv/ai-hats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_hats_library-0.3.0.tar.gz -
Subject digest:
f4d8e5f8574ff0f774bed21d0e782fea68f0701b14b4d04be0bff9eb61ac64e7 - Sigstore transparency entry: 2212252316
- Sigstore integration time:
-
Permalink:
muratovv/ai-hats@0367dccbb39fb0919377e4ec13eddcc982306c2f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/muratovv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packages.yml@0367dccbb39fb0919377e4ec13eddcc982306c2f -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_hats_library-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ai_hats_library-0.3.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d20bc48b75fbbaec557e367f0f12d78ed6ca80c9ef41efc7c1950c631581763
|
|
| MD5 |
9be0803751f576932af16e63c81d9cca
|
|
| BLAKE2b-256 |
c27f6e816b4e2bdf87453169727999e5133aeed4c8de99459935de6dc0c68f3e
|
Provenance
The following attestation bundles were made for ai_hats_library-0.3.0-py3-none-any.whl:
Publisher:
release-packages.yml on muratovv/ai-hats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_hats_library-0.3.0-py3-none-any.whl -
Subject digest:
7d20bc48b75fbbaec557e367f0f12d78ed6ca80c9ef41efc7c1950c631581763 - Sigstore transparency entry: 2212252348
- Sigstore integration time:
-
Permalink:
muratovv/ai-hats@0367dccbb39fb0919377e4ec13eddcc982306c2f -
Branch / Tag:
refs/heads/master - Owner: https://github.com/muratovv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packages.yml@0367dccbb39fb0919377e4ec13eddcc982306c2f -
Trigger Event:
push
-
Statement type: