一键导入
prism-task-author
Use this skill when Codex is asked to design or create a scheduled Prism task from a user's natural-language request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when Codex is asked to design or create a scheduled Prism task from a user's natural-language request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when Codex is executing a stored scheduled Prism task prompt through task-runner.
Use this skill when Codex needs to pull the next or current Prism request, inspect request/workflow state, create requests, attach external refs, or create and update execution records through the Prism Agent API.
Use this skill when Codex is asked to create, update, test, or delete Prism workflow hooks that trigger workflow-backed requests from external events or on-demand calls.
Use this skill when Codex is asked to create, update, or reason about Prism request workflows, workflow steps, gates, manifests, or workflow instruction files.
Use this skill when Codex is asked to view or update Prism instance settings such as platform branding, logo, title, workspace label, or site content.
Use this skill when Codex is asked to create, update, install, or manage custom Prism/Codex skills for an instance.
| name | prism-task-author |
| description | Use this skill when Codex is asked to design or create a scheduled Prism task from a user's natural-language request. |
Use this skill to turn a user's task idea into a durable Prism task definition.
Task authoring rules:
taskType="codex-prompt" for user-authored scheduled prompt tasks.taskType="workflow-runner" when the task should create a durable request and run it through a workflow.instructionConfig.prompt.instructionConfig.requestedSkills.scheduleCron using standard five-field cron syntax.enabled=false unless the user explicitly asks to enable it after review.inputConfig or outputConfig.#updates, resolve the destination during task creation when possible. Use availableOutputDestinations from session metadata first. Store resolved destinations in outputConfig.outputDestinations; do not leave channel matching for scheduled run time if the channel can be resolved now.adapter, type, id, and label. If you only know the label, the destination is unresolved.Workflow-runner request types must use one of: bug, feature, issue, content, design, config, or ops. Use issue for imported GitHub issues or issue-like support intake when the source item itself is the request.
Recommended task row shape:
{
"key": "daily-memory-brief",
"name": "Daily memory brief",
"description": "Generate and send a daily Prism Memory brief.",
"enabled": false,
"triggerType": "schedule",
"scheduleCron": "0 9 * * *",
"timezone": "UTC",
"taskType": "codex-prompt",
"inputConfig": {
"mode": "scheduled"
},
"instructionConfig": {
"prompt": "Create a concise daily brief from Prism Memory. Return only the brief text and a short source summary.",
"requestedSkills": ["prism-scheduled-task-runner", "prism-memory-ops"]
},
"outputConfig": {
"summary": true,
"outputDestinations": [
{
"adapter": "discord",
"type": "discord-channel",
"id": "1234567890",
"label": "#updates"
}
]
}
}
Workflow runner task shape:
{
"key": "weekly-blog-workflow",
"name": "Weekly blog workflow",
"description": "Create a weekly blog request and run the workflow until the next gate or checkpoint.",
"enabled": false,
"triggerType": "schedule",
"scheduleCron": "0 16 * * 5",
"timezone": "UTC",
"taskType": "workflow-runner",
"inputConfig": {
"workflowKey": "blog-post-draft-review-publish",
"request": {
"title": "Weekly blog post",
"description": "Create this week's blog post from Prism Memory and Knowledge.",
"requestType": "content",
"priority": "normal"
},
"autoRun": {
"enabled": true,
"maxSteps": 1,
"stopStatuses": ["closed"]
}
},
"instructionConfig": {
"prompt": "Run the current workflow step using the request description and workflow step instructions."
},
"outputConfig": {}
}
Workflow-runner tasks create requests through /agent/change-board/requests. When inputConfig.autoRun.enabled is true, the created request should start automatically if the workflow entry step is an agent step. If the entry step is a gate or checkpoint, it waits for an operator decision/check.
When creating a task through the Prism API, use the site internal task endpoint if credentials are available:
curl -fsSL \
-X POST \
-H "content-type: application/json" \
-H "x-service-token: $PRISM_AGENT_SERVICE_TOKEN" \
"$PRISM_AGENT_API_BASE_URL/agent/tasks" \
-d "$TASK_JSON"
Do not use /admin/tasks from Codex Runtime. That route is for the browser admin UI and requires an authenticated admin session, so 401 Unauthorized there does not mean task creation is unavailable. Runtime agents should use /agent/tasks with x-service-token.
In deployed Prism instances, Codex Runtime usually receives APP_API_BASE_URL and APP_API_SERVICE_TOKEN, and exposes them to Codex as PRISM_AGENT_API_BASE_URL and PRISM_AGENT_SERVICE_TOKEN. If the PRISM_* names are not present, check the APP_* names before concluding the task API is unavailable.
Return a concise review summary with: