Files
2026-07-13 19:57:46 +08:00

35 lines
983 B
Markdown

# Host Integration Contract
This Skill is platform-neutral. The host agent may load `SKILL.md` directly or map it to its own Skill/plugin/tool mechanism.
## Input
Pass one JSON object:
```json
{
"raw_text": "用户原始业务指令",
"task_context": {}
}
```
If the host already has a candidate `operation`, it may pass:
```json
{
"operation": {},
"task_context": {}
}
```
`task_context` is optional metadata for the host. Do not copy transport metadata into `operation`.
## Output
Return exactly one JSON object from [output-contract.md](output-contract.md):
- `agent_parse_passed` with one valid `operation`; or
- `agent_parse_blocked` with a non-empty `blockers` array and `operation: null`.
The host must not require `$skill` syntax, `agents/openai.yaml`, a specific tool name, Markdown, or a second output format. A host may reject out-of-scope input before invoking this Skill; if it invokes the Skill anyway, the Skill must return the same blocked result.