docs: simplify assets base url setup

This commit is contained in:
Matt Bruce 2026-02-11 11:49:04 -06:00
parent 5f296fcd54
commit 1ce380182c

View File

@ -41,30 +41,24 @@ SKILLS_FILE=./assets/android-skills.yaml ./assets/sync-skills.sh
```
## Run Without Cloning The Repo (All Assets)
This installs skills, agents, and instructions without cloning. Set the base URL once and reuse it. If your host needs a token, put it in one place.
This installs skills, agents, and instructions without cloning. Set the base URL once and reuse it.
```bash
export ASSETS_TOKEN="<token-if-needed>"
export ASSETS_BASE_URL="https://<host>/org/ai-assets/raw/main/assets"
curl -fsSL -H "Authorization: Bearer $ASSETS_TOKEN" \
"$ASSETS_BASE_URL/sync-skills.sh" -o /tmp/sync-skills.sh
curl -fsSL -H "Authorization: Bearer $ASSETS_TOKEN" \
"$ASSETS_BASE_URL/ios-skills.yaml" -o /tmp/ios-skills.yaml
curl -fsSL "$ASSETS_BASE_URL/sync-skills.sh" -o /tmp/sync-skills.sh
curl -fsSL "$ASSETS_BASE_URL/ios-skills.yaml" -o /tmp/ios-skills.yaml
chmod +x /tmp/sync-skills.sh
SKILLS_FILE=/tmp/ios-skills.yaml /tmp/sync-skills.sh
mkdir -p ~/.agents/agents ./instructions
curl -fsSL -H "Authorization: Bearer $ASSETS_TOKEN" \
"$ASSETS_BASE_URL/agents/<agent-file>.agent.md" -o ~/.agents/agents/<agent-file>.agent.md
curl -fsSL -H "Authorization: Bearer $ASSETS_TOKEN" \
"$ASSETS_BASE_URL/instructions/<name>.instructions.md" -o ./instructions/<name>.instructions.md
curl -fsSL "$ASSETS_BASE_URL/agents/<agent-file>.agent.md" -o ~/.agents/agents/<agent-file>.agent.md
curl -fsSL "$ASSETS_BASE_URL/instructions/<name>.instructions.md" -o ./instructions/<name>.instructions.md
```
Notes:
- The token and base URL are only defined once.
- Remove the Authorization header if your host does not require it.
- The base URL is only defined once.
- Cloning the repo is still recommended if you want updates and version history.
## Install Agents (Clone And Copy)