influxdb

Guide InfluxDB 3.x schema design, Line Protocol ingestion, and Flux queries.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill influxdb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: influxdb
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skill-library/stack/databases/influxdb
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill influxdb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires influxdb-client, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for effectively designing, ingesting, querying, and managing time-series data within InfluxDB, optimizing performance and cost.

Core Features & Use Cases

  • Schema Design: Expert advice on bucket and measurement design, including tag vs. field decisions.
  • Data Ingestion: Patterns for efficient data writing using Line Protocol and batching.
  • Querying: Practical examples of Flux queries for aggregation, filtering, and joining.
  • Retention & Downsampling: Strategies for managing data lifecycle and performance.
  • Use Case: When building an IoT platform to collect and analyze sensor data, use this Skill to design your InfluxDB schema, set up data ingestion pipelines, and write queries to monitor device health in real-time.

Quick Start

Use the influxdb skill to create a new bucket named 'iot_data' with a 30-day retention policy.

Frequently Asked Questions about influxdb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an InfluxDB schema for IoT time-series data?

InfluxDB schema design for IoT time-series data requires structuring buckets and measurements while deciding which attributes are tags versus fields to optimize query performance. The Skill provides expert guidance on tag versus field decisions to ensure your schema is optimized for efficient querying and data ingestion.

What is the best way to ingest time-series metrics using Line Protocol?

The best way to ingest time-series metrics using Line Protocol is through batching writes to optimize performance and cost. This Skill provides specific patterns for efficient data writing using Line Protocol and batching to streamline your data ingestion pipelines.

How do I write Flux queries to aggregate and filter time-series data?

Writing Flux queries to aggregate and filter time-series data involves using the Flux query language to transform raw metrics. This Skill offers practical examples of Flux queries for aggregation, filtering, and joining time-series data within your InfluxDB buckets.

Does this InfluxDB guidance apply to InfluxDB 3.x and Cloud environments?

Yes, this InfluxDB guidance explicitly targets InfluxDB 3.x and Cloud environments. It provides strategies for schema design, data ingestion, and querying that are applicable to monitoring, IoT telemetry, and metrics pipelines on these modern InfluxDB platforms.

When should I use retention policies and downsampling for time-series data?

Retention policies and downsampling for time-series data should be used to manage the data lifecycle, optimize storage costs, and maintain query performance. This Skill outlines strategies for implementing retention and downsampling to effectively manage your time-series database.

Do I need the influxdb-client and python-dotenv packages to write time-series data?

Yes, the influxdb-client and python-dotenv packages are required dependencies for writing time-series data using this Skill. These packages facilitate the client connection and environment variable management needed for secure InfluxDB data ingestion pipelines.