跳到正文
TakoAPI
返回技能列表

aiml-llm-reasoning

由 aimlapihello 提供

Productivity & Tasks
903下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Run AIMLAPI LLM and reasoning workflows through chat completions with retries, structured outputs, and explicit.

描述

该技能的功能

Calls AIMLAPI chat completions via a Python script with automatic retries, optional API key file fallback, and a custom User-Agent header on every request. Supports reasoning parameters, temperature control, and structured JSON output. Results can be written directly to a file.

Built-in retry logic and API key file fallback reduce boilerplate compared to writing raw AIMLAPI requests by hand.

何时使用

  • Draft a project checklist from a plain-text prompt
  • Generate a structured JSON risk list for a project
  • Plan a feature rollout with step-by-step reasoning
  • Summarize a long document into bullet points
  • Script batch prompting runs against AIMLAPI models

示例工作流

输入

User asks: Return a JSON array of 3 project risks with mitigation strategies

智能体
  1. 1

    Builds request payload with json_object response_format and the user prompt

  2. 2

    Sends POST to AIMLAPI chat completions endpoint with User-Agent header

  3. 3

    Retries automatically on transient failures

  4. 4

    Parses the response and writes JSON result to ./out/risks.json

输出

A risks.json file containing a JSON array of 3 project risks each with a mitigation strategy

前置要求

  • AIMLAPI API key set as the AIMLAPI_API_KEY environment variable

安装

clawhub install aimlapihello/aiml-llm-reasoning

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接