expert_apply {
"manifest": {
"name": "Merchant Credit Analyst",
"system_prompt": "You are a credit analyst...",
"skills": ["credit-memo-writer", "financial-data-research"],
"custom_skills": [{ "name": "credit-memo-writer", "description": "...", "content": "# ..." }],
"mcp_tool_names": ["parallel:web_search"],
"output_schema": { "type": "object", "properties": { "icr": { "type": "integer" } } },
"context_files": [
{ "name": "chart-of-accounts.pdf", "source_url": "https://acme.example/chart.pdf" },
{ "name": "icr-scale.md", "content": "1 to 10..." }
]
},
"dry_run": true
}
expert_apply replaces steps 1–4: it diffs the manifest against current state and performs the minimal create/update/upload/delete set — custom skills included. Re-applying an unchanged manifest is a no-op; drop dry_run to apply.