Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

fluentbit-generator流利比特生成器

Agent Skill

fluentbit-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,144

周安装

131

GitHub Stars

195

下载量

1,048
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fluentbit-generator(流利比特生成器)
来源仓库:https://github.com/akin-ozer/cc-devops-skills
仓库路径:skills/fluentbit-generator
安装命令:
npx skills add https://github.com/akin-ozer/cc-devops-skills --skill fluentbit-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akin-ozer/cc-devops-skills --skill fluentbit-generator

简介

fluentbit-generator 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,注意是否触发联网、命令执行或文件读写。
  • 建议结合原始 README 和仓库内容核验具体用法和功能边界。

SKILL.md

Fluent Bit Config Generator

Trigger Guidance

Use this skill when the user asks for any of the following:

  • Create or update a Fluent Bit config (fluent-bit.conf, parsers.conf)
  • Build a log pipeline (INPUT -> FILTER -> OUTPUT)
  • Configure Kubernetes logging with metadata enrichment
  • Send logs/metrics to Elasticsearch, Loki, CloudWatch, S3, Kafka, OTLP, or Prometheus remote write
  • Implement parser, multiline, lua, or stream processing behavior

Do not use this skill for pure validation-only requests; use fluentbit-validator in that case.

Execution Flow

Follow this sequence exactly. Do not skip stages.

Stage 1: Set Working Context and Preflight

Use one of these deterministic command patterns.

# Option A (recommended): run from this skill directory
cd /Users/akinozer/GolandProjects/cc-devops-skills/devops-skills-plugin/skills/fluentbit-generator
python3 scripts/generate_config.py --help
# Option B: run from any cwd with absolute paths
python3 /Users/akinozer/GolandProjects/cc-devops-skills/devops-skills-plugin/skills/fluentbit-generator/scripts/generate_config.py --help

Preflight checks:

  • Confirm python3 is available.
  • Confirm script help loads without errors.
  • If using relative output paths, run from the intended target cwd.

Fallback:

  • If python3 or script execution is unavailable, switch to manual generation flow (Stage 4) using examples/ templates.

Stage 2: Clarification Questionnaire (Explicit Template)

Collect these fields before generation.

Required questions:

  1. Primary use case: kubernetes, application logs, syslog, http ingest, metrics, or custom?
  2. Inputs: which sources and paths/ports (for example tail /var/log/containers/*.log)?
  3. Outputs: destination plugin(s) and endpoint(s) (host, port, uri/topic/index/bucket)?
  4. Reliability/security requirements: TLS on/off, retry expectations, buffering limits?
  5. Environment context: cluster name, environment name, cloud region (if applicable)?

Optional but important:

  1. Expected log format: json, regex, cri, docker, multiline stack traces?
  2. Throughput profile: low/medium/high and acceptable latency?
  3. Constraints: offline environment, missing binaries, read-only filesystem?

If any required answer is missing, ask focused follow-up questions before generating.

Stage 3: Decide Script vs Manual Generation

Use this decision table.

ConditionPath
Request matches a built-in use case and only needs supported flagsScript path (Stage 5)
Request needs uncommon plugin options not represented by script flagsManual path (Stage 4)
Complex multi-filter chain, custom parser/lua logic, or specialized plugin tuningManual path (Stage 4)
Script cannot run in environment (missing Python/permissions)Manual path (Stage 4)
User explicitly requests hand-crafted configManual path (Stage 4)

Supported script use cases:

  • kubernetes-elasticsearch
  • kubernetes-loki
  • kubernetes-cloudwatch
  • kubernetes-opentelemetry
  • application-multiline
  • syslog-forward
  • file-tail-s3
  • http-kafka
  • multi-destination
  • prometheus-metrics
  • lua-filtering
  • stream-processor
  • custom

Always state the decision explicitly, including why the other path was not used.

Stage 4: Manual Generation (When Script Is Not the Best Fit)

  1. Read the closest template in examples/ first.
  2. Read examples/parsers.conf before defining new parsers.
  3. Assemble config in this order:
  • [SERVICE]
  • [INPUT]
  • [FILTER]
  • [OUTPUT]
  • parser definitions (if needed)
  1. Reuse known-good sections from examples and only customize required parameters.
  2. Keep tags and parser references consistent across sections.

Required local template selection:

  • Kubernetes + Elasticsearch: examples/kubernetes-elasticsearch.conf
  • Kubernetes + Loki: examples/kubernetes-loki.conf
  • Kubernetes + CloudWatch: examples/cloudwatch.conf
  • Kubernetes + OpenTelemetry: examples/kubernetes-opentelemetry.conf
  • App multiline: examples/application-multiline.conf
  • Syslog forward: examples/syslog-forward.conf
  • File to S3: examples/file-tail-s3.conf
  • HTTP to Kafka: examples/http-input-kafka.conf
  • Multi destination: examples/multi-destination.conf
  • Metrics: examples/prometheus-metrics.conf
  • Lua filtering: examples/lua-filtering.conf
  • Stream processor: examples/stream-processor.conf
  • Parsers: examples/parsers.conf

Fallback:

  • If no matching example exists, start from scripts/generate_config.py --use-case custom output shape and extend manually.

Stage 5: Script Generation Commands (Deterministic Examples)

Run from skill directory unless output path is absolute.

cd /Users/akinozer/GolandProjects/cc-devops-skills/devops-skills-plugin/skills/fluentbit-generator

# Kubernetes -> Elasticsearch
python3 scripts/generate_config.py \
  --use-case kubernetes-elasticsearch \
  --cluster-name prod-cluster \
  --environment production \
  --es-host elasticsearch.logging.svc \
  --es-port 9200 \
  --output output/fluent-bit.conf

# Kubernetes -> OpenTelemetry
python3 scripts/generate_config.py \
  --use-case kubernetes-opentelemetry \
  --cluster-name prod-cluster \
  --environment production \
  --otlp-endpoint otel-collector.observability.svc:4318 \
  --output output/fluent-bit-otlp.conf

# File tail -> S3
python3 scripts/generate_config.py \
  --use-case file-tail-s3 \
  --log-path /var/log/app/*.log \
  --s3-bucket my-logs-bucket \
  --s3-region us-east-1 \
  --output output/fluent-bit-s3.conf

Fallback:

  • If a required option is unsupported by the script, document that gap and switch to Stage 4.

Stage 6: Plugin Documentation Lookup Fallback Chain

Use this strict order when plugin behavior or parameters are uncertain.

  1. Context7 (first choice)
  • Resolve library id for Fluent Bit docs.
  • Query plugin-specific configuration details.
  1. Official Fluent Bit docs (second choice)
  • Use https://docs.fluentbit.io/manual and plugin-specific pages.
  • Prefer official plugin reference sections over blogs.
  1. Web search (last choice)
  • Use only when Context7 and official docs are unavailable/incomplete.
  • Prioritize sources that quote or link official docs.

When to stop escalating:

  • Stop as soon as required parameters and one validated example are found.
  • If all sources are unavailable, proceed with local examples/ and clearly mark assumptions.

Stage 7: Validation and Fallback Behavior

Primary validation path:

  • Invoke fluentbit-validator after generation.

If validator is unavailable, run local fallback checks:

# Syntax/format smoke check when fluent-bit is installed
fluent-bit -c <generated-config> --dry-run

# Optional execution test
fluent-bit -c <generated-config>

If fluent-bit binary is missing:

  • Perform static checks manually:

- section headers are valid ([SERVICE], [INPUT], [FILTER], [OUTPUT]) - required plugin keys exist - tag/match patterns align - parser names/files referenced correctly - no hardcoded credentials

  • Report that runtime validation was skipped and why.

Stage 8: Response Contract

Always return:

  1. Generation path used (script or manual) and reason.
  2. Produced file(s) and key plugin choices.
  3. Validation results (or explicit skip reason with fallback checks performed).
  4. Assumptions, open risks, and what to customize next.

Done Criteria

This skill execution is complete only when all are true:

  • Trigger fit was explicitly confirmed.
  • Clarification questionnaire captured required fields or documented assumptions.
  • Script-vs-manual decision was explicit and justified.
  • Plugin lookup used deterministic chain: Context7 -> official docs -> web (as needed).
  • Commands were provided with cwd-safe examples.
  • Fallback behavior was applied for any missing tools/docs/network constraints.
  • Validation was executed (or skipped with explicit reason and fallback static checks).
  • Final response included generated artifacts, validation outcome, and next customization points.

Local Resources

  • Script: scripts/generate_config.py
  • Templates: examples/*.conf
  • Parsers baseline: examples/parsers.conf
  • Sample output directory: output/

Use these resources first before introducing new structure.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.81%
按下载量换算344

Claude

32.8%
按下载量换算344

Cursor

21.06%
按下载量换算221

Gemini CLI

9.84%
按下载量换算103

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills