Skip to main content

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

Or with uv:

uv tool install agentry

Quick Start

agentry install https://gitlab.com/owner/repo/-/tree/main/commands "**/*.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 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 "**/*.md" --scope user

# Subdirectory on a different branch
agentry install https://gitlab.com/org/prompts/-/tree/develop/commands "*.md" --scope project

Private repositories

# Pass inline
agentry install https://gitlab.com/org/private-prompts/-/tree/main "**/*.md" --token glpat-xxxx

# Or via environment variable
export AGENTRY_TOKEN=glpat-xxxx
agentry install https://gitlab.com/org/private-prompts/-/tree/main "**/*.md"

Local paths

agentry install ./my-prompts "*.md" --integration claude --scope project

Development

Prerequisites

  • Python >= 3.13
  • uv (recommended)
  • just (optional)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentry_cli-0.1.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentry_cli-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file agentry_cli-0.1.0.tar.gz.

File metadata

  • Download URL: agentry_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 43.0 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

Hashes for agentry_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52370393780ff127894581ff770b0425bb4b5352159ddc8ec37c029af658ff87
MD5 462cdab004ed4b50de7a429090aa3d83
BLAKE2b-256 eb42d7afddfe09a48e3c70ef10497dc5e1a4a07f479e62d28f53a24da1c3d928

See more details on using hashes here.

File details

Details for the file agentry_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentry_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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

Hashes for agentry_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 423d89b09a14c5f588530a1ca0366719427cfed46b3f31b16fb4c32e2d28409c
MD5 64e015dfd2fa3339da373784873e32c5
BLAKE2b-256 daf820273825efdca3137e2aadecf21c683301bfe8f93da583a1b9ae06d77e29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page