Volcengine Cloud Trail logo

Volcengine Cloud Trail

Organization
volcengine
volcengine-cloud-trail

当用户需要查询火山引擎 CloudTrail 审计日志、调查登录或资源操作、分析或导出已投递到 TLS 的审计日志、导出已投递到 TOS 的审计日志、管理检索模板,或开通、调整、排查审计日志投递及管理历史补投任务时使用。 在火山引擎语境下,出现“操作审计、审计日志、日志检索、CloudTrail、cloud_trail、trail、跟踪、审计日志投递、历史补投、backfill”等词时触发。

Overview

Publishervolcengine
Repositoryvolcengine-agent-toolkit
Skill namevolcengine-cloud-trail
Stars
27
Forks
10
Bundled files
8
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by volcengine on GitHub. Read the source before you install it.

Installation

Install the Volcengine Cloud Trail AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/volcengine/volcengine-agent-toolkit/tree/main/plugins/volcengine-security/skills/volcengine-cloud-trail
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/volcengine/volcengine-agent-toolkit.git /tmp/volcengine-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/volcengine-agent-toolkit/plugins/volcengine-security/skills/volcengine-cloud-trail .claude/skills/volcengine-cloud-trail
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Volcengine Cloud Trail in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Volcengine Cloud Trail on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Volcengine Cloud Trail is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

火山引擎操作审计

帮助用户完成审计日志查询、溯源、分析、导出,以及检索模板、跟踪和历史补投管理。

执行入口

先读取 账号与操作规则,再按下表读取本次操作的参考;已经读过且仍适用的说明不必重复读取。

能力与使用方式

用户需求使用方式必读参考
近 90 天的事件查询、详情或小规模结果导出,且条件组合受支持基础检索;单次查询最多 50 条,基础导出最多 200 条event-query.md
确定产品事件源、事件名或操作含义事件名解析,按需结合官方资料核实event-query.md
复杂条件或 SQL 统计,且已有覆盖所查时段的 TLS 日志TLS 高级检索advanced-query.md
全部匹配日志或当前页导出不足按筛选条件、结果数量和已有日志覆盖选择基础导出或下载已投递的日志,详见“路径选择”result-export.md,缺少已投递的日志需补投时读 backfill-delivery-tasks.md
超过 90 天的事件查询先查已有 TLS/TOS 日志及保留时间,再选择检索或下载;见“查找已投递的日志”result-export.md
开通、调整或停止审计日志投递,排查投递异常跟踪与投递管理,包含 TOS 存储桶或 TLS 日志主题的准备和日志到达验证event-trail-management.md
保存指定历史时段日志或管理补投任务历史补投管理backfill-delivery-tasks.md
查找、使用或管理检索模板模板管理;仅管理模板时,无需检查历史日志是否齐全search-templates.md

用户要导出全部日志时,如果原查询方式无法导全,就改用其他导出方式。基础导出能满足要求时,直接使用,不必查找 TLS/TOS 日志或准备补投。用户只要当前页或已查到的结果时,就保存这些结果,不扩大查询范围。

工具与前置条件

  • CloudTrail 业务接口仅通过 scripts/cloud_trail.py 的 allowlist 调用 ve cloudtrail,API 版本为 2021-09-01;STS 身份确认及公开文档查证不受此清单限制。
  • CloudTrail 调用前检查 ve --version:稳定版至少 1.2.0。版本缺失、不可识别或不满足时停止业务调用,按 volcengine-cli 准备工具后恢复任务。版本通过不代表接口注册或鉴权通过。
  • 脚本需要 python3。--help 不要求安装 ve;直接 TLS 操作按对应工具的版本要求执行。
  • ve 安装、鉴权与配置按 volcengine-cli;TLS 操作按 volcengine-tls;TOS 操作按 volcengine-tosutil。具体命令、参数与工具要求由对应技能维护。
  • 身份选择、账号绑定与登录恢复统一按 rules.md;需要时读取相关工具技能。遵循当前工具要求携带 Agent 调用来源标识,不记录或回显密钥和令牌。
  • 标准输出保留结构化结果,诊断进入标准错误;接口成功时的完整响应保留在 ApiResponse。排查用的详细记录按需保存,不必全部展示给用户。

写操作边界

写操作先预览并核对授权。停止投递必须单独列出要停止的跟踪和影响,取得针对该动作的明确授权;不得从导出、补投或清理授权中推定。相同动作已明确授权时不重复询问。组织级操作须明确组织范围及影响。

时间与条件

  • 基础检索限近 90 天;TLS 能查到哪些日志,取决于实际投递和保留的日志;可补投的时间范围见对应参考。
  • 续查与导出沿用已固定的账号、时间范围和筛选条件。时间格式、时区解析、单位转换与边界处理见对应能力参考。
  • 根据真实条件组合和预期结果选择查询方式,不先试基础检索再丢弃不受支持的条件。基础检索空结果先核对范围,不能只因空结果自动改走 TLS。
  • 不确定产品、事件源、事件名,或操作属于读取还是写入时,先核实。用户要“完整原始事件”时,提供事件的全部字段;要“全部事件”时,获取全部匹配记录。

调用入口

在本技能目录使用 python3 scripts/cloud_trail.py --help 查看可用命令;按需查看子命令帮助,示例见对应参考文档。

实际调用 CloudTrail API 时,须用全局参数 --expected-account-id 指定已确认的账号,必要时指定对应的已授权身份。直接 TLS/TOS 调用独立核实身份。本地帮助与元数据解析不要求账号校验。

默认输出 JSON;需要其他格式时,全局 --format 放在业务分组之前。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Volcengine Cloud Trail AI skill do?

当用户需要查询火山引擎 CloudTrail 审计日志、调查登录或资源操作、分析或导出已投递到 TLS 的审计日志、导出已投递到 TOS 的审计日志、管理检索模板,或开通、调整、排查审计日志投递及管理历史补投任务时使用。 在火山引擎语境下,出现“操作审计、审计日志、日志检索、CloudTrail、cloud_trail、trail、跟踪、审计日志投递、历史补投、backfill”等词时触发。

Why use Volcengine Cloud Trail on TypingMind?

Because you install it once and use it with any model. Volcengine Cloud Trail is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Volcengine Cloud Trail in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/volcengine/volcengine-agent-toolkit/tree/main/plugins/volcengine-security/skills/volcengine-cloud-trail. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Volcengine Cloud Trail?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Volcengine Cloud Trail?

As many as you like. As long as a model supports skills, you can use Volcengine Cloud Trail with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Volcengine Cloud Trail AI skill free?

Yes. It is published on GitHub by volcengine under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇