[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGHT1MGK1JEST8BJZWFT2F":3,"skill-same:01M6EGHT1MGK1JEST8BJZWFT2F":55},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EGHT1MGK1JEST8BJZWFT2F","vector",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fvector\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Vector — High-Performance Observability Data Pipeline\n\n\n## Overview\n\n\nVector, the high-performance observability data pipeline built in Rust by Datadog. Helps developers collect, transform, and route logs, metrics, and traces from any source to any destination with minimal resource usage. Vector replaces Logstash, Fluentd, and Filebeat with a single, faster tool.\n\n\n## Instructions\n\n### Configuration\n\n```toml\n# vector.toml — Collect, transform, and route observability data\n\n# --- Sources: Where data comes from ---\n\n# Collect from files (like Filebeat)\n[sources.app_logs]\ntype = \"file\"\ninclude = [\"\u002Fvar\u002Flog\u002Fapp\u002F*.log\"]\nread_from = \"beginning\"\n\n# Receive via Syslog\n[sources.syslog]\ntype = \"syslog\"\naddress = \"0.0.0.0:514\"\nmode = \"tcp\"\n\n# Receive via HTTP (for apps that POST logs)\n[sources.http_logs]\ntype = \"http_server\"\naddress = \"0.0.0.0:8686\"\nencoding = \"json\"\n\n# Collect host metrics (CPU, memory, disk, network)\n[sources.host_metrics]\ntype = \"host_metrics\"\ncollectors = [\"cpu\", \"memory\", \"disk\", \"network\"]\nscrape_interval_secs = 15\n\n# Receive OpenTelemetry data\n[sources.otel]\ntype = \"opentelemetry\"\ngrpc.address = \"0.0.0.0:4317\"\nhttp.address = \"0.0.0.0:4318\"\n\n# --- Transforms: Process and enrich data ---\n\n# Parse JSON logs\n[transforms.parse_json]\ntype = \"remap\"\ninputs = [\"app_logs\"]\nsource = '''\n  # Parse JSON from log line\n  . = parse_json!(.message)\n\n  # Add environment tag\n  .environment = get_env_var(\"ENVIRONMENT\") ?? \"production\"\n\n  # Redact sensitive fields\n  if exists(.email) {\n    .email = redact(.email, filters: [\"pattern\"], redactor: \"full\",\n      patterns: [r'\\S+@\\S+'])\n  }\n\n  # Parse timestamp\n  .timestamp = parse_timestamp!(.timestamp, format: \"%Y-%m-%dT%H:%M:%S%.fZ\")\n'''\n\n# Filter out health check noise\n[transforms.filter_noise]\ntype = \"filter\"\ninputs = [\"parse_json\"]\ncondition = '''\n  !includes([\"GET \u002Fhealth\", \"GET \u002Fready\", \"GET \u002Fmetrics\"], .message) &&\n  .level != \"debug\"\n'''\n\n# Sample high-volume logs (keep 10% of info logs, 100% of errors)\n[transforms.sample]\ntype = \"sample\"\ninputs = [\"filter_noise\"]\nrate = 10\ncondition = '.level == \"info\"'\nexclude = '.level == \"error\" || .level == \"warn\"'\n\n# Add derived fields\n[transforms.enrich]\ntype = \"remap\"\ninputs = [\"sample\"]\nsource = '''\n  # Categorize by service from log path or field\n  .service = .service ?? \"unknown\"\n\n  # Calculate log size for billing tracking\n  .log_size_bytes = length(encode_json(.))\n\n  # Normalize severity levels\n  .severity = if .level == \"fatal\" || .level == \"critical\" { \"error\" }\n              else if .level == \"warning\" { \"warn\" }\n              else { .level }\n'''\n\n# Aggregate metrics (reduce cardinality)\n[transforms.aggregate_metrics]\ntype = \"aggregate\"\ninputs = [\"host_metrics\"]\ninterval_ms = 60000\n\n# --- Sinks: Where data goes ---\n\n# Send logs to Elasticsearch\u002FOpenSearch\n[sinks.elasticsearch]\ntype = \"elasticsearch\"\ninputs = [\"enrich\"]\nendpoints = [\"https:\u002F\u002Fes.example.com:9200\"]\nbulk.index = \"logs-%Y-%m-%d\"\nauth.user = \"${ES_USER}\"\nauth.password = \"${ES_PASSWORD}\"\ncompression = \"gzip\"\nbatch.max_bytes = 10485760\nbatch.timeout_secs = 5\n\n# Send to S3 for long-term archive (cheap storage)\n[sinks.s3_archive]\ntype = \"aws_s3\"\ninputs = [\"enrich\"]\nbucket = \"logs-archive\"\nkey_prefix = \"logs\u002F{{ service }}\u002Fyear=%Y\u002Fmonth=%m\u002Fday=%d\u002F\"\ncompression = \"gzip\"\nencoding.codec = \"json\"\nbatch.max_bytes = 104857600        # 100MB files for efficient S3 storage\nbatch.timeout_secs = 300\n\n# Send metrics to Prometheus\n[sinks.prometheus]\ntype = \"prometheus_exporter\"\ninputs = [\"aggregate_metrics\"]\naddress = \"0.0.0.0:9598\"\n\n# Route errors to Slack for immediate visibility\n[sinks.slack_errors]\ntype = \"http\"\ninputs = [\"enrich\"]\nuri = \"${SLACK_WEBHOOK_URL}\"\nmethod = \"post\"\nencoding.codec = \"json\"\ncondition = '.level == \"error\" || .level == \"fatal\"'\nbatch.max_events = 1\nrequest.rate_limit_num = 5         # Max 5 Slack messages per second\n```\n\n### VRL (Vector Remap Language)\n\n```coffee\n# VRL is Vector's data transformation language — fast, safe, type-checked\n\n# Parse and restructure a complex log line\n. = parse_json!(.message)\n\n# Geoip enrichment\n.geo = get_enrichment_table_record(\"geoip\", {\"ip\": .client_ip}) ?? {}\n.country = .geo.country_code ?? \"unknown\"\ndel(.geo)\n\n# Route based on content\nif starts_with(.message, \"AUDIT:\") {\n  .metadata.sink = \"audit-logs\"\n} else if .status_code >= 500 {\n  .metadata.sink = \"error-logs\"\n} else {\n  .metadata.sink = \"general-logs\"\n}\n\n# Coerce types\n.duration_ms = to_float(.duration_ms) ?? 0.0\n.status_code = to_int(.status_code) ?? 0\n\n# Flatten nested objects for better indexing\n.user_email = del(.user.email)\n.user_id = del(.user.id)\ndel(.user)\n```\n\n## Installation\n\n```bash\n# macOS\nbrew install vector\n\n# Linux (script)\ncurl --proto '=https' --tlsv1.2 -sSfL https:\u002F\u002Fsh.vector.dev | bash\n\n# Docker\ndocker run -v $(pwd)\u002Fvector.toml:\u002Fetc\u002Fvector\u002Fvector.toml timberio\u002Fvector:latest-alpine\n\n# Helm (Kubernetes)\nhelm repo add vector https:\u002F\u002Fhelm.vector.dev\nhelm install vector vector\u002Fvector\n\n# Validate config\nvector validate vector.toml\n\n# Run\nvector --config vector.toml\n```\n\n\n## Examples\n\n\n### Example 1: Setting up Vector for a microservices project\n\n**User request:**\n\n```\nI have a Node.js API and a React frontend running in Docker. Set up Vector for monitoring\u002Fdeployment.\n```\n\nThe agent creates the necessary configuration files based on patterns like `# vector.toml — Collect, transform, and route observability `, sets up the integration with the existing Docker setup, configures appropriate defaults for a Node.js + React stack, and provides verification commands to confirm everything is working.\n\n### Example 2: Troubleshooting vrl issues\n\n**User request:**\n\n```\nVector is showing errors in our vrl. Here are the logs: [error output]\n```\n\nThe agent analyzes the error output, identifies the root cause by cross-referencing with common Vector issues, applies the fix (updating configuration, adjusting resource limits, or correcting syntax), and verifies the resolution with appropriate health checks.\n\n\n## Guidelines\n\n1. **Replace Logstash\u002FFluentd** — Vector uses 10x less memory than Logstash; deploy as a drop-in replacement\n2. **Filter before sending** — Remove debug logs, health checks, and noise in Vector; don't pay to store data you'll never query\n3. **Sample high-volume logs** — Keep 100% of errors, sample info logs at 10-20%; reduce storage costs without losing signal\n4. **S3 for archives** — Route all logs to S3 (compressed) for cheap long-term storage; route only recent\u002Fimportant logs to Elasticsearch\n5. **VRL over regex** — VRL is compiled and type-checked; it's 5-10x faster than Logstash's Ruby filters\n6. **One Vector per host** — Run Vector as an agent on each host (DaemonSet in K8s); it handles collection, transformation, and shipping\n7. **Disk buffers for reliability** — Enable disk-based buffers to prevent data loss during destination outages\n8. **Test transforms** — Use `vector vrl` REPL and `vector test` to validate transforms before deploying\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fvector",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill vector",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill vector",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill vector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fvector\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"checklist.md","REFERENCE","参考文档",4389,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.roo\u002Fskills\u002Fbmad-dev-story\u002Fchecklist.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"workflow.md",23320,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.roo\u002Fskills\u002Fbmad-dev-story\u002Fworkflow.md",[56,70,80,89,95,102],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":66,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[61],{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[67,68,69],"model","model hierarchy","model hierarchy skill",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":76,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[75],{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},[77,78,79],"MCP","zoom","zoom mcp",{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[86,87,88,78],"sdk","zoom apps sdk","apps",{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[91],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[100],{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},[97],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[104]]