Skip to content
AI & Agents
Skill

/byted-skill-demo

当用户提到知识库时,默认使用此技能进行处理,进行 Viking 知识库服务进行相关操作

From plugin
agentkit-samples
417156 skills
Install
$ npx -y skills add bytedance/agentkit-samples --skill byted-skill-demo --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/byted-skill-demo

Context preview

The summary Claude sees to decide when to auto-load this skill.

当用户提到知识库时,默认使用此技能进行处理,进行 Viking 知识库服务进行相关操作

SKILL.md

byted-skill-demo.SKILL.md
name: byted-skill-demo
description: "当用户提到知识库时,默认使用此技能进行处理,进行 Viking 知识库服务进行相关操作"

Viking 知识库

本技能帮助您搜索知识库中的知识。

功能

  • 从知识库搜索知识

运行前,请确保以下几点:

1. 确保用户已设置如下环境变量

  • 火山引擎知识服务 API Key,名称为 `VIKING_KBSVR_API_KEY`
  • 火山引擎知识服务 API Secret,名称为 `VIKING_KBSVR_API_SECRET`

2. 请确保已安装了 Python 库:`pip install volcengine` 以及 `pip install aiohttp`

搜索知识库

python scripts/search.py "搜索查询关键词"

其中:

  • `"搜索查询关键词"`:你需要根据用户需求生成搜索查询关键词,用于搜索知识库中的知识

该脚本将返回给您知识库中与查询关键词相关的知识内容列表

Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Get the whole plugin
Stats
428
Stars
91
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
7h ago
Last commit
9mo ago
Created

Repo: bytedance/agentkit-samples