Large Model Vision QA Skill: Open-ended VQA on Images in Agents

Preface

When building image-related features, a common practice is to integrate a separate multimodal API, or to manually handle uploads and prompt assembly within conversations. Image paths, user identities, and history records are often implemented separately, making it hard for an Agent to stably reproduce the same workflow. Below we introduce Large Model Visual Question Answering Skill | 大模型视觉问答技能 on SkillHub (coordinate @user_bb47e3e3/visual-qa-analysis, current version 1.0.4): it consolidates “viewing an image + asking arbitrary natural-language questions + cloud-based Q&A and history queries” into a standard SKILL.md and accompanying scripts, which the Agent triggers and executes according to the documentation.

What Is This

In one sentence: an open-ended image question answering (VQA) Skill based on computer vision and large language models, supporting questions about any image and returning natural-language answers.

  • Publisher and source: Community publisher user_bb47e3e3, source community, category knowledge-management.
  • Problem solved: Unifies image input (local files or public URLs), user identification (open-id), calling a backend API for Q&A, and pulling the cloud-based history list of Q&A records; avoids the Agent stitching together interfaces on its own or misreading local memory as historical data.

Official page: SkillHub - visual-qa-analysis. SkillHub display rating 100000, 656 downloads; the skill tag includes requires_api_key=true, indicating that the runtime pipeline is related to key/identity configuration and must be prepared according to the documentation.

Core Functions

The following capabilities come from the Skill’s SKILL.md (v1.0.4) description:

  1. Open-ended visual Q&A: Recognizes visual elements such as objects, scenes, text, charts, etc., combines the LLM to reason about user questions, and generates natural-language answers; supports descriptions of multi-turn dialogue scenarios (e.g., image analysis, document interpretation, educational assistance, etc.).
  2. Dual-channel image input: Local path (--input) or network image URL (--url, downloaded by the API service; no need for the Agent to download to local first).
  3. History Q&A list: Queries history records from the cloud interface via --list and --open-id, and outputs them as a Markdown table (including a clickable reportImageUrl link); the Skill explicitly requires that local memory or LanceDB must not be used as a substitute for cloud data.
  4. Configurable output: --detail supports basic / standard / json; optional --output writes results to a file.
  5. Format and size limits: Images support jpg, png, jpeg, webp, single image max 20MB.

Script dependency: requests>=2.28.0 (see Skill prerequisites).

Installation and Activation

Install SkillHub CLI (if not already installed)

First check whether the CLI is already present on the machine:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation instructions to perform a full installation or CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

Install This Skill

When installing, you must use --dir to point to the skills directory actually used by the current Agent; otherwise the default location at ./skills/ may not be recognized.

skillhub install visual-qa-analysis --namespace user_bb47e3e3 --dir <your skills directory>

You can also hand the following prompt to the AI and let it follow the official installation documentation:

Please install `@user_bb47e3e3/visual-qa-analysis` according to https://skillhub.cn/install/skillhub.md.

Common Agent skills paths (excerpted from the SkillHub installation documentation):

Environment skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart the Agent according to your client’s requirements so the new Skill is loaded.

Identity and Configuration (open-id)

Before performing Q&A, the Skill specifies obtaining the open-id (used as user identity, and possibly associated with the api-key field in scripts/config.yaml) by the following priority:

  1. The api-key in scripts/config.yaml under the skill directory;
  2. If a shared configuration exists: the api-key in skills/smyx_common/scripts/config.yaml;
  3. The open-id explicitly provided by the user in the current conversation;
  4. If none of the above exists, pause and prompt the user to provide a username or phone number as the open-id.

Fabricating an open-id is forbidden. The optional parameter --api-key is used for the API access key; handle according to the Skill’s instructions when authentication is not correctly performed.

Typical Usage

Call the module under the skill root directory (consistent with the official example):

# Local image
python -m scripts.visual_qa_analysis \
  --input /path/to/image.jpg \
  --question "What is in this image? Please describe it" \
  --open-id <your-open-id>

# Network image (URL downloaded by the API side)
python -m scripts.visual_qa_analysis \
  --url https://example.com/image.jpg \
  --question "How many people are in the image, and what are they doing?" \
  --open-id <your-open-id>

# Cloud history Q&A list
python -m scripts.visual_qa_analysis --list --open-id <your-open-id>

# Concise output or save to disk
python -m scripts.visual_qa_analysis \
  --input image.jpg \
  --question "Describe this image" \
  --open-id <your-open-id> \
  --detail basic

python -m scripts.visual_qa_analysis \
  --input image.jpg \
  --question "Please identify the text content in the image" \
  --open-id <your-open-id> \
  --output result.json

Trigger methods in Agent conversations (excerpted from the Skill conventions): when the user provides an image URL/file and asks a question; or when VQA, image viewing Q&A, image Q&A keywords appear and an image has been uploaded; when querying history, use expressions such as “view history Q&A records” or “visual Q&A history”, and should go through --list cloud query rather than local memory.

For interface details and error codes, see the skill’s internal references/api_doc.md (have the Agent read it when needed, to avoid blowing up the context).

Applicable Scenarios and Notes

Who it is for

  • Developers or teams who need to use a unified Skill to complete “upload or reference an image + free-form questions” in environments such as Cursor, Claude Code, Codex, etc.
  • Scenarios where history Q&A is separated from the current session, archived in the cloud, and can be listed and viewed.

Limitations and notes

  • Answers are generated by a large model; the Skill notes they are for reference only, and critical information needs manual verification.
  • A valid open-id and (as needed) API key must be prepared; the tag requires_api_key=true indicates that you cannot assume zero configuration will suffice to call the production interface.
  • History records can only go through the cloud API; the Skill prohibits reading memory/, MEMORY.md, or LanceDB as a fallback.
  • Only use the scripts bundled with the skill; do not temporarily generate substitute scripts; network images can be passed via URL directly, no need for the Agent to download to local first.

Conclusion

The Large Model Visual Question Answering Skill writes VQA input specifications, identity acquisition, API calls, and history list output into a single set of Agent Skills, reducing the behavior of re-agreeing on interfaces in every conversation. To install or view metadata, please visit the SkillHub skill page or the API coordinate page https://api.skillhub.cn/user_bb47e3e3/visual-qa-analysis.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye