en un clic
adaptive-cards-authoring
// Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions.
// Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions.
Generate a 7-day token usage chart (all chats) and post it to the web UI timeline.
Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
Search via SearXNG (or DuckDuckGo fallback), fetch top results, and return sentence-level summaries plus optional converted page content.
Diagnose and fix issues with the Pibox container environment — tools, paths, mounts, pi configuration.
Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
| name | adaptive-cards-authoring |
| description | Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions. |
| distribution | public |
Use this skill when a web-only, structured interaction is materially better as a card than as plain markdown.
Avoid cards when markdown is clearer, the interaction is long-form, or the action semantics are not supported.
Emit a normal message with a concise fallback plus one adaptive_card content block:
{
"type": "adaptive_card",
"card_id": "approval-123",
"schema_version": "1.5",
"state": "active",
"fallback_text": "Approval requested.",
"payload": {
"type": "AdaptiveCard",
"version": "1.5",
"body": [
{ "type": "TextBlock", "text": "Approval requested", "weight": "Bolder", "size": "Medium" }
],
"actions": [
{ "type": "Action.Submit", "title": "Approve", "data": { "decision": "approve" } }
]
}
}
Supported today in the PiClaw web runtime:
content_blocksAction.Submit, Action.OpenUrlactive, completed, cancelled, failedsend_adaptive_cardDo not rely on Action.ShowCard, Action.ToggleVisibility, complex refresh/auth flows, or non-web card delivery unless you are explicitly extending core support.
schema_version / payload.version at 1.5 unless there is a specific reason otherwise.content and fallback_text short and human-readable.TextBlock, FactSet, Input.*, ChoiceSet, Toggle.Action.Submit for structured decisions and Action.OpenUrl for external links.Use an Adaptive Card for this response because the interaction is structured and web-only.
Constraints:
- Target the current PiClaw web runtime
- Emit a concise fallback message plus one adaptive_card content block
- Use schema version 1.5
- Only use supported actions: Action.Submit and/or Action.OpenUrl
- Keep the card compact and readable in a narrow pane
- Keep submission payloads small and explicit
- If a card would be worse than markdown, say so and return markdown instead
Task:
<describe the approval / choice / form interaction>
If you need more determinism, ask for:
adaptive_card content block JSON objecttemplates.md for concrete card patterns rather than inventing new classes ad hoc.send_adaptive_card.content_blocks or messages with action: "post".