Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .agents/setup
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ if [[ ! -f .env ]]; then
cp -- .env.example .env
fi

exec "$SHELL" -l

echo "Orb setup complete"
13 changes: 13 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ Install all skills:
npx skills@latest add o-az/skills --all
```

## Amp plugins

### Ponytail

The [Ponytail plugin](/plugins#ponytail) adds always-on, mode-aware
[Ponytail](https://github.com/dietrichgebert/ponytail) support to Amp:

```bash
mkdir -p ~/.config/amp/plugins
curl -fsSL https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts \
-o ~/.config/amp/plugins/ponytail.ts
```

## Contributing a new Skill

0. Copy skill template
Expand Down
3 changes: 3 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@ color = true
pipx.uvx = true
experimental = true
color_theme = "charm"
minimum_release_age_excludes = [
"hk",
"uv",
"pkl",
"bun",
"node",
"npm:oxfmt",
"npm:oxlint"
]
minimum_release_age_excludes = ["hk", "uv", "pkl", "bun", "node", "npm:oxfmt", "npm:oxlint"]

[env]
HK_MISE = 1
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"validate-skills": "bash -c 'for dir in skills/*/; do uvx --from skills-ref agentskills validate $dir; done'"
},
"devDependencies": {
"@ampcode/plugin": "^0.0.0-20260805002929-g5b1c43a",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"oxlint-tsgolint": "^7.0.2001",
Expand Down
64 changes: 64 additions & 0 deletions plugins/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Amp plugins

## Ponytail

[Ponytail](https://github.com/dietrichgebert/ponytail) forces the smallest
solution that actually works. The Amp plugin applies Ponytail on every agent
turn, keeps intensity modes isolated per thread, and exposes native controls in
Amp's command palette.

Install it as a system plugin on macOS or Linux:

```sh
mkdir -p ~/.config/amp/plugins
curl -fsSL https://raw.githubusercontent.com/o-az/skills/main/plugins/ponytail.ts \
-o ~/.config/amp/plugins/ponytail.ts
```

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

The current Amp CLI only accepts Amp-hosted URLs in `amp plugins add`. Rerun
the command above to update this GitHub-hosted plugin.

### Use

Ponytail starts in `full` mode. Open the command palette and use:

- `ponytail: Change mode` — set `off`, `lite`, `full`, or `ultra` for the
active thread.
- `ponytail: Show status` — show the active and default modes.
- `ponytail: Set default mode` — save the mode used by new threads.
- `ponytail: Open documentation` — open Ponytail's upstream documentation.

The equivalent prompt commands also work. The `/` prefix is optional; `@` and
`$` are accepted for compatibility with Ponytail's other adapters.

```text
/ponytail status
/ponytail lite
/ponytail full
/ponytail ultra
/ponytail off
/ponytail default full
stop ponytail
normal mode
```

`stop ponytail` and `normal mode` only deactivate Ponytail when the entire
prompt is the command, so ordinary requests containing either phrase do not
switch modes accidentally.

Thread modes last for the current Amp process and reset to the configured
default after Amp or the plugin restarts.

Set `PONYTAIL_DEFAULT_MODE=off|lite|full|ultra` to override the saved default.

Remove the plugin with:

```sh
rm ~/.config/amp/plugins/ponytail.ts
```

The Ponytail instructions embedded in the plugin are adapted from
`dietrichgebert/ponytail` and distributed under its MIT license; the complete
license notice is included in `ponytail.ts`.
Loading