← Back to Skills Marketplace
dtkien182

test

by Dang Trung Kien · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
131
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ken-test
Description
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
README (SKILL.md)

Baidu Search

Search the web via Baidu AI Search API.

Prerequisites

API Key Configuration

This skill requires a BAIDU_API_KEY to be configured in OpenClaw.

If you don't have an API key yet, please visit: https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey

For detailed setup instructions, see: references/apikey-fetch.md

Usage

python3 skills/baidu-search/scripts/search.py '\x3CJSON>'

Request Parameters

Param Type Required Default Description
query str yes - Search query
count int no 10 Number of results to return, range 1-50
freshness str no Null Time range, two formats: format one is ”YYYY-MM-DDtoYYYY-MM-DD“, and format two includes pd, pw, pm, and py, representing the past 24 hours, past 7 days, past 31 days, and past 365 days respectively

Examples

# Basic search
python3 scripts/search.py '{"query":"人工智能"}'

# Freshness first format "YYYY-MM-DDtoYYYY-MM-DD" example
python3 scripts/search.py '{
  "query":"最新新闻",
  "freshness":"2025-09-01to2025-09-08"
}'

# Freshness second format pd、pw、pm、py example
python3 scripts/search.py '{
  "query":"最新新闻",
  "freshness":"pd"
}'

# set count, the number of results to return
python3 scripts/search.py '{
  "query":"旅游景点",
  "count": 20,
}'

Current Status

Fully functional.

Usage Guidance
This skill's code looks straightforward and implements Baidu web search, but there are a few red flags to check before installing: - Verify the author/source: package metadata and owner IDs differ from the embedded _meta.json and the registry slug; confirm you trust the publisher before giving it your BAIDU_API_KEY. - Confirm dependencies: the script requires the Python 'requests' library but the skill doesn't declare or install it. Install it in a controlled environment (e.g., pip install requests) or run in an isolated container. - Review duplicates: the same files appear in multiple places in the package; confirm this isn't accidental tampering. - Protect your API key: the skill expects BAIDU_API_KEY and suggests adding it to ~/.openclaw/openclaw.json. Consider whether you want the key in that file (it persists on disk) or prefer setting it in a session-scoped environment instead. - Run in isolation first: execute the script manually with a throwaway API key or in a sandbox to confirm behavior (it only contacts qianfan.baidubce.com and prints returned references). If you cannot verify the publisher or the packaging anomalies, avoid installing or provide the skill with a limited/testing API key until you are comfortable.
Capability Analysis
Type: OpenClaw Skill Name: ken-test Version: 1.0.0 The skill is a legitimate implementation of a Baidu AI Search interface. The core logic in `scripts/search.py` safely parses JSON input, validates search parameters (query, count, freshness), and communicates exclusively with the official Baidu API endpoint (qianfan.baidubce.com) using an environment-provided API key. The documentation in `SKILL.md` and `references/apikey-fetch.md` provides standard setup and usage instructions without any evidence of prompt injection or malicious intent.
Capability Assessment
Purpose & Capability
The declared purpose (Baidu web search) matches the code: the Python script calls the Baidu qianfan web_search endpoint using BAIDU_API_KEY. However the package metadata is inconsistent: top-level name/slug/owner (registry metadata shows 'test' / 'ken-test' / owner kn7akw...) differs from embedded _meta.json entries (slug 'baidu-search', different ownerId), and files are duplicated under baidu-search-1.1.2 as well as top-level. These packaging/name/owner mismatches are unexpected and should be validated.
Instruction Scope
Runtime instructions and the script stay within the described purpose: they parse a JSON query, build a request body, and call Baidu's API. The instructions only reference BAIDU_API_KEY and a suggested OpenClaw config path (~/.openclaw/openclaw.json) for storing the key. There is no code that reads unrelated system files or exfiltrates data to unexpected endpoints.
Install Mechanism
No install spec (instruction-only) so nothing arbitrary gets downloaded at install time. However the Python script imports the third-party 'requests' library but the skill does not declare this dependency or provide an install step; that is an omission which may cause runtime failures. File duplication (same script repeated in two paths) is also unusual and worth confirmation.
Credentials
The only required environment variable is BAIDU_API_KEY (declared as primaryEnv) which is proportionate to a Baidu search integration. The script reads only BAIDU_API_KEY from the environment and nothing else.
Persistence & Privilege
The skill does not request 'always: true' and does not attempt to modify other skills or system-wide settings. The README suggests editing the OpenClaw config to add the API key, which is typical for credential setup and within scope.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ken-test
  3. After installation, invoke the skill by name or use /ken-test
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of baidu-search skill. - Enables web search via Baidu AI Search API for live information, documentation, or research topics. - Requires configuration of a BAIDU_API_KEY environment variable. - Supports advanced search features, including adjustable result count (1–50) and time range filtering. - Provides detailed usage instructions and example commands. - Fully functional and ready for use.
Metadata
Slug ken-test
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is test?

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. It is an AI Agent Skill for Claude Code / OpenClaw, with 131 downloads so far.

How do I install test?

Run "/install ken-test" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is test free?

Yes, test is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does test support?

test is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created test?

It is built and maintained by Dang Trung Kien (@dtkien182); the current version is v1.0.0.

💬 Comments