Overview
The risk review assistant is used to answer "what risks are here," contracts, risk clauses, and legal assistance. It is suitable for human resources, managers, operations, and software to invoke after clarifying business goals, content materials, or analysis objects. It combines inputs such as contract clause text, pasted contract clauses, key summaries, disputed clauses, payment delivery, and liability limitations, organizes key context, and outputs summaries, diagnostic conclusions, action recommendations, and reusable deliverables for continued execution, review, or delivery.
When to Use
Applicable Scenarios
- The user asks questions such as "what risks are here" and needs to quickly break down goals, determine priorities, and form executable results
- Human resources, managers, operations, and software need to generate summaries, diagnostic conclusions, action recommendations, and reusable deliverables around the risk review assistant
- The user has already prepared uploaded contract files (upload anonymized contracts, clause comparison tables, supplementary agreements, or negotiation records.), review focus (select the direction that needs the highest priority in this Chinese contract clause risk review.), contract clause text (paste contract clauses, key summaries, disputed clauses, payment delivery, and liability limitations.), and hopes to organize them into executable analysis or optimization results
- The user needs to turn materials related to the risk review assistant into clear conclusions, priorities, and next-step actions
How to Invoke
Call the AI Skills API directly through the exported Python runner:
Command Examples
Basic Invocation
python3 scripts/run.py --params '{}'
Invocation with Common Parameters
python3 scripts/run.py --params '{"contractFile":"上传合同文件"}'
Parameter Description
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contractFile |
string | No | - | Upload anonymized contracts, clause comparison tables, supplementary agreements, or negotiation records |
clauseReviewFocus |
string | No | 责任边界 |
Select the direction that needs the highest priority in this Chinese contract clause risk review; optional values:责任边界、付款交付、违约解除、谈判问题 |
contractClauseText |
string | No | - | Paste contract clauses, key summaries, disputed clauses, payment delivery, and liability limitations |
transactionContext |
string | No | - | Describe the contract type, roles of both transaction parties, amount, deliverables, period, and region |
contractReferenceLink |
string | No | - | Enter publicly accessible templates, tender documents, transaction descriptions, or policy links; a complete accessible URL must be provided |
negotiationConcernNotes |
string | No | - | Supplement the clauses of greatest concern, acceptable concessions, content that must be retained, and points requiring lawyer confirmation |
See the complete machine-readable parameter structure at references/form-schema.json。
Parameter Value Reference
The current skill has no categorical parameters that require additional table lookup.
Supported Input Formats
The current skill directly accepts JSON parameters; if the parameters contain link fields, provide complete, accessible URLs.
Example Request
The example parameters below can be passed directly to scripts/run.py, and the runner will send them to the AI Skills API.
python3 scripts/run.py --params '{"contractFile":"上传合同文件"}'
Equivalent --params JSON:
{
"contractFile": "上传合同文件"
}
Example result
{
"success": true,
"data": {
"message": "示例结果请以技能真实返回结构为准。"
},
"meta": {
"executionTime": 842,
"cached": false
}
}
Deliverables
- Summary, diagnostic conclusions, action recommendations, and reusable deliverables: organize the core results around the user's goals that can be directly read, reviewed, or delivered.
- Interpretation of input materials: combine the uploaded contract files (upload a redacted contract, clause comparison table, supplementary agreement, or negotiation record.), review priorities (select the direction that most needs priority handling in this Chinese contract clause risk review.), and contract clause text (paste contract clauses, key summaries, disputed clauses, payment and delivery, and liability limitations.) to extract key context and the basis for judgment.
- Next steps: provide priorities, execution recommendations, or a content framework that can continue to be developed.
Suggestions for using the results
- First determine whether the output answers the user's core question about the "Risk Review Assistant".
- Then check whether the results cover the summary, diagnostic conclusions, action recommendations, and reusable deliverables, and whether clear next steps are provided.
- If the input materials are limited, it is recommended to have the user supplement the goals, audience, constraints, or original materials before running.
Preparation before running
AISKILLS_BASE_URL: defaulthttps://ai-skills.aiAISKILLS_API_KEY: required, used for authenticated callsAISKILLS_TENANT_ID: defaultdefault