Application Tracker Skill
Trigger
Activate when user asks:
- - "帮我填这个网申链接"
- "先预览再决定要不要自动填"
- "Approve 这个填表线程"
- "Reject 这个填表线程"
- "看看还有哪些待审批的网申线程"
Workflow
- 1. If user gives a form URL, call:
-
POST http://127.0.0.1:8010/api/form/fill/start
- Body:
-
{"url":"<target_url>","profile":{...},"max_actions":20}
- 2. Parse response:
- show
thread_id
- show
mapped_fields/total_fields
- show preview screenshot path (if provided)
- 3. Ask user to decide:
-
approve (execute fill only)
-
reject (close thread)
- 4. Execute review:
-
POST http://127.0.0.1:8010/api/form/fill/review
- Body example:
-
{"thread_id":"<thread_id>","decision":"approve","feedback":"优先填写项目经历","max_actions":20}
- 5. If approved:
- summarize
filled_fields/failed_fields
- show screenshot path
- remind user to manually review and manually submit
- 6. If user asks pending threads:
- call
GET http://127.0.0.1:8010/api/form/fill/pending
- list thread ids and mapped field counts
Command templates (exec tool + curl)
-
curl -sS -X POST "http://127.0.0.1:8010/api/form/fill/start" -H "Content-Type: application/json" -d '{"url":"<target_url>","profile":{"name":"<name>","email":"<email>"},"max_actions":20}'
-
curl -sS -X POST "http://127.0.0.1:8010/api/form/fill/review" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","decision":"approve","max_actions":20}'
-
curl -sS -X POST "http://127.0.0.1:8010/api/form/fill/review" -H "Content-Type: application/json" -d '{"thread_id":"<thread_id>","decision":"reject"}'
- INLINECODE13
Constraints
- - Never submit external application forms automatically.
- Every approve/reject action requires explicit user confirmation.
- If API returns non-2xx or invalid JSON, explain the error and ask whether to retry.
网申追踪技能
触发条件
当用户提出以下请求时激活:
- - 帮我填这个网申链接
- 先预览再决定要不要自动填
- Approve 这个填表线程
- Reject 这个填表线程
- 看看还有哪些待审批的网申线程
工作流程
- 1. 如果用户提供表单URL,调用:
- POST http://127.0.0.1:8010/api/form/fill/start
- 请求体:
- {url:<目标网址>,profile:{...},max_actions:20}
- 2. 解析响应:
- 显示 thread_id
- 显示 mapped
fields/totalfields
- 显示预览截图路径(如有提供)
- 3. 询问用户决定:
- approve(仅执行填写)
- reject(关闭线程)
- 4. 执行审核:
- POST http://127.0.0.1:8010/api/form/fill/review
- 请求体示例:
- {thread
id:<线程ID>,decision:approve,feedback:优先填写项目经历,maxactions:20}
- 5. 如果批准:
- 汇总 filled
fields/failedfields
- 显示截图路径
- 提醒用户手动复核并手动提交
- 6. 如果用户询问待处理线程:
- 调用 GET http://127.0.0.1:8010/api/form/fill/pending
- 列出线程ID和已映射字段数量
命令模板(exec工具 + curl)
- curl -sS -X POST http://127.0.0.1:8010/api/form/fill/start -H Content-Type: application/json -d {url:<目标网址>,profile:{name:<姓名>,email:<邮箱>},max_actions:20}
- curl -sS -X POST http://127.0.0.1:8010/api/form/fill/review -H Content-Type: application/json -d {thread
id:<线程ID>,decision:approve,maxactions:20}
- curl -sS -X POST http://127.0.0.1:8010/api/form/fill/review -H Content-Type: application/json -d {thread_id:<线程ID>,decision:reject}
- curl -sS http://127.0.0.1:8010/api/form/fill/pending?limit=20
约束条件
- - 绝不自动提交外部申请表。
- 每次批准/拒绝操作都需要用户明确确认。
- 如果API返回非2xx状态码或无效JSON,需解释错误并询问是否重试。