Manage skills on localskills.sh - list, view details, delete, update versions. Use when user asks to delete a skill, remove skill, list skills, or manage localskills. Install: mkdir -p .agents/skills/localskills-manager && cp SKILL.md .agents/skills/localskills-manager/
Manage skills on localskills.sh using the REST API. Supports auto-configuration or manual input.
The skill will automatically:
~/.localskills/config.jsonJust tell the agent what you want to do!
If token not found, provide it when asked.
Use natural language or commands:
# Reads from ~/.localskills/config.json
# Profile: profiles.default.token
If token not found, ask user:
Please provide your localskills API token:
1. Run: cat ~/.localskills/config.json
2. Copy the token from profiles.default.token
3. Paste it here
Auto-detect:
TOKEN=$(cat ~/.localskills/config.json | jq -r '.profiles.default.token')
If not found, ask user for token
Use natural language or commands from above
Format results in tables with status indicators
TOKEN="lsk_xxx..."
curl -s "https://localskills.sh/api/skills" \
-H "Authorization: Bearer $TOKEN" | jq '.data[] | {name, publicId, slug, currentVersion}'
# By public ID (slug)
curl -s "https://localskills.sh/api/skills/public/M4DUKjLOkn" \
-H "Authorization: Bearer $TOKEN"
# By internal ID
curl -s "https://localskills.sh/api/skills/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
-H "Authorization: Bearer $TOKEN"
# First find internal ID
curl -s "https://localskills.sh/api/skills" -H "Authorization: Bearer $TOKEN" \
| jq '.data[] | select(.publicId=="M4DUKjLOkn") | {id, name, publicId}'
# Delete
curl -s -X DELETE "https://localskills.sh/api/skills/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
-H "Authorization: Bearer $TOKEN"
# Response: {"success":true}
CONTENT=$(cat skill.md)
curl -s -X PUT "https://localskills.sh/api/skills/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/versions" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d "{\"content\":\"$CONTENT\",\"message\":\"Version update\"}"
curl -s "https://localskills.sh/api/skills/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/analytics" \
-H "Authorization: Bearer $TOKEN"
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/skills | List all skills |
| GET | /api/skills/:id | Get skill by internal ID |
| GET | /api/skills/public/:publicId | Get skill by public ID |
| POST | /api/skills | Create new skill |
| PUT | /api/skills/:id | Update skill metadata |
| DELETE | /api/skills/:id | Delete skill |
| GET | /api/skills/:id/versions | List skill versions |
| POST | /api/skills/:id/versions | Add new version |
| GET | /api/skills/:id/analytics | Get skill analytics |
| Error | Solution |
|---|---|
| Token not found | Run cat ~/.localskills/config.json |
| 401 Unauthorized | Re-run npx @localskills/cli login |
| 404 Not Found | Check skill ID/slug is correct |
| 403 Forbidden | You don't own this skill |