🎯

linkai-agent

🎯Skill

from zhayujie/chatgpt-on-wechat

VibeIndex|
What it does

Executes LinkAI applications and workflows by calling a bash script with an app code and question via API.

📦

Part of

zhayujie/chatgpt-on-wechat(5 items)

linkai-agent

Installation

git cloneClone repository
git clone https://github.com/zhayujie/chatgpt-on-wechat
pip installInstall dependencies
pip3 install -r requirements.txt
pip installInstall dependencies
pip3 install -r requirements-optional.txt
PythonRun Python server
python3 app.py # windows环境下该命令通常为 python app.py
DockerRun with Docker
docker compose version
📖 Extracted from docs: zhayujie/chatgpt-on-wechat
2Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Call LinkAI applications and workflows. Use bash command to execute like 'bash <base_dir>/scripts/call.sh <app_code> <question>'.

Overview

# LinkAI Agent Caller

Call LinkAI applications and workflows through API. Supports multiple apps/workflows configured in config.json.

The available apps are dynamically loaded from config.json at skill loading time.

Setup

This skill requires a LinkAI API key. If not configured:

  1. Get your API key from https://link-ai.tech/console/api-keys
  2. Set the key using: env_config(action="set", key="LINKAI_API_KEY", value="your-key")

Configuration

  1. Copy config.json.template to config.json
  2. Configure your apps/workflows:

```json

{

"apps": [

{

"app_code": "your_app_code",

"app_name": "App Name",

"app_description": "What this app does"

}

]

}

```

  1. The skill description will be automatically updated when the agent loads this skill

Usage

Important: Scripts are located relative to this skill's base directory.

When you see this skill in , note the path.

CRITICAL: Always use bash command to execute the script:

```bash

# General pattern (MUST start with bash):

bash "/scripts/call.sh" "" "" [model] [stream] [timeout]

# DO NOT execute the script directly like this (WRONG):

# "/scripts/call.sh" ...

# Parameters:

# - app_code: LinkAI app or workflow code (required)

# - question: User question (required)

# - model: Override model (optional, uses app default if not specified)

# - stream: Enable streaming (true/false, default: false)

# - timeout: curl timeout in seconds (default: 120, recommended for video/image generation)

```

IMPORTANT - Timeout Configuration:

  • The script has a default timeout of 120 seconds (suitable for most cases)
  • For complex tasks (video generation, large workflows), pass a longer timeout as the 5th parameter
  • The bash tool also needs sufficient timeout - set its timeout parameter accordingly
  • Example: bash(command="bash