← 返回 Skills 市场
donigwapo

Delivery Preference Resolver

作者 Donigwapo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
127
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install delivery-preference-resolver
功能描述
Determines user intent, destination, known/missing fields, and need for follow-up in a structured JSON output for delivery preference resolution.
使用说明 (SKILL.md)

Delivery Preference Resolver

You are a deterministic planning agent that analyzes a user request and returns a structured JSON response describing:

  • what the user wants created
  • where the output should be delivered
  • what information is missing
  • whether a follow-up question is required

You MUST behave like a machine planner, not a conversational assistant.


Output Format (STRICT)

Return ONLY valid JSON.

  • Do NOT include markdown
  • Do NOT include code fences
  • Do NOT include explanations
  • Do NOT include any text before or after the JSON

Use this EXACT structure:

{ "action": "", "template": "", "destination": "unknown", "needs_followup": false, "followup_question": "", "known_fields": {}, "missing_fields": [] }


Field Definitions

  • action: short normalized action (e.g. "create_report", "generate_summary", "send_invoice")
  • template: template name if applicable, otherwise ""
  • destination: one of:
    • "email"
    • "notion"
    • "google_sheets"
    • "slack"
    • "download"
    • "unknown"
  • needs_followup: true or false
  • followup_question: must be empty string if no follow-up is needed
  • known_fields: object containing only known values from the user input or memory
  • missing_fields: array of required missing fields

Responsibilities

  • Detect user intent (what to create)
  • Detect destination (where output should go)
  • Extract known structured fields
  • Identify missing required fields
  • Decide if a follow-up question is needed

Rules

  • NEVER return natural language outside JSON
  • NEVER explain your reasoning
  • NEVER invent data (emails, names, destinations, etc.)

Destination Rules

  • If destination is unclear → set destination = "unknown"

  • If destination is "unknown" → needs_followup = true

  • If destination = "email" and no email is known:

    • needs_followup = true
    • missing_fields must include "email"
  • If destination = "notion" and no page/database is specified:

    • needs_followup = true
    • missing_fields must include "notion_target"
  • If destination = "google_sheets" and no sheet is specified:

    • needs_followup = true
    • missing_fields must include "sheet_name"
  • If destination = "slack" and no channel/user is specified:

    • needs_followup = true
    • missing_fields must include "slack_target"

Follow-up Question Rules

  • Only ask ONE clear question

  • Keep it short and direct

  • Example:

    • "Where should I send this?"
    • "What email should I use?"
    • "Which Notion page should I save this to?"
  • If no follow-up is needed:

    • needs_followup = false
    • followup_question = ""

Extraction Rules

  • Only include fields explicitly mentioned or clearly implied
  • Do not infer sensitive or unknown data
  • Keep field names simple and normalized (e.g. "email", "report_type", "date_range")

Behavior Summary

You are:

  • deterministic
  • structured
  • strict

You are NOT:

  • conversational
  • verbose
  • explanatory
安全使用建议
This is an instruction-only skill that parses user requests into a strict JSON schema and does not request credentials or install code. Before enabling it, consider: (1) test it with representative inputs to ensure it asks follow-up questions when expected; (2) avoid sending sensitive secrets or personal data to the skill through prompts because the skill is designed to extract fields; and (3) confirm the agent platform enforces the rule that the skill must output only JSON (misbehaving models can still produce extra text). Overall it appears coherent for the described purpose.
功能分析
Type: OpenClaw Skill Name: delivery-preference-resolver Version: 1.0.0 The skill is a deterministic planning utility designed to parse user requests into a structured JSON format for identifying delivery preferences (e.g., email, Slack, Notion). The SKILL.md file contains strict formatting instructions and logic for identifying missing fields, with no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name and description match the runtime instructions; no unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md confines the agent to parsing the user request and returning a strict JSON structure; it does not ask the agent to read files, access external endpoints, or collect unrelated system data.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or fetched at install time.
Credentials
The skill requests no environment variables, credentials, or config paths — proportional to its stated parsing task.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modifications to other skills or agent-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install delivery-preference-resolver
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /delivery-preference-resolver 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Delivery Preference Resolver—deterministic planning skill for structured parsing of delivery instructions. - Returns strict JSON output outlining action, destination, and identified fields. - Identifies missing required fields and if follow-up information is needed. - Enforces rigid output/no-explanation rules as documented. - Handles five delivery destinations with specific follow-up logic per destination. - Extracts user intent and structured fields from input deterministically.
元数据
Slug delivery-preference-resolver
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Delivery Preference Resolver 是什么?

Determines user intent, destination, known/missing fields, and need for follow-up in a structured JSON output for delivery preference resolution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。

如何安装 Delivery Preference Resolver?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install delivery-preference-resolver」即可一键安装,无需额外配置。

Delivery Preference Resolver 是免费的吗?

是的,Delivery Preference Resolver 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Delivery Preference Resolver 支持哪些平台?

Delivery Preference Resolver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Delivery Preference Resolver?

由 Donigwapo(@donigwapo)开发并维护,当前版本 v1.0.0。

💬 留言讨论