Agentry
A CLI tool to easily reuse AI agent instructions, skills, philosophies or other prompt files.
Installation
Python 3.13+ is required.
pip install agentry-cli
Or with uv:
uv tool install agentry-cli
Quick Start
agentry install https://gitlab.com/owner/repo/-/tree/main/commands \
--pattern "**/*.md" --integration claude --scope user
Run without arguments to answer prompts interactively:
agentry install
Usage
Run agentry --help to see all available options.
| Argument / Option | Short | Description |
|---|---|---|
REPO |
Source URL or local path | |
--pattern |
-p |
Glob pattern for files to install, e.g. **/*.md |
--integration |
-i |
Target integration (currently claude) |
--scope |
-s |
user or project |
--token |
-t |
Auth token for private repositories (or AGENTRY_TOKEN env var) |
Scopes
| Scope | Effect |
|---|---|
user |
Prompts available across all projects |
project |
Prompts scoped to the current project |
Remote URL format
GitLab tree URLs are currently supported:
https://gitlab.com/{owner}/{repo}/-/tree/{branch}[/{subpath}]
Point to a branch root or a subdirectory. Only files matching PATTERN within that tree are installed.
# Entire repo, main branch
agentry install https://gitlab.com/org/prompts/-/tree/main --pattern "**/*.md" --scope user
# Subdirectory on a different branch
agentry install https://gitlab.com/org/prompts/-/tree/develop/commands --pattern "*.md" --scope project
Private repositories
# Pass inline
agentry install https://gitlab.com/org/private-prompts/-/tree/main --pattern "**/*.md" --token glpat-xxxx
# Or via environment variable
export AGENTRY_TOKEN=glpat-xxxx
agentry install https://gitlab.com/org/private-prompts/-/tree/main --pattern "**/*.md"
Local paths
agentry install ./my-prompts --pattern "*.md" --integration claude --scope project
Development
Prerequisites
Getting Started
git clone https://gitlab.com/agent-wisdom/agentry.git
cd agentry
uv sync
uv run pre-commit install
Running Checks
just check
# or
uv run ruff check --fix && uv run ruff format && uv run pyright && uv run pytest
License
MIT - See LICENSE.
Release files for agentry-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentry_cli-0.2.0.tar.gz | 42.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentry_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.5 kB
Release files / agentry_cli-0.2.0.tar.gz
| Download URL | agentry_cli-0.2.0.tar.gz |
|---|---|
| Size | 42.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e85e9aae435cac7b98d0d2f044a2573b478627d1c9cdeed2d9ec9228c1937e19
|
|
BLAKE2b-256 checksum How to use checksums |
9b97ca1ba3adafdafa430e98b0ceb4581fd5183cd082ba77f9e84195e02030ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / agentry_cli-0.2.0-py3-none-any.whl
| Download URL | agentry_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f12c696027832d181ae0e710fda60f372fa7b4a6301d913887ac55b57a8f1b05
|
|
BLAKE2b-256 checksum How to use checksums |
36d4776cc69b9d660a28c040e579c1672138e635698ae1be806d10e390565140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|