Skip to content

Commit 97595e9

Browse files
ampagento-az
andcommitted
docs: use supported Amp plugin install flow
Amp-Thread-ID: https://ampcode.com/threads/T-019fd25c-ccda-74dd-bf67-2e89eca5a745 Co-authored-by: rekt <omaraziz.dev@gmail.com>
1 parent ae4ff71 commit 97595e9

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ The [Ponytail plugin](/plugins#ponytail) adds always-on, mode-aware
4545
[Ponytail](https://github.com/dietrichgebert/ponytail) support to Amp:
4646

4747
```bash
48-
amp plugins add --auto-update https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts
48+
mkdir -p ~/.config/amp/plugins
49+
curl -fsSL https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts \
50+
-o ~/.config/amp/plugins/ponytail.ts
4951
```
5052

5153
## Contributing a new Skill

plugins/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ solution that actually works. The Amp plugin applies Ponytail on every agent
77
turn, keeps intensity modes isolated per thread, and exposes native controls in
88
Amp's command palette.
99

10-
Install it as a system plugin with automatic updates:
10+
Install it as a system plugin on macOS or Linux:
1111

1212
```sh
13-
amp plugins add --auto-update https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts
13+
mkdir -p ~/.config/amp/plugins
14+
curl -fsSL https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts \
15+
-o ~/.config/amp/plugins/ponytail.ts
1416
```
1517

1618
Then run `plugins: reload` from Amp's command palette or restart Amp.
1719

20+
The current Amp CLI only accepts Amp-hosted URLs in `amp plugins add`. Rerun
21+
the command above to update this GitHub-hosted plugin.
22+
1823
### Use
1924

2025
Ponytail starts in `full` mode. Open the command palette and use:
@@ -51,7 +56,7 @@ Set `PONYTAIL_DEFAULT_MODE=off|lite|full|ultra` to override the saved default.
5156
Remove the plugin with:
5257

5358
```sh
54-
amp plugins remove ponytail.ts
59+
rm ~/.config/amp/plugins/ponytail.ts
5560
```
5661

5762
The Ponytail instructions embedded in the plugin are adapted from

plugins/ponytail.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @amp-plugin updated automatically from https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts
2-
31
import type { PluginAPI, PluginCommandContext, ThreadID } from "@ampcode/plugin";
42

53
export const description =

0 commit comments

Comments
 (0)