[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX05VBNA6BXQQGGTT6PYTH":3,"skill-same:01M6CX05VBNA6BXQQGGTT6PYTH":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":31,"commitSha":32,"skillDirectory":5,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M6CX05VBNA6BXQQGGTT6PYTH","elasticsearch",null,"Elasticsearch distributed search and analytics engine","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Felasticsearch\u002FSKILL.md",[],[5,18,19,20,21,22,23],"analytics","distributed","search","engine","opencode","databases","2026-11-10 10:12:30",false,"---\nname: elasticsearch\ndescription: Elasticsearch distributed search and analytics engine\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developers\n  category: databases\n---\n## What I do\n- Design Elasticsearch indices\n- Write complex queries\n- Use aggregations\n- Configure analyzers\n- Handle mappings\n- Optimize performance\n- Use Beats and Logstash\n\n## When to use me\nWhen building full-text search, log analytics, or real-time applications.\n\n## Mappings\n```json\n{\n  \"mappings\": {\n    \"properties\": {\n      \"title\": {\n        \"type\": \"text\",\n        \"analyzer\": \"english\",\n        \"fields\": {\n          \"keyword\": {\n            \"type\": \"keyword\"\n          }\n        }\n      },\n      \"content\": {\n        \"type\": \"text\"\n      },\n      \"author\": {\n        \"type\": \"keyword\"\n      },\n      \"published_at\": {\n        \"type\": \"date\"\n      },\n      \"views\": {\n        \"type\": \"integer\"\n      },\n      \"tags\": {\n        \"type\": \"keyword\"\n      },\n      \"location\": {\n        \"type\": \"geo_point\"\n      }\n    }\n  }\n}\n```\n\n## Queries\n```json\n\u002F\u002F Match query\n{\n  \"query\": {\n    \"match\": {\n      \"title\": \"elasticsearch guide\"\n    }\n  }\n}\n\n\u002F\u002F Boolean query\n{\n  \"query\": {\n    \"bool\": {\n      \"must\": [\n        { \"match\": { \"title\": \"elasticsearch\" } }\n      ],\n      \"filter\": [\n        { \"term\": { \"status\": \"published\" } }\n      ],\n      \"should\": [\n        { \"match\": { \"content\": \"tutorial\" } }\n      ],\n      \"must_not\": [\n        { \"term\": { \"author\": \"banned\" } }\n      ]\n    }\n  }\n}\n\n\u002F\u002F Multi-match\n{\n  \"query\": {\n    \"multi_match\": {\n      \"query\": \"search engine\",\n      \"fields\": [\"title^2\", \"content\"]\n    }\n  }\n}\n\n\u002F\u002F Nested query\n{\n  \"query\": {\n    \"nested\": {\n      \"path\": \"comments\",\n      \"query\": {\n        \"match\": { \"comments.text\": \"great\" }\n      }\n    }\n  }\n}\n```\n\n## Aggregations\n```json\n{\n  \"size\": 0,\n  \"aggs\": {\n    \"avg_views\": {\n      \"avg\": { \"field\": \"views\" }\n    },\n    \"by_status\": {\n      \"terms\": { \"field\": \"status\" }\n    },\n    \"by_author\": {\n      \"terms\": { \"field\": \"author\", \"size\": 10 }\n    },\n    \"publish_dates\": {\n      \"date_histogram\": {\n        \"field\": \"published_at\",\n        \"calendar_interval\": \"month\"\n      }\n    }\n  }\n}\n```\n\n## Ingest Pipeline\n```json\n{\n  \"description\": \"Process logs\",\n  \"processors\": [\n    {\n      \"grok\": {\n        \"field\": \"message\",\n        \"patterns\": [\"%{TIMESTAMP:timestamp} %{LOGLEVEL:level} %{GREEDYDATA:message}\"]\n      }\n    },\n    {\n      \"date\": {\n        \"field\": \"timestamp\",\n        \"formats\": [\"ISO8601\"]\n      }\n    },\n    {\n      \"lowercase\": {\n        \"field\": \"level\"\n      }\n    },\n    {\n      \"remove\": {\n        \"field\": \"timestamp\"\n      }\n    }\n  ]\n}\n```\n\n## Python Client\n```python\nfrom elasticsearch import Elasticsearch\n\nes = Elasticsearch([\"http:\u002F\u002Flocalhost:9200\"])\n\n# Create index\nes.indices.create(index=\"documents\", body={\n    \"mappings\": {\n        \"properties\": {\n            \"title\": {\"type\": \"text\"},\n            \"content\": {\"type\": \"text\"},\n            \"date\": {\"type\": \"date\"}\n        }\n    }\n})\n\n# Index document\nes.index(index=\"documents\", id=1, body={\n    \"title\": \"Elasticsearch Guide\",\n    \"content\": \"Learn Elasticsearch\",\n    \"date\": \"2024-01-01\"\n})\n\n# Search\nresult = es.search(index=\"documents\", body={\n    \"query\": {\n        \"match\": {\"content\": \"elasticsearch\"}\n    }\n})\n\nfor hit in result[\"hits\"][\"hits\"]:\n    print(hit[\"_source\"])\n```\n\n## Performance Tips\n```json\n\u002F\u002F Filter context over query for filters\n{\n  \"query\": {\n    \"bool\": {\n      \"filter\": [  \u002F\u002F Use filter, not must\n        { \"term\": { \"status\": \"active\" } }\n      ]\n    }\n  }\n}\n\n\u002F\u002F Pagination\n{\n  \"query\": { \"match_all\": {} },\n  \"from\": 10000,\n  \"size\": 10\n}\n\n\u002F\u002F Better: search_after for deep pagination\n{\n  \"query\": { \"match_all\": {} },\n  \"search_after\": [\"value\", \"id\"],\n  \"size\": 10\n}\n```\n","## What I do\n- Design Elasticsearch indices\n- Write complex queries\n- Use aggregations\n- Configure analyzers\n- Handle mappings\n- Optimize performance\n- Use Beats and Logstash\n\n## When to use me\nWhen building full-text search, log analytics, or real-time applications.\n\n## Mappings\n```json\n{\n  \"mappings\": {\n    \"properties\": {\n      \"title\": {\n        \"type\": \"text\",\n        \"analyzer\": \"english\",\n        \"fields\": {\n          \"keyword\": {\n            \"type\": \"keyword\"\n          }\n        }\n      },\n      \"content\": {\n        \"type\": \"text\"\n      },\n      \"author\": {\n        \"type\": \"keyword\"\n      },\n      \"published_at\": {\n        \"type\": \"date\"\n      },\n      \"views\": {\n        \"type\": \"integer\"\n      },\n      \"tags\": {\n        \"type\": \"keyword\"\n      },\n      \"location\": {\n        \"type\": \"geo_point\"\n      }\n    }\n  }\n}\n```\n\n## Queries\n```json\n\u002F\u002F Match query\n{\n  \"query\": {\n    \"match\": {\n      \"title\": \"elasticsearch guide\"\n    }\n  }\n}\n\n\u002F\u002F Boolean query\n{\n  \"query\": {\n    \"bool\": {\n      \"must\": [\n        { \"match\": { \"title\": \"elasticsearch\" } }\n      ],\n      \"filter\": [\n        { \"term\": { \"status\": \"published\" } }\n      ],\n      \"should\": [\n        { \"match\": { \"content\": \"tutorial\" } }\n      ],\n      \"must_not\": [\n        { \"term\": { \"author\": \"banned\" } }\n      ]\n    }\n  }\n}\n\n\u002F\u002F Multi-match\n{\n  \"query\": {\n    \"multi_match\": {\n      \"query\": \"search engine\",\n      \"fields\": [\"title^2\", \"content\"]\n    }\n  }\n}\n\n\u002F\u002F Nested query\n{\n  \"query\": {\n    \"nested\": {\n      \"path\": \"comments\",\n      \"query\": {\n        \"match\": { \"comments.text\": \"great\" }\n      }\n    }\n  }\n}\n```\n\n## Aggregations\n```json\n{\n  \"size\": 0,\n  \"aggs\": {\n    \"avg_views\": {\n      \"avg\": { \"field\": \"views\" }\n    },\n    \"by_status\": {\n      \"terms\": { \"field\": \"status\" }\n    },\n    \"by_author\": {\n      \"terms\": { \"field\": \"author\", \"size\": 10 }\n    },\n    \"publish_dates\": {\n      \"date_histogram\": {\n        \"field\": \"published_at\",\n        \"calendar_interval\": \"month\"\n      }\n    }\n  }\n}\n```\n\n## Ingest Pipeline\n```json\n{\n  \"description\": \"Process logs\",\n  \"processors\": [\n    {\n      \"grok\": {\n        \"field\": \"message\",\n        \"patterns\": [\"%{TIMESTAMP:timestamp} %{LOGLEVEL:level} %{GREEDYDATA:message}\"]\n      }\n    },\n    {\n      \"date\": {\n        \"field\": \"timestamp\",\n        \"formats\": [\"ISO8601\"]\n      }\n    },\n    {\n      \"lowercase\": {\n        \"field\": \"level\"\n      }\n    },\n    {\n      \"remove\": {\n        \"field\": \"timestamp\"\n      }\n    }\n  ]\n}\n```\n\n## Python Client\n```python\nfrom elasticsearch import Elasticsearch\n\nes = Elasticsearch([\"http:\u002F\u002Flocalhost:9200\"])\n\n# Create index\nes.indices.create(index=\"documents\", body={\n    \"mappings\": {\n        \"properties\": {\n            \"title\": {\"type\": \"text\"},\n            \"content\": {\"type\": \"text\"},\n            \"date\": {\"type\": \"date\"}\n        }\n    }\n})\n\n# Index document\nes.index(index=\"documents\", id=1, body={\n    \"title\": \"Elasticsearch Guide\",\n    \"content\": \"Learn Elasticsearch\",\n    \"date\": \"2024-01-01\"\n})\n\n# Search\nresult = es.search(index=\"documents\", body={\n    \"query\": {\n        \"match\": {\"content\": \"elasticsearch\"}\n    }\n})\n\nfor hit in result[\"hits\"][\"hits\"]:\n    print(hit[\"_source\"])\n```\n\n## Performance Tips\n```json\n\u002F\u002F Filter context over query for filters\n{\n  \"query\": {\n    \"bool\": {\n      \"filter\": [  \u002F\u002F Use filter, not must\n        { \"term\": { \"status\": \"active\" } }\n      ]\n    }\n  }\n}\n\n\u002F\u002F Pagination\n{\n  \"query\": { \"match_all\": {} },\n  \"from\": 10000,\n  \"size\": 10\n}\n\n\u002F\u002F Better: search_after for deep pagination\n{\n  \"query\": { \"match_all\": {} },\n  \"search_after\": [\"value\", \"id\"],\n  \"size\": 10\n}\n```\n",{"name":5,"license":14,"metadata":29,"description":7,"compatibility":22},{"audience":30,"category":23},"developers","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill elasticsearch",{"tool":43,"command":44},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill elasticsearch",{"tool":46,"command":47},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill elasticsearch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Felasticsearch\u002FSKILL.md",true,[],[52,63,73,82,91,100],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":24},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[54,59,60,61,22,62],"platform","cross-platform","mobile","development",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":24},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[65,70,22,71,72],"data wrangling","science","data",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":24},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[75,80,22,81],"system","scripting",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":24},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[89,23,22,90,72],"wide column","model",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":24},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[98,23,22,99],"wide column stores","database",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":24},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[102,107,108,109,22,110,111],"websocket","real-time","time","best practices","implementation"]