dasfgg
v1.0.0Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Stated purpose (Baidu web search) aligns with required artifacts: python3 and BAIDU_API_KEY. However the package name ('dasfgg') and SKILL.md name ('baidu-test') differ, and SKILL.md references a path 'skills/baidu-search/scripts/search.py' that doesn't match the included file location (scripts/search.py). These naming/path inconsistencies are likely sloppy packaging rather than malicious, but they reduce trust and may cause runtime errors.
Instruction Scope
SKILL.md instructs running the included Python script which sends the user's query to a Baidu search endpoint — that is coherent with the description. The script reads only BAIDU_API_KEY from the environment and the provided JSON argument. It removes 'snippet' fields but otherwise prints out the returned references unredacted (may include URLs or content). The usage examples contain inconsistent invocation paths (both 'scripts/search.py' and 'skills/baidu-search/...'), which is confusing.
Install Mechanism
No install spec (instruction-only) which is low-risk, but the included script depends on the Python 'requests' library while the manifest only requires 'python3' and does not declare requests as a dependency. That is an inconsistency that may cause runtime failures or surprise if the runtime lacks requests.
Credentials
Only BAIDU_API_KEY is requested and declared as the primary credential; this is appropriate for a search API integration. The script accesses only that env var and no other credentials or system config paths.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent system privileges. It does not modify other skills or system-wide agent settings.
What to consider before installing
This skill appears to be a simple wrapper for Baidu web search and only needs your BAIDU_API_KEY, but check a few things before installing: 1) Confirm which script path to run — SKILL.md and file layout are inconsistent. 2) Ensure the runtime has the Python 'requests' library (not declared). 3) Understand that user queries are sent to a Baidu endpoint (qianfan.baidubce.com) — don’t send secrets or private data to it. 4) Verify the BAIDU_API_KEY is scoped appropriately and can be revoked. 5) Because of the naming/packaging sloppiness, consider running the script in a sandbox or reviewing network traffic the first time you use it. If you need high assurance, ask the publisher for a corrected manifest and dependency list or request a signed/official upstream source.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🔍︎ Clawdis
Binspython3
EnvBAIDU_API_KEY
Primary envBAIDU_API_KEY
SKILL.md
Baidu Search
Search the web via Baidu AI Search API.
Usage
python3 skills/baidu-search/scripts/search.py '<JSON>'
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.
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
