This skill handles arbitrary SciMiner tools whose API descriptions are published
under https://sciminer.tech/tool_api_files/. When a user asks to use a
specific SciMiner tool, this skill retrieves the tool-doc index, resolves the
matching Markdown file, reads the document, and writes or runs invocation code
from the selected document's exact fields.
SciMiner calls must read the API key from ~/.config/sciminer/credentials.json
and send it as the X-Auth-Token, and user-facing summaries must include the returned share_url for each
successful task.
shape for a SciMiner tool.
https://sciminer.tech/tool_api_files/. the linked file stem before _api_doc.md.
URL.
SciMiner tool-doc index.
Examples:
ADMET Predictor -> ADMET Predictor_api_doc.mdAutoDock Vina -> AutoDock Vina_api_doc.mdGraph-pKa -> Graph-pKa_api_doc.mdThe selected Markdown file under https://sciminer.tech/tool_api_files/ is the
single source of truth for the chosen tool. The agent MUST:
provider_name, tool_name, parameter names, enum values,content type, submission flow, or upload-field names from memory.
(for example, single-item vs batch, SMILES vs file input).
section, with a brief explanation.
https://sciminer.tech/utility.~/.config/sciminer/credentials.json with JSON shaped as {"api_key":"your_api_key_here"}.
~/.config/sciminer/credentials.json and send it as the X-Auth-Token
header.
files. Agents should remember only the credential file path.
If ~/.config/sciminer/credentials.json is not available or does not contain
an api_key field, stop and tell the user to obtain a free SciMiner API key
from https://sciminer.tech/utility and store it in that file. Do not try to
complete the task by switching to other tools or services.
https://sciminer.tech/tool_api_files/.actually present in the index.
file_id values.
provider_name, tool_name, endpoint,content type, and parameter names from the selected doc, following the
document's example submission flow.
share_url in the final user-facing summary.Write the invocation code directly from the selected Markdown document's base
information block, parameter table, file-upload instructions, and example code.
Do not apply a shared invocation template in this skill.
before invocation.
parameters with the returned file_id strings.the generic SciMiner upload example and does not override the form field, use
file.
{
"status": "SUCCESS",
"result": {"...": "..."},
"task_id": "xxx",
"share_url": "https://sciminer.tech/share?id=xxx&type=API_TOOL"
}
https://sciminer.tech/tool_api_files/as the payload source in your summary.
share_url of every successful task at the end of the response sothe user can view the online result.
return the current task_id and share_url so the user can check later.
share_url is available.payload schemas beyond what the selected SciMiner Markdown doc states.
; rely on the live index rather than assuming the file
exists.
tool X's Markdown doc, not to infer parameters from memory.
share_url handling rules and doesnot rely on another skill document.
共 1 个版本