northseadl/norix-skills/es-analytics
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
'Elasticsearch / SLS 只读数据分析:索引探索、mapping、聚合统计、日志搜索、时间序列、多 Profile。
Install
npx vskill@latest install northseadl/norix-skills/es-analyticsSKILL.md
ES 数据分析技能
零依赖
仅使用 Python 3 标准库(urllib + json),不需要安装任何第三方包。
配置
添加连接
--sls 标记该连接为阿里云 SLS ES 兼容端点。SLS 端点有以下行为差异,技能会自动处理:
- 默认只查最近 24h:所有查询自动注入全时间范围
range条件(除非用户已指定) - 嵌套字段无法聚合:
terms等聚合作用于未建索引的嵌套字段会报sls_field_index_not_configed - `_source` 过滤不可靠:部分嵌套字段在
_source过滤后丢失
凭据存储在 ~/.agents/data/es-analytics/profiles.json(权限 0600),支持多 Profile。
管理连接
脚本
query — ES 查询(只读)
选项:-p profile / -i 索引 / --format table|csv|json / --full-range(SLS 自动全时间范围)
indices — 索引列表
mapping — 查看索引 Mapping
count — 文档计数
extract — 全量去重提取(search_after 分页)
高效分页提取指定字段的唯一值,自动 search_after,适合大数据量去重场景。
sample — 采样数据
SLS ES 兼容层注意事项
技能已内建以下保护机制:
- SLS profile 的查询自动注入
range条件覆盖全时间范围(可通过--no-full-range禁用) - 当聚合收到
sls_field_index_not_configed错误时,自动降级为 search_after 分页 + Python 侧聚合 - 不依赖
_source过滤功能
安全策略
- 只读: 拦截 DELETE / PUT(非 _search) / POST(非 _search/_count/_mapping)
- 行数限制: query 默认添加
size: 200 - 凭据安全: 配置文件权限
0600,密码不出现在命令行输出
模块架构
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinges-analytics/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/northseadl/norix-skills/es-analytics)