用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill backend-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| name | backend-api |
| description | Manage items, projects, and references in Senticor Project via REST API |
| user-invokable | false |
Du hast vollen Zugriff auf die Senticor Project Backend-API.
Verwende exec mit curl, um Items zu lesen, erstellen und aktualisieren.
Der aktuelle Token liegt in /runtime/token. Verwende ihn so in jedem Request:
Authorization: Bearer $(cat /runtime/token)
Die Backend-URL liegt in der Umgebungsvariable COPILOT_BACKEND_URL.
Weitere Umgebungsvariablen:
COPILOT_FRONTEND_URL — Frontend-URL (z.B. fuer Kontext)COPILOT_STORYBOOK_URL — Storybook mit Produkt-, Design- und Engineering-DokumentationPruefe deine Umgebungsvariablen:
exec echo "Backend: $COPILOT_BACKEND_URL | Frontend: $COPILOT_FRONTEND_URL | Storybook: $COPILOT_STORYBOOK_URL"
Die vollstaendige OpenAPI-Spezifikation ist verfuegbar unter:
exec curl -s "$COPILOT_BACKEND_URL/openapi.json" | head -c 5000
Verwende sie, um alle verfuegbaren Endpoints, Parameter und Modelle zu entdecken.
Wichtige Pfade: /items, /items/sync, /items/{item_id}, /files, /search,
/imports/nirvana/*, /imports/native/*, /imports/jobs, /email/*, /calendar/*.
Fuer Import/Export-Details: Lies /workspace/skills/import-export/SKILL.md.
Fuer E-Mail/Kalender-Details: Lies /workspace/skills/email-calendar/SKILL.md.
Das Storybook enthaelt die gesamte Produkt-, Design- und Engineering-Dokumentation:
exec curl -s "$COPILOT_STORYBOOK_URL/index.json" | head -c 3000
Dort findest du Informationen zu:
exec curl -s "$COPILOT_BACKEND_URL/items?limit=200" \
-H "Authorization: Bearer $(cat /runtime/token)"
Antwort: Array von Items mit item_id, canonical_id, item (JSON-LD mit name, @type, additionalProperty).
Den Bucket findest du in item.additionalProperty unter propertyID: "app:bucket".
Einzelnes Item:
exec curl -s "$COPILOT_BACKEND_URL/items/<item_id>" \
-H "Authorization: Bearer $(cat /runtime/token)"
exec curl -s -X PATCH "$COPILOT_BACKEND_URL/items/<item_id>" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"additionalProperty": [
{"@type": "PropertyValue", "propertyID": "app:bucket", "value": "next"}
]
}
}'
Gueltige Buckets: inbox, next, waiting, calendar, someday, reference
Name aendern:
exec curl -s -X PATCH "$COPILOT_BACKEND_URL/items/<item_id>" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"name": "Neuer Name"
}
}'
Alle POST-Requests an /items erwarten dieses Format:
{
"source": "openclaw",
"item": { ... JSON-LD ... }
}
Jedes Item braucht eine @id als URN. Erzeuge sie mit UUID:
urn:app:action:<uuid>urn:app:reference:<uuid>urn:app:project:<uuid>Verwende $(cat /proc/sys/kernel/random/uuid) fuer UUIDs.
exec curl -s -X POST "$COPILOT_BACKEND_URL/items" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"@id": "urn:app:action:'"$(cat /proc/sys/kernel/random/uuid)"'",
"@type": "Action",
"_schemaVersion": 2,
"name": "Aktion-Name",
"additionalProperty": [
{"@type": "PropertyValue", "propertyID": "app:bucket", "value": "next"},
{"@type": "PropertyValue", "propertyID": "app:rawCapture", "value": "Aktion-Name"}
]
}
}'
Gueltige Buckets: inbox, next, waiting, calendar, someday
exec curl -s -X POST "$COPILOT_BACKEND_URL/items" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"@id": "urn:app:reference:'"$(cat /proc/sys/kernel/random/uuid)"'",
"@type": "CreativeWork",
"_schemaVersion": 2,
"name": "Referenz-Name",
"description": "Optionale Beschreibung",
"additionalProperty": [
{"@type": "PropertyValue", "propertyID": "app:bucket", "value": "reference"}
]
}
}'
Erstelle zuerst das Projekt, dann die Aktionen mit app:projectRefs:
# 1. Projekt erstellen
exec curl -s -X POST "$COPILOT_BACKEND_URL/items" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"@id": "urn:app:project:'"$(cat /proc/sys/kernel/random/uuid)"'",
"@type": "Project",
"_schemaVersion": 2,
"name": "Projekt-Name",
"additionalProperty": [
{"@type": "PropertyValue", "propertyID": "app:bucket", "value": "project"},
{"@type": "PropertyValue", "propertyID": "app:desiredOutcome", "value": "Gewuenschtes Ergebnis"},
{"@type": "PropertyValue", "propertyID": "app:projectStatus", "value": "active"}
]
}
}'
# 2. canonical_id aus der Antwort notieren, dann Aktionen erstellen:
exec curl -s -X POST "$COPILOT_BACKEND_URL/items" \
-H "Authorization: Bearer $(cat /runtime/token)" \
-H "Content-Type: application/json" \
-H "X-Agent: openclaw" \
-d '{
"source": "openclaw",
"item": {
"@id": "urn:app:action:'"$(cat /proc/sys/kernel/random/uuid)"'",
"@type": "Action",
"_schemaVersion": 2,
"name": "Schritt 1",
"additionalProperty": [
{"@type": "PropertyValue", "propertyID": "app:bucket", "value": "next"},
{"@type": "PropertyValue", "propertyID": "app:rawCapture", "value": "Schritt 1"},
{"@type": "PropertyValue", "propertyID": "app:projectRefs", "value": ["<canonical_id_from_project>"]}
]
}
}'
Erfolgreiche Erstellung liefert:
{
"item_id": "uuid",
"canonical_id": "urn:app:...",
"source": "openclaw",
"item": { ... },
"created_at": "...",
"updated_at": "..."
}