Agent skill

Fluentbit Generator

by akin-ozer in akin-ozer/cc-devops-skills

Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.

Apache-2.0Auto-check passedDevOps & Cloud

Install Fluentbit Generator

skills CLI
$ npx skills add akin-ozer/cc-devops-skills --skill fluentbit-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install akin-ozer/cc-devops-skills fluentbit-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/devops-skills-plugin/skills/fluentbit-generator .claude/skills/fluentbit-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fluentbit-generator
GitHub stars
319
Token cost
~2.1k tokens
SKILL.md length
811 words
Files
19 (incl. scripts)
Skills in repo
30
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.

  • Works in 8 steps: Set Working Context and Preflight → Clarification Questionnaire (Explicit… → Decide Script vs Manual Generation → …
  • DevOps & Cloud work in your project
  • SKILL.md covers Trigger Guidance, Execution Flow, Done Criteria and Local Resources
  • Runs Python scripts from its folder; calls python3; reaches docs.fluentbit.io

What it does

Fluentbit Generator is an agent skill from akin-ozer/cc-devops-skills. Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 21 other files, including scripts (for example `scripts/generate_config.py`).

It sits in DevOps & Cloud. The repository describes itself as: DevOps skills for Claude Code and Codex. The licence is Apache-2.0.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/fluentbit-generator”

Requirements

  • Python 3
  • Docker

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Set Working Context and Preflight
  2. Clarification Questionnaire (Explicit Template)
  3. Decide Script vs Manual Generation
  4. Manual Generation (When Script Is Not the Best Fit)
  5. Script Generation Commands (Deterministic Examples)
  6. Plugin Documentation Lookup Fallback Chain
  7. Validation and Fallback Behavior
  8. Response Contract

What it can do on your machine

Read from SKILL.md and the folder at commit 276af75. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.fluentbit.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fluentbit Generator loads about 2.1k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 811 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from akin-ozer/cc-devops-skills at commit 276af75, republished under its Apache-2.0 licence (© akin-ozer). 811 words, ~2,112 tokens.

Download SKILL.mdSave it as .claude/skills/fluentbit-generator/SKILL.md (or your agent's skills folder). This skill also uses 18 other files; get the full folder from GitHub.
name
fluentbit-generator
description
Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.

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.

bash
# 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
bash
# 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.
Show full SKILL.md (340 more words)Show less
Stage 5: Script Generation Commands (Deterministic Examples)

Run from skill directory unless output path is absolute.

bash
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:

bash
# 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.

© akin-ozer, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 18 other files (scripts) in devops-skills-plugin/skills/fluentbit-generator of akin-ozer/cc-devops-skills.

  • SKILL.md
  • examples/application-multiline.conf
  • examples/cloudwatch.conf
  • examples/file-tail-s3.conf
  • examples/full-production.conf
  • examples/http-input-kafka.conf
  • examples/kubernetes-elasticsearch.conf
  • examples/kubernetes-loki.conf
  • examples/kubernetes-opentelemetry.conf
  • examples/lua-filtering.conf
  • examples/multi-destination.conf
  • examples/parsers.conf
  • examples/prometheus-metrics.conf
  • examples/stream-processor.conf
  • examples/syslog-forward.conf
  • output/k8s-errors-elasticsearch.conf
  • output/parsers.conf
  • scripts/generate_config.py
  • … and 1 more

Open the folder on GitHubat commit 276af75

Compare with similar skills

Fluentbit Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fluentbit Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fluentbit Generator this skillakin-ozer/cc-devops-skills319—~2.1kAutomated safety check: PassApache-2.0
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw35k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k9 repos~4.3kAutomated safety check: PassNone
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    35k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 9 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Creates and queries KubeSphere users, workspaces and projects and assigns built-in roles, defaulting to least privilege and never deleting anything.

    17k GitHub starsUsed in 1 repo~3.1k tokens
    DevOps & CloudAuto-check passed

More from akin-ozer/cc-devops-skills

All 30 skills in this repo
  • GitHub Actions Generator

    akin-ozer/cc-devops-skills

    Create, generate, or scaffold GitHub Actions workflows, action.yml, or .github/workflows CI/CD pipelines.

    319 GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Helm Generator

    akin-ozer/cc-devops-skills

    Create, scaffold, or generate Helm charts, Chart.yaml, values.yaml, templates, helpers.

    319 GitHub stars~2.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Jenkinsfile Generator

    akin-ozer/cc-devops-skills

    Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

    319 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Dockerfile Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, or scan a Dockerfile for security and best practices.

    319 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Actions Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, fix GitHub Actions workflows (.github/workflows).

    319 GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Jenkinsfile Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, or check Jenkinsfiles and shared libraries.

    319 GitHub stars~2.7k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Fluentbit Generator

What does Fluentbit Generator do?

Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline. Fluentbit Generator is an agent skill from akin-ozer/cc-devops-skills. Generate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.

When should I use Fluentbit Generator?

Fluentbit Generator fits situations like: devOps & Cloud work in your project.

How do I install Fluentbit Generator in Claude Code?

Run `npx skills add akin-ozer/cc-devops-skills --skill fluentbit-generator -a claude-code`. Or copy the skill folder (devops-skills-plugin/skills/fluentbit-generator in akin-ozer/cc-devops-skills) into .claude/skills/fluentbit-generator in your project. Claude Code loads it when a task matches its description.

How do I install Fluentbit Generator in Codex?

Run `npx skills add akin-ozer/cc-devops-skills --skill fluentbit-generator -a codex`. Or copy the skill folder (devops-skills-plugin/skills/fluentbit-generator in akin-ozer/cc-devops-skills) into .agents/skills/fluentbit-generator in your project. Codex loads it when a task matches its description.

Can I use Fluentbit Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akin-ozer/cc-devops-skills --skill fluentbit-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fluentbit-generator, .gemini/skills/fluentbit-generator, .github/skills/fluentbit-generator and .opencode/skills/fluentbit-generator in your project.

What does Fluentbit Generator need to run?

Going by SKILL.md and its folder, Fluentbit Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Docker.

Does Fluentbit Generator access the network?

SKILL.md names 1 domain. In commands or code: docs.fluentbit.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Fluentbit Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Fluentbit Generator use?

Fluentbit Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fluentbit Generator use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fluentbit Generator?

Skills that share tags, products or a category with Fluentbit Generator: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 35k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Openclaw Live Updater (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fluentbit Generator?

akin-ozer (a GitHub user) maintains it in akin-ozer/cc-devops-skills, which has 319 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on July 26, 2026.

Source: akin-ozer/cc-devops-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.