approval-queue
БесплатноБез исполняемых скриптовНе проверенManage pending actions (posts, deploys) with approve/reject workflow via REST API and CLI.
от modbender★ 21 звезда на GitHubОб этом скилле
Approval Queue
Lightweight approval queue for managing pending actions — SNS posts, deployments, content publishing. Approve or reject with a single tap.
Quick Start
cd {skill_dir}
npm install && npm run build
# Start API server
node dist/server.js --port 3010
# CLI usage
node dist/cli.js add --type sns_post --payload '{"text":"Hello world","platform":"twitter"}'
node dist/cli.js list --status pending
node dist/cli.js approve <item-id>
node dist/cli.js reject <item-id> --reason "Not appropriate"
API Endpoints
| Method | Path | Description |
|---|---|---|
GET |
/api/queue |
List items (filter: ?status=pending&type=sns_post) |
POST |
/api/queue |
Add item |
POST |
/api/queue/:id/approve |
Approve |
POST |
/api/queue/:id/reject |
Reject (body: {"reason": "..."}) |
GET |
/api/queue/:id |
Get item details |
DELETE |
/api/queue/:id |
Delete item |
Queue Item Structure
{
"id": "uuid",
"type": "sns_post",
"status": "pending",
"payload": { "text": "Post content", "platform": "twitter" },
"created_at": "2025-01-01T00:00:00Z",
"reviewed_at": null,
"reviewer_note": null
}
Integration with OpenClaw
Agent creates content → Adds to queue → Sends inline approval button → User taps → Action executes
Security
- Validate all input payloads before queuing — reject malformed JSON
- Sanitize
reviewer_noteto prevent injection if displayed in UI - Use authentication middleware in production (API key or JWT)
- SQLite DB file should be
chmod 600
Configuration
| Variable | Default | Description |
|---|---|---|
PORT |
3010 | Server port |
DB_PATH |
./data/queue.db |
SQLite path |
WEBHOOK_URL |
— | Callback on approve/reject |
Troubleshooting
- Port in use:
lsof -i :3010to find conflicts - DB locked: Only one server process should access the SQLite file
- Webhook failures: Check URL reachability; add retry logic for production
Requirements
- Node.js 18+
- No external API keys needed
Установить approval-queue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл approval-queue?
Manage pending actions (posts, deploys) with approve/reject workflow via REST API and CLI.
Как установить скилл approval-queue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл approval-queue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic