@mhmdreza-rafiei/agentry 0.2.2 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -21
- package/dist/_chunks/discovery.mjs +614 -0
- package/dist/_chunks/theme2.mjs +16 -20
- package/dist/_chunks/web.mjs +111 -0
- package/dist/cli.mjs +84 -413
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,11 +24,15 @@ npx @mhmdreza-rafiei/agentry@latest --help
|
|
|
24
24
|
## Quick start
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
#
|
|
27
|
+
# Install a standalone single-skill repository (root SKILL.md)
|
|
28
|
+
agentry add author/my-skill
|
|
29
|
+
|
|
30
|
+
# Browse + install from a catalog repo (kind is optional or explicit)
|
|
31
|
+
agentry add mhmdreza-rafiei/agent-tools
|
|
28
32
|
agentry add skills mhmdreza-rafiei/agent-tools
|
|
29
33
|
|
|
30
34
|
# Install one skill to Cursor
|
|
31
|
-
agentry add
|
|
35
|
+
agentry add mhmdreza-rafiei/agent-tools enhance-prompt -a cursor
|
|
32
36
|
|
|
33
37
|
# See what is installed
|
|
34
38
|
agentry list
|
|
@@ -90,36 +94,47 @@ agentry list skills
|
|
|
90
94
|
|
|
91
95
|
| Command | Description |
|
|
92
96
|
| --- | --- |
|
|
93
|
-
| `agentry add
|
|
97
|
+
| `agentry add [kind] <source> [selector]` | Discover and install artifacts (kind is optional) |
|
|
98
|
+
| `agentry add from <url> [selector]` | Install directly from website/hub URL (e.g. awesomeskill.ai) |
|
|
99
|
+
| `agentry from <url> [selector]` | Alias for `add from <url>` |
|
|
94
100
|
| `agentry add profile <name> [source]` | Apply a local `profile/<name>.yaml` bundle |
|
|
95
101
|
| `agentry list` | List installed artifacts |
|
|
96
102
|
| `agentry list <kind>` | List installed artifacts of one kind |
|
|
97
103
|
| `agentry list <source> [kind] [selector]` | List what a repo/path contains |
|
|
98
|
-
| `agentry remove
|
|
104
|
+
| `agentry remove [kind] [source] [selector]` | Remove installs (files + lock) |
|
|
99
105
|
| `agentry update [kind] [source] [selector]` | Re-install from source or lockfile |
|
|
100
106
|
| `agentry init <kind> [name] [category]` | Scaffold a new artifact |
|
|
101
107
|
| `agentry update` | Update the Agentry CLI itself |
|
|
102
108
|
| `agentry uninstall` | Uninstall the Agentry CLI |
|
|
103
109
|
|
|
104
|
-
`<kind>` is `skill | rule | agent | profile | script` (plurals accepted).
|
|
110
|
+
`<kind>` is `skill | rule | agent | profile | script` (plurals accepted; omit to match all).
|
|
105
111
|
|
|
106
112
|
### Source formats
|
|
107
113
|
|
|
108
114
|
```bash
|
|
109
|
-
#
|
|
115
|
+
# Web URL / Skill Directory / Marketplaces (e.g. awesomeskill.ai)
|
|
116
|
+
agentry add from https://awesomeskill.ai/skill/my-skills-prompt-enhancer
|
|
117
|
+
agentry from https://awesomeskill.ai/skill/my-skills-prompt-enhancer
|
|
118
|
+
agentry add https://awesomeskill.ai/skill/my-skills-prompt-enhancer
|
|
119
|
+
|
|
120
|
+
# Direct raw markdown or GitHub Gist
|
|
121
|
+
agentry add https://gist.github.com/username/gistid
|
|
122
|
+
|
|
123
|
+
# GitHub shorthand (single-skill repo or catalog)
|
|
124
|
+
agentry add mhmdreza-rafiei/agent-tools
|
|
110
125
|
agentry add skills mhmdreza-rafiei/agent-tools
|
|
111
126
|
|
|
112
127
|
# Full GitHub URL
|
|
113
|
-
agentry add
|
|
128
|
+
agentry add https://github.com/mhmdreza-rafiei/agent-tools
|
|
114
129
|
|
|
115
130
|
# Tree URL (subdir + ref)
|
|
116
|
-
agentry add
|
|
131
|
+
agentry add https://github.com/mhmdreza-rafiei/agent-tools/tree/main/skills
|
|
117
132
|
|
|
118
133
|
# Local path
|
|
119
|
-
agentry add
|
|
134
|
+
agentry add ./my-skills
|
|
120
135
|
|
|
121
136
|
# Any git URL
|
|
122
|
-
agentry add
|
|
137
|
+
agentry add git@github.com:mhmdreza-rafiei/agent-tools.git
|
|
123
138
|
```
|
|
124
139
|
|
|
125
140
|
### Options
|
|
@@ -145,10 +160,10 @@ agentry add skills git@github.com:mhmdreza-rafiei/agent-tools.git
|
|
|
145
160
|
# List everything in a catalog repo
|
|
146
161
|
agentry list mhmdreza-rafiei/agent-tools
|
|
147
162
|
agentry list mhmdreza-rafiei/agent-tools skills
|
|
148
|
-
agentry list mhmdreza-rafiei/agent-tools
|
|
163
|
+
agentry list mhmdreza-rafiei/agent-tools enhance-prompt
|
|
149
164
|
|
|
150
165
|
# Install
|
|
151
|
-
agentry add
|
|
166
|
+
agentry add mhmdreza-rafiei/agent-tools
|
|
152
167
|
agentry add skills mhmdreza-rafiei/agent-tools enhance-prompt -a cursor -a claude-code
|
|
153
168
|
agentry add rules mhmdreza-rafiei/agent-tools ask-dont-guess
|
|
154
169
|
agentry add agents mhmdreza-rafiei/agent-tools frontend-developer
|
|
@@ -159,7 +174,7 @@ agentry list skills
|
|
|
159
174
|
|
|
160
175
|
# Update / remove by selector or by install source
|
|
161
176
|
agentry update skills mhmdreza-rafiei/agent-tools
|
|
162
|
-
agentry remove
|
|
177
|
+
agentry remove enhance-prompt
|
|
163
178
|
agentry remove skills mhmdreza-rafiei/agent-tools
|
|
164
179
|
|
|
165
180
|
# Scaffold
|
|
@@ -172,19 +187,34 @@ Example catalog used throughout this README: [`mhmdreza-rafiei/agent-tools`](htt
|
|
|
172
187
|
|
|
173
188
|
## How it works
|
|
174
189
|
|
|
175
|
-
1. Resolve a source (local path
|
|
176
|
-
2. Discover artifacts under `<kind>s/` **and** root markers
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
190
|
+
1. Resolve a source (local path, shallow git clone, or web URL / hub / gist).
|
|
191
|
+
2. Discover artifacts under `<kind>s/` **and** root markers:
|
|
192
|
+
- Root `SKILL.md` (standalone single-skill repo)
|
|
193
|
+
- Root `AGENT.md` / `RULE.md` / `.cursorrules` / `.mdc` files
|
|
194
|
+
- Root `profile/<name>.yaml` / `*.profile.yaml` / `profile.yaml`
|
|
195
|
+
- Root scripts (`run.sh`, `script.sh`, `run.js`)
|
|
196
|
+
3. Filter out directories/files ignored by `.agentryignore` or `.agentry.ignore` (and built-in VCS ignores like `.git`).
|
|
197
|
+
4. Let you pick what to install (searchable list + `All`).
|
|
198
|
+
5. Install once to `.agents/skills/<id>` for universal providers; symlink (or `--copy`) for others.
|
|
199
|
+
6. Track installs in `.agentry/lock.json` for remove/update.
|
|
180
200
|
|
|
181
201
|
If a clone fails and a prior cache exists, Agentry asks whether to load from cache (`~/.cache/agentry/repos`).
|
|
182
202
|
|
|
183
203
|
## Artifact layouts
|
|
184
204
|
|
|
185
|
-
Author installable tools in a source repo
|
|
205
|
+
Author installable tools in a source repo:
|
|
186
206
|
|
|
187
|
-
###
|
|
207
|
+
### Single-skill repo (Root layout)
|
|
208
|
+
|
|
209
|
+
```text
|
|
210
|
+
SKILL.md
|
|
211
|
+
references/
|
|
212
|
+
GUIDE.md
|
|
213
|
+
scripts/
|
|
214
|
+
tool.sh
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Multi-skill catalog
|
|
188
218
|
|
|
189
219
|
```text
|
|
190
220
|
skills/
|
|
@@ -216,7 +246,18 @@ profiles/
|
|
|
216
246
|
frontend.yaml
|
|
217
247
|
```
|
|
218
248
|
|
|
219
|
-
Local install profiles
|
|
249
|
+
Local install profiles live at `profile/<name>.yaml`.
|
|
250
|
+
|
|
251
|
+
### Excluding development assets (`.agentryignore`)
|
|
252
|
+
|
|
253
|
+
Place `.agentryignore` (or `.agentry.ignore`) in the root of your repo to prevent internal tools from being discovered or installed:
|
|
254
|
+
|
|
255
|
+
```gitignore
|
|
256
|
+
# Exclude internal dev skills
|
|
257
|
+
dev-skills/
|
|
258
|
+
skills/internal-*
|
|
259
|
+
*.draft.mdc
|
|
260
|
+
```
|
|
220
261
|
|
|
221
262
|
## Supported agents
|
|
222
263
|
|