xiaohongshu
xiaohongshu
linkai-agent
Call LinkAI applications and workflows. Use bash command to execute like 'bash <base_dir>/scripts/call.sh <app_code> <question>'.
Full skill instructions
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.
This skill requires a LinkAI API key. If not configured:
env_config(action="set", key="LINKAI_API_KEY", value="your-key")config.json.template to config.json{
"apps": [
{
"app_code": "your_app_code",
"app_name": "App Name",
"app_description": "What this app does"
}
]
}
Important: Scripts are located relative to this skill's base directory.
When you see this skill in <available_skills>, note the <base_dir> path.
CRITICAL: Always use bash command to execute the script:
# General pattern (MUST start with bash):
bash "<base_dir>/scripts/call.sh" "<app_code>" "<question>" [model] [stream] [timeout]
# DO NOT execute the script directly like this (WRONG):
# "<base_dir>/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:
timeout parameter accordinglybash(command="bash <script> <app_code> <question> '' 'false' 180", timeout=200)bash(command='bash "<base_dir>/scripts/call.sh" "G7z6vKwp" "What is AI?"', timeout=60)
bash(command='bash "<base_dir>/scripts/call.sh" "G7z6vKwp" "Explain machine learning" "LinkAI-4.1"', timeout=60)
# Pass timeout as 5th parameter to script, and set bash timeout slightly longer
bash(command='bash "<base_dir>/scripts/call.sh" "workflow_code" "Generate a sunset video" "" "false" "180"', timeout=180)
bash "<base_dir>/scripts/call.sh" "workflow_code" "Analyze this data: ..."
You can specify any LinkAI supported model:
LinkAI-4.1 - Latest GPT-4.1 model (1000K context)LinkAI-4.1-mini - GPT-4.1 mini (1000K context)LinkAI-4o - GPT-4o model (128K context)LinkAI-4o-mini - GPT-4o mini (128K context)deepseek-chat - DeepSeek-V3 (64K context)deepseek-reasoner - DeepSeek-R1 reasoning modelclaude-4-sonnet - Claude 4 Sonnet (200K context)gemini-2.5-pro - Gemini 2.5 Pro (1000K context)Full model list: https://link-ai.tech/console/models
Success response:
{
"app_code": "G7z6vKwp",
"content": "AI stands for Artificial Intelligence...",
"usage": {
"prompt_tokens": 10,
"completion_tokens": 50,
"total_tokens": 60
}
}
Error response:
{
"error": "Error description",
"message": "Detailed error message"
}
"LINKAI_API_KEY environment variable is not set"
"app_code is required"
"应用不存在" (App not found)
"账号积分额度不足" (Insufficient credits)
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience