AI Skill Report Card

Calling AICS OpenAPI

C+68·Mar 7, 2026·Source: Web
12 / 15
Bash
python aics_openapi_tool.py --service_id "c514b8f3e73243d09a3919c49bbc54b1"
Recommendation
Remove verbose explanations like 'Navigate to Scripts Directory' - Claude knows how to use cd commands
10 / 15
  1. Install Dependencies

    Bash
    pip install requests
  2. Navigate to Scripts Directory

    Bash
    cd .lingjiang/skills/aics_openapi/scripts
  3. Execute API Call

    Bash
    python aics_openapi_tool.py --service_id <SERVICE_ID> [OPTIONS]

Progress:

  • Verify service ID is correct
  • Prepare request body (if needed)
  • Execute API call
  • Validate response
Recommendation
Make examples more concrete by showing actual JSON response structures instead of just 'JSON response from AICS API displayed in console'
12 / 20

Example 1: Basic Call Input: python aics_openapi_tool.py --service_id "c514b8f3e73243d09a3919c49bbc54b1" Output: JSON response from AICS API displayed in console

Example 2: Query with Body Input: python aics_openapi_tool.py --service_id "c514b8f3e73243d09a3919c49bbc54b1" --body '{"query": "热值"}' Output: Filtered results based on query parameter

Example 3: Save to File Input: python aics_openapi_tool.py --service_id "abc123" --output result.json Output: Response saved to result.json file

Recommendation
Consolidate the overly detailed parameter table and configuration section - these are basic concepts that don't need extensive explanation
ParameterRequiredDescriptionExample
--service_idYesAICS service identifierc514b8f3e73243d09a3919c49bbc54b1
--bodyNoPOST request body (JSON string)'{"input": {"key": "value"}}'
--outputNoOutput file pathresult.json
--verboseNoShow detailed debug information-

The tool uses resources/config.json:

JSON
{ "api_config": { "base_url": "https://101.37.20.232/aics/api/openapi/invoke", "type": "EXPERIMENT" } }
  • Always validate JSON format for --body parameter
  • Use single quotes around JSON strings in command line
  • Run from the scripts directory to ensure config file is found
  • Use --verbose for debugging connection issues
  • Save important responses with --output parameter
  • Invalid JSON: Don't use malformed JSON in --body parameter
  • Wrong Directory: Don't run from root directory; config.json won't be found
  • Missing Service ID: Don't omit the required --service_id parameter
  • Network Issues: Don't ignore SSL certificate errors; ensure HTTPS access to 101.37.20.232
  • Character Encoding: Don't use non-UTF-8 characters without proper encoding
0
Grade C+AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
12/15
Workflow
10/15
Examples
12/20
Completeness
12/20
Format
12/15
Conciseness
10/15