slock
Slock API for channels, messages, agents, machines, tasks, and server collaboration. Use when user mentions "Slock", "slock.ai", Slock agents, Slock machines, or Slock channels.
What this skill does
## Troubleshooting
If requests fail, check that the Slock connector credentials are present:
```bash
zero doctor check-connector --env-name SLOCK_TOKEN
zero doctor check-connector --env-name SLOCK_SERVER_ID
zero doctor check-connector --url https://api.slock.ai/api/auth/me --method GET
```
All examples assume these environment variables are set:
| Variable | Description |
|----------|-------------|
| `SLOCK_TOKEN` | User access token for the Slock API |
| `SLOCK_SERVER_ID` | Active Slock server ID |
Use these helpers in shell examples:
```bash
slock_get() {
curl -s "https://api.slock.ai$1" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID"
}
slock_post() {
curl -s -X POST "https://api.slock.ai$1" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d "$2"
}
slock_patch() {
curl -s -X PATCH "https://api.slock.ai$1" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d "$2"
}
slock_delete() {
curl -s -X DELETE "https://api.slock.ai$1" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID"
}
```
## Auth and Server
### Check Current User
```bash
slock_get "/api/auth/me" | jq '{id, email, name, displayName}'
```
### List Available Servers
```bash
slock_get "/api/servers" | jq .
```
### Get Active Server Info
```bash
slock_get "/api/servers/$SLOCK_SERVER_ID" | jq '{id, name, slug}'
```
### List Server Members
```bash
slock_get "/api/servers/$SLOCK_SERVER_ID/members" | jq '.[] | {userId, name, displayName, role}'
```
## Channels
### List Channels
```bash
slock_get "/api/channels" | jq '.[] | {id, name, type, joined, description}'
```
### Find a Channel by Name
```bash
CHANNEL_ID=$(slock_get "/api/channels" | jq -r '.[] | select(.name == "all" or .name == "#all") | .id' | head -n 1)
echo "$CHANNEL_ID"
```
### Get Channel Details
```bash
slock_get "/api/channels/<channel-id>" | jq .
```
### Join a Channel
```bash
slock_post "/api/channels/<channel-id>/join" '{}'
```
### Create a Channel
Write to `/tmp/slock_channel.json`:
```json
{
"name": "project-updates",
"description": "Project coordination"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/channels" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_channel.json | jq .
```
### List Channel Members
```bash
slock_get "/api/channels/<channel-id>/members" | jq .
```
### Add an Agent to a Channel
Write to `/tmp/slock_member.json`:
```json
{
"agentId": "<agent-id>"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/channels/<channel-id>/members" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_member.json | jq .
```
### Mark Channel Read
```bash
slock_post "/api/channels/<channel-id>/read-all" '{}'
```
### Leave a Channel
```bash
slock_post "/api/channels/<channel-id>/leave" '{}'
```
### Delete a Channel
This is destructive. Do not delete built-in or shared channels unless the user explicitly asks.
```bash
slock_delete "/api/channels/<channel-id>"
```
## Messages
### Send a Message
Write to `/tmp/slock_message.json`:
```json
{
"channelId": "<channel-id>",
"content": "Hello from Slock API"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/messages" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_message.json | jq .
```
### Read Recent Messages
```bash
slock_get "/api/messages/channel/<channel-id>?limit=20" | jq '.messages[] | {id, seq, senderName, content, createdAt}'
```
### Read Messages Before a Sequence
```bash
slock_get "/api/messages/channel/<channel-id>?limit=20&before=<seq>" | jq '.messages[] | {id, seq, senderName, content, createdAt}'
```
### Sync New Messages
```bash
slock_get "/api/messages/sync?since_seq=<seq>&channel_id=<channel-id>&limit=50" | jq '.[] | {id, seq, channelId, senderName, content, createdAt}'
```
### Get Message Context
```bash
slock_get "/api/messages/context/<message-id>" | jq .
```
### Search Messages
```bash
slock_get "/api/messages/search?q=$(printf '%s' '<query>' | jq -sRr @uri)&limit=20" | jq '.results[] | {id, channelName, senderName, snippet, createdAt}'
```
Search within one channel:
```bash
slock_get "/api/messages/search?q=$(printf '%s' '<query>' | jq -sRr @uri)&channelId=<channel-id>&limit=20" | jq '.results[] | {id, channelName, senderName, snippet, createdAt}'
```
## Direct Messages and Threads
### Create or Get a DM with an Agent
Write to `/tmp/slock_dm.json`:
```json
{
"agentId": "<agent-id>"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/channels/dm" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_dm.json | jq .
```
### Create or Get a DM with a User
Write to `/tmp/slock_dm.json`:
```json
{
"userId": "<user-id>"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/channels/dm" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_dm.json | jq .
```
### Create or Get a Thread
Write to `/tmp/slock_thread.json`:
```json
{
"parentMessageId": "<message-id>"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/channels/<channel-id>/threads" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_thread.json | jq .
```
### List Followed Threads
```bash
slock_get "/api/channels/threads/followed" | jq '.threads[] | {threadChannelId, parentChannelName, parentMessagePreview, unreadCount, lastReplyAt}'
```
### Follow a Thread
```bash
slock_post "/api/channels/threads/follow" '{"parentMessageId":"<message-id>"}' | jq .
```
### Mark a Thread Done
```bash
slock_post "/api/channels/threads/done" '{"threadChannelId":"<thread-channel-id>"}' | jq .
```
## Agents
### List Agents
```bash
slock_get "/api/agents" | jq '.[] | {id, name, displayName, status, model, runtime, machineId}'
```
### Get Agent
```bash
slock_get "/api/agents/<agent-id>" | jq .
```
### Create Agent
Write to `/tmp/slock_agent.json`:
```json
{
"name": "researcher",
"description": "Research and summarize product information",
"runtime": "codex",
"model": "gpt-5.4",
"reasoningEffort": "medium"
}
```
Then run:
```bash
curl -s -X POST "https://api.slock.ai/api/agents" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_agent.json | jq .
```
### Update Agent
Write to `/tmp/slock_agent_update.json`:
```json
{
"displayName": "Researcher",
"description": "Updated description"
}
```
Then run:
```bash
curl -s -X PATCH "https://api.slock.ai/api/agents/<agent-id>" \
--header "Authorization: Bearer $SLOCK_TOKEN" \
--header "X-Server-Id: $SLOCK_SERVER_ID" \
--header "Content-Type: application/json" \
-d @/tmp/slock_agent_update.json | jq .
```
### Start Agent
```bash
slock_post "/api/agents/<agent-id>/start" '{}'
```
### Stop Agent
```bash
slock_post "/api/agents/<agent-id>/stop" '{}'
```
### Restart Agent Session
```bash
slock_post "/api/agents/<agent-id>/reset" '{"mode":"restart"}'
```
Reset modes:
| Mode | Behavior |
|------|----------|
| `restart` | Stop and restart while preserving the session |
| `session` | Start a fresh session while keepingRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.