alibaba-adb-knowledge

alibaba-adb-knowledge is a skill for Claude Code, Codex from aliyun/alibabacloud-adb-mysql-mcp-server. It costs 100 tokens per session (2,566 once invoked), scanned A, original, Apache-2.0.

A procedure for using Alibaba Cloud's command-line tools to upload files to Object Storage Service and add them to an AnalyticDB knowledge base. A knowledge base stores information that can later be searched by an AI or application.

In plain words
What is it for?
It helps inspect available lake-storage buckets, upload local or network files, verify uploads, ingest them into a knowledge base, and retrieve matching information.
Why use it?
It enforces the required checks and bucket selection before files are uploaded or indexed, reducing the risk of using the wrong storage location.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is aliyun oss cp ./data/ "oss://$OSS_BUCKET/knowledge/data/" --recursive.

Good fit It helps inspect available lake-storage buckets, upload local or network files, verify uploads, ingest them into a knowledge base, and retrieve matching information.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aliyun/alibabacloud-adb-mysql-mcp-server
agentmods
npx agentmods add skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alibaba-adb-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge/github.svg)](https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge)
Your own site
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for alibaba-adb-knowledge

Your own site · 80×15
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 43
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02566
Opus 5 $0.00050 $0.01283
Sonnet 5 $0.00020 $0.00513
Haiku 4.5 $0.00010 $0.00257

Measured 12d ago against content hash e5429ed5551b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

alibaba-adb-knowledge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/alibabacloud-adb-knowledge/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADB Knowledge

Run aliyun commands directly. Do not create, invoke, or depend on a wrapper script.

Read README.md when the user needs CLI installation, credential setup, permissions, or a complete end-to-end walkthrough.

End-to-end workflow

Every task that involves uploading or ingesting files must follow these four steps in strict order:

  1. Environment check — Verify the CLI, ADB plugin, and required parameters are available (see "Install and verify the CLI").
  2. Bucket selection — Execute list-lake-storages, extract Items[].LakeStorageId, present those values to the user, and let them choose exactly one bucket. This is a mandatory prerequisite; do not skip it or assume a bucket.
  3. Upload + Ingest — Upload the file(s) to OSS → verify with aliyun oss stat → immediately execute add-knowledge-file. These three actions are a single atomic sequence; do not wait for a separate user instruction between them.
  4. Recallget-knowledge-recall with full raw output returned verbatim.

Step 2 (Bucket selection) is an independent prerequisite that must complete before any upload or ingestion operation begins.

Path validation

Every OSS target path (for upload) and every --file-location value (for ingestion) must start with oss://adb-lake-. This ensures only lake-storage buckets are used.

Before executing aliyun oss cp or aliyun adb add-knowledge-file, validate the resolved OSS URI:

  • oss://adb-lake-cn-beijing-9746ll8740/knowledge/report.pdf — valid
  • oss://my-custom-bucket/knowledge/report.pdf — rejected

If the path does not match the oss://adb-lake- prefix, stop immediately and inform the user that only lake-storage buckets (prefixed with adb-lake-) are supported. Do not proceed with upload or ingestion.

Constants and configuration

Use API version 2021-12-01 for every ADB knowledge command.

Require the ADB cluster ID. Prefer ADB_INSTANCE_ID when it is available:

export ADB_INSTANCE_ID="amv-xxxxxxxxxxxxxx"

Read the full file on GitHub · 223 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 223 lines · 100 tokens per session scan A e5429ed5551b

Subscribe to this mod's changes

alibaba-adb-knowledge is a skill published in the GitHub repository aliyun/alibabacloud-adb-mysql-mcp-server (32 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 100 tokens to every session and 2,566 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

azure-search-documents-ts

Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building agentic retrieval with knowledge bases.

microsoft/skills · 48 tokens

convex-agent

Add an AI agent / RAG backend (@convex-dev/agent) to the Convex app.

openclaw/clawhub · 25 tokens

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens

langchain4j-spring-boot-integration

Provides integration patterns for LangChain4j with Spring Boot. Configures AI model beans, sets up chat memory with Spring context, integrates RAG pipelines with Spring Data, and handles auto-configuration, dependency injection, and Spring ecosystem integration. Use when embedding LangChain4j into Spring Boot…

giuseppe-trisciuoglio/developer-kit · 88 tokens

azure-search-documents-py

Full-text, vector, and hybrid search with AI enrichment capabilities.

benjaminasterA/antigravity-awesome-skills · 0 tokens