← Back to Skills Marketplace
krisyejh

Bailian KnowledgeBase Retrieve

by krisyejh · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
556
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bailian-knowledge-retrieve
Description
Bailian KnowledgeBase(Provided by Alibaba ModelStdio) offers to retrieve any proprietary data that have been vectorized in the hosted knowledgebases. It retu...
README (SKILL.md)

Bailian KnowledgeBase Retrieve

Vector-based hosted KnowledgeBase with Bailian Embedding/Rerank API. Designed for AI agents and chatbots - returns clean, relevant content in your proprietary datahub.

Retrieve(Search)

python3 {baseDir}/scripts/retrieve.py "query"
python3 {baseDir}/scripts/retrieve.py "query" 3

Options

  • \x3Ccount>: Number of results (default: 5, max: 20)
  • \x3Cquery>: User Query for KB Retrieval
Usage Guidance
This skill appears coherent and performs exactly what it says: it will send your query and the provided DASHSCOPE_API_KEY and KNOWLEDGEBASE_ID to the Dashscope/Aliyun retrieve endpoint and print returned documents. Before installing or using it, verify the following: (1) only provide an API key that is scoped/limited to the specific knowledgebase (avoid sharing full account/root keys); (2) confirm you trust the skill source and the Alibaba endpoint used (dashscope.aliyuncs.com) because responses may contain proprietary content; (3) ensure the runtime environment has the Python 'requests' package installed (the SKILL.md only lists python3); (4) consider using short-lived or revocable credentials and auditing access logs on your knowledgebase; and (5) avoid passing highly sensitive queries unless you are comfortable that the remote service and provided API key are trusted and access-controlled.
Capability Analysis
Type: OpenClaw Skill Name: bailian-knowledge-retrieve Version: 1.0.0 The skill bundle is benign. It retrieves information from a Bailian KnowledgeBase using a provided API key and knowledge base ID from environment variables. User input for the query is safely passed as an argument to the Python script and then included in a JSON payload via the `requests` library, preventing injection. There is no evidence of prompt injection against the agent, data exfiltration to unauthorized endpoints, arbitrary code execution, or other malicious activities. The code adheres to secure practices for its stated purpose.
Capability Assessment
Purpose & Capability
Name/description (Bailian KnowledgeBase retrieve) matches what the code does: it sends a search request to an Alibaba/Dashscope retrieve API using a knowledgebase ID and API key. The requested env vars (DASHSCOPE_API_KEY, KNOWLEDGEBASE_ID) are directly used by the script.
Instruction Scope
SKILL.md instructs running scripts/retrieve.py with a query and optional count. The script only reads the two declared environment variables, constructs an API request to dashscope.aliyuncs.com, and prints the JSON response. There are no commands that read arbitrary files, shell history, other env vars, or send data to unexpected endpoints.
Install Mechanism
This is instruction-only (no install spec), so nothing is written to disk by an installer. Minor mismatch: the Python script imports the third-party 'requests' library but SKILL.md/metadata only require 'python3' (it does not declare that 'requests' must be present). Users must ensure the runtime has the 'requests' package installed.
Credentials
The skill requires two env vars: an API key (primaryEnv) and a knowledgebase ID. Both are proportionate and used exclusively to authenticate and target the retrieve request. No unrelated credentials or broad system config paths are requested.
Persistence & Privilege
Skill is not always-installed and does not request persistent system changes. It does not modify other skills or system-wide settings. Autonomous model invocation is allowed by default but is not combined with other concerning privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bailian-knowledge-retrieve
  3. After installation, invoke the skill by name or use /bailian-knowledge-retrieve
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of bailian-knowledgebase-retrieve. - Enables retrieval of proprietary, vectorized data from hosted knowledgebases using the Bailian Embedding/Rerank API. - Returns multi-document, concise KB results suitable for LLMs. - python script provided for querying knowledgebases and specifying the number of results. - Requires DASHSCOPE_API_KEY and KNOWLEDGEBASE_ID environment variables for access.
Metadata
Slug bailian-knowledge-retrieve
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bailian KnowledgeBase Retrieve?

Bailian KnowledgeBase(Provided by Alibaba ModelStdio) offers to retrieve any proprietary data that have been vectorized in the hosted knowledgebases. It retu... It is an AI Agent Skill for Claude Code / OpenClaw, with 556 downloads so far.

How do I install Bailian KnowledgeBase Retrieve?

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

Is Bailian KnowledgeBase Retrieve free?

Yes, Bailian KnowledgeBase Retrieve is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Bailian KnowledgeBase Retrieve support?

Bailian KnowledgeBase Retrieve is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bailian KnowledgeBase Retrieve?

It is built and maintained by krisyejh (@krisyejh); the current version is v1.0.0.

💬 Comments