A CLI tool to easily reuse AI agent instructions, skills, philosophies or other prompt files.
Project description
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.
Project details
Release history Release notifications | RSS feed
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 agentry_cli-0.2.0.tar.gz.
File metadata
- Download URL: agentry_cli-0.2.0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e85e9aae435cac7b98d0d2f044a2573b478627d1c9cdeed2d9ec9228c1937e19
|
|
| MD5 |
4181b00a7926a6f5ca35274c5c5e8d81
|
|
| BLAKE2b-256 |
9b97ca1ba3adafdafa430e98b0ceb4581fd5183cd082ba77f9e84195e02030ac
|
File details
Details for the file agentry_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: agentry_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f12c696027832d181ae0e710fda60f372fa7b4a6301d913887ac55b57a8f1b05
|
|
| MD5 |
d076ab7d6317c0ad61ff372ac1b063f9
|
|
| BLAKE2b-256 |
36d4776cc69b9d660a28c040e579c1672138e635698ae1be806d10e390565140
|