Skip to content
TakoAPI
Back to skills

aiml-llm-reasoning

by aimlapihello

Productivity & Tasks
903Downloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

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

AGENT
  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

OUTPUT

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

Requirements

  • AIMLAPI API key set as the AIMLAPI_API_KEY environment variable

Installation

clawhub install aimlapihello/aiml-llm-reasoning

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links