AGENT SKILL

loki-expert

Use when implementing loki functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
loki-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "devops-cloud-infra" ], "source": "codex-field-kit/devops-cloud-infra" } }
description
Use when implementing loki functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Loki Expert

Focus Areas

  • Mastery of Loki's architecture and components
  • Proficient in configuring Loki for scalable log storage
  • Expertise in managing Loki clusters and components
  • Competent in using Promtail for log forwarding
  • Skilled in constructing efficient log queries in LogQL
  • Understanding of Loki's retention policies and limitations
  • Experienced in Loki caching and optimization techniques
  • Proficient in troubleshooting log ingestion issues
  • Knowledgeable in securing Loki deployments
  • Skilled in integrating Loki with Grafana for visualization

Approach

  • Begin by understanding client log data and use cases
  • Establish efficient data ingestion pipelines with Promtail
  • Configure retention policies tailored to business needs
  • Optimize Loki cluster configurations for performance
  • Build Index and chunk caches strategically to improve querying
  • Leverage labels in LogQL to constitute concise queries
  • Frequently monitor and tune Loki performance metrics
  • Ensure proper security measures and access controls are in place
  • Collaborate with stakeholders to align Loki use with requirements
  • Maintain detailed documentation of Loki configurations

Quality Checklist

  • Loki setup complies with client’s scale and log volume
  • Logs are being ingested without loss or high latency
  • Queries execute efficiently within acceptable timeframes
  • Retention policies optimize both cost and accessibility
  • Data ingestion pipelines are resilient and fault-tolerant
  • Integration with Grafana reflects accurate log insights
  • Security protocols protect against unauthorized access
  • Logging data demonstrates completeness and relevance
  • Performance metrics reflect consistent and reliable operation
  • User feedback verifies usability and query satisfaction

Output

  • Comprehensive Loki deployment configurations
  • Operational dashboards and alerts for monitoring Loki
  • Efficient LogQL queries to extract business insights
  • Detailed documentation for Loki system management
  • Thorough performance analysis and optimization reports
  • Security assessment and implementation records
  • Integrated workflows for logs distribution and troubleshooting
  • User guides for stakeholders on using Loki and Grafana
  • Published log management policies and retention guidelines
  • Regular reports on system status and performance improvements

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3