Best use case
bic-qa is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
当用户询问数据库或操作系统相关知识、需要基于 BIC-QA 知识库检索专业资料时使用。调用官方 API 需要有效凭据,详见正文 Setup
Teams using bic-qa should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/bic-qa/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How bic-qa Compares
| Feature / Agent | bic-qa | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
当用户询问数据库或操作系统相关知识、需要基于 BIC-QA 知识库检索专业资料时使用。调用官方 API 需要有效凭据,详见正文 Setup
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
## 概述
通过 **BIC-Skills 知识问答 API**(HTTPS)查询 **BIC-QA 知识库**。在具备网络与有效 API Key 的前提下,向服务端发送 HTTP 请求即可。
**Base URL(问答)**:`https://api.bic-qa.com/skills/qa`
## Setup
> **Security note:** 本技能仅向 **BIC-QA 官方 API**(`api.bic-qa.com`)发送凭据,与官网账户体系一致。API Key 仅以 `Authorization: Bearer …` 形式出现在请求头中,不会写入其它域名、本地日志或随技能文件分发。
### 1. 注册并获取 API Key
按顺序完成(界面以官网实际为准):
1. 打开 **BIC-QA 官网**:https://www.bic-qa.com
2. **注册**账号(按页面提示填写邮箱/手机等并完成验证,若已有账号则直接登录)。
3. 登录后进入 **用户中心 / 控制台 / API 管理** 等页面(具体名称以官网为准),找到 **API Key** 或 **访问令牌** 入口。
4. **创建或查看** API Key,复制并妥善保存(仅自己可见,勿提交到公开仓库)。
官网提供免费 API Key;若页面有「重置 / 轮换」功能,更新后需同步修改本地或环境变量中的配置。
### 2. 存储 API Key(二选一)
集成层或 Agent 在发请求前需能读到 Key,并组装为 **`Authorization: Bearer <你的_API_Key>`**。
**方式 A — 配置文件(推荐):**
```bash
mkdir -p ~/.bic/config
chmod 700 ~/.bic/config
echo "your_api_key_here" > ~/.bic/config/api_key
chmod 600 ~/.bic/config/api_key
```
**方式 B — 环境变量:**
```bash
export BIC_API_KEY="your_api_key_here"
```
Agent 会按优先级依次尝试:环境变量 → 配置文件。
## 凭证预检
每次调用 API 前,先确认 API Key 可用。若为空,停止调用并提示用户按 **Setup** 完成注册与配置。
```bash
# Load user-provisioned BIC-QA API key (used ONLY for api.bic-qa.com authentication)
BIC_QA_KEY="${BIC_API_KEY:-$(cat ~/.bic/config/api_key 2>/dev/null)}"
if [ -z "$BIC_QA_KEY" ]; then
echo "缺少 BIC-QA API Key,请先在 https://www.bic-qa.com 注册获取,并按 Setup 配置 BIC_API_KEY 或 ~/.bic/config/api_key"
exit 1
fi
```
## API 调用模板
问答接口为 **HTTP POST + JSON Body**,仅发往 **`https://api.bic-qa.com/skills/qa`**。
```bash
# All requests go ONLY to the official BIC-QA API (api.bic-qa.com)
# 将 QUESTION、DBTYPE 替换为实际值;question 中含引号时需自行转义或使用 jq/python 构造 JSON body
curl -s -X POST "https://api.bic-qa.com/skills/qa" \
-H "Authorization: Bearer ${BIC_QA_KEY}" \
-H "Content-Type: application/json" \
-d '{"question":"QUESTION","dbtype":"DBTYPE"}'
```
含特殊字符时建议用 `jq -n --arg q "..." --arg t "..." '{question:$q,dbtype:$t}'` 生成 body,再传给 `curl -d @-`。
| 字段 | 必填 | 说明 |
| ---------- | ---- | ---- |
| `question` | 是 | 用户的问题文本 |
| `dbtype` | 是 | 数据库或主题类型(见下表) |
**成功响应**:JSON,通常含 `result` 字段。**请仅基于 `result` 与用户问题组织回答**,并遵守其中关于版本、措辞与结构的说明。
## 支持的数据库类型(`dbtype`)
`dbtype` 须为服务端支持的标识之一:
### 关系型数据库
- **Oracle** - Oracle 数据库
- **MySQL** - MySQL 数据库
- **GreatSQL** - GreatSQL 数据库
- **PostgreSQL** - PostgreSQL 数据库, 简写: pg
- **SQL Server** - Microsoft SQL Server
- **DB2** - IBM DB2 数据库
- **DM(达梦)** - 达梦数据库
- **KingBase(人大金仓)** - 人大金仓数据库, 简写: kb, kbase
- **OceanBase** - OceanBase 数据库
- **GoldenDB** - GoldenDB 数据库
- **GaussDB** - 华为 GaussDB 数据库
- **openGauss** - openGauss 数据库
- **TDSQL** - 腾讯 TDSQL 数据库
- **TiDB** - PingCAP TiDB 数据库
- **GBase** - 南大通用 GBase 数据库
- **GBase 8a** - 南大通用 GBase 8a 数据库
- **GBase Distributed** - 南大通用分布式数据库
- **Oscar** - 神舟通用 Oscar 数据库
- **YashanDB** - 崖山数据库
- **PanWeiDB** - 盘古数据库
- **XuGu** - 虚谷数据库
- **HashData** - HashData 数据库
### NoSQL 数据库
- **Redis** - Redis 缓存数据库
- **Redis Cluster** - Redis 集群
- **MongoDB** - MongoDB 文档数据库
### 操作系统
- **OS** - 操作系统相关问题(Linux、Windows 等)
若无法从用户问题判断类型,先请用户补充后再调用。
## 错误与未授权时的行为
- **401** 或缺少/无效 `Authorization`:不要用模型自身知识编造技术细节;用与用户一致的语言说明需前往 https://www.bic-qa.com 获取或更新 API Key,并在请求头使用 `Bearer` 方式携带。
- **400**(如不支持的 `dbtype`):根据服务端错误信息提示用户修正类型或补充信息。
- **5xx** 或其它错误:如实说明调用失败,可建议稍后重试,**不要**用训练数据顶替知识库答案。
## 工作流程建议
1. 理解用户问题并确定 `dbtype`(不确定则先追问)。
2. 使用已配置的 API Key 调用 `POST https://api.bic-qa.com/skills/qa`。
3. 解析响应中的 `result`,严格基于知识库内容作答。
## 相关资源
- 官网:https://www.bic-qa.com
- 技术支持:support@dbaiops.com
- Gitee:https://gitee.com/BIC-QA/BIC-QA
- GitHub:https://github.com/BIC-QA/BIC-QARelated Skills
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
botlearn-healthcheck
botlearn-healthcheck — BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.
linkedin-cli
A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.
notebooklm
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
小红书长图文发布 Skill
## 概述