← Back to Skills

opensearch-dsl-validator

v1.0.0 approved Development ⬇ 2 updated today
✅ Verified
⬇ Download Install Guide↓
🤖 Agent install commands (curl / MCP / Claude Desktop)
▸ curl one-liner
curl -L -o opensearch-dsl-validator.skill   "https://aiskillstore.io/v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download?platform=ClaudeCode"
▸ MCP tool call (after registering Skill Store MCP)
{
  "tool": "download_skill",
  "arguments": {
    "skill_id": "568fc87d-5801-4d2f-ab94-67d76e7356f1",
    "platform": "ClaudeCode"
  }
}
▸ Claude Desktop / Cursor MCP config (one-time)
{
  "mcpServers": {
    "skill-store": {
      "url": "https://aiskillstore.io/mcp/"
    }
  }
}
📖 Full agent API guide: /llms.txt  ·  MCP server card

Validates OpenSearch/Elasticsearch Query DSL JSON deterministically — bool clause structure, aggregation type conflicts, disallowed field nesting, and deprecated parameters — without a live cluster. Designed for CI/CD pre-deployment query checks.

Basic Info

Owner 👤 aiskillstore-team Category Development Registered 2026-06-17 Last Updated 2026-06-17 Latest Version 1.0.0 Packaged At 2026-06-17 Vetting Status approved Downloads 2 Checksum (SHA256) 66caf81abac8ec03435660d7e5c301f1f4deebe58ed443151ad0ae994041c553

Installation

Compatible Platforms any

1
Install the skill using openclaw_skill_manager.py.
python openclaw_skill_manager.py --install opensearch-dsl-validator
2
Verify installation
python openclaw_skill_manager.py --list-installed
3
Install a specific version (optional)
python openclaw_skill_manager.py --install opensearch-dsl-validator --version 1.0.0
1
Download the skill package.
curl -O https://aiskillstore.io/v1/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download
2
Place it in the Claude Code commands directory.
unzip opensearch-dsl-validator.skill -d ~/.claude/commands/opensearch-dsl-validator/
3
Use it as a slash command in Claude Code.
/opensearch-dsl-validator
1
Download the Agent Skills package.
curl -O https://aiskillstore.io/v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download?platform=ClaudeCodeAgentSkill
2
Unzip it into the Claude Code skills directory.
unzip opensearch-dsl-validator-agent-skill-*.skill -d ~/.claude/skills/opensearch-dsl-validator/
3
Restart Claude Code — the skill is auto-loaded at session start. No slash command needed.
1
Download the Cursor-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download?platform=Cursor
2
Unzip and place it in a permanent location.
unzip opensearch-dsl-validator-cursor-*.skill -d ~/.cursor/skills/opensearch-dsl-validator/
3
Add the MCP server config to .cursor/mcp.json, then restart Cursor.
cat ~/.cursor/skills/opensearch-dsl-validator/cursor_mcp_config.json
1
Download the Gemini CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download?platform=GeminiCLI
2
Unzip and place it in a permanent location.
unzip opensearch-dsl-validator-geminicli-*.skill -d ~/.gemini/skills/opensearch-dsl-validator/
3
Add the MCP server config to ~/.gemini/settings.json, then restart Gemini CLI.
cat ~/.gemini/skills/opensearch-dsl-validator/gemini_settings_snippet.json
1
Download the Codex CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download?platform=CodexCLI
2
Unzip and place it in a permanent location.
unzip opensearch-dsl-validator-codexcli-*.skill -d ~/.codex/skills/opensearch-dsl-validator/
3
Add the MCP server config to ~/.codex/config.toml, then restart Codex CLI.
cat ~/.codex/skills/opensearch-dsl-validator/codex_config_snippet.toml
1
Download the skill package via REST API.
GET https://aiskillstore.io/v1/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/download
2
Place it in your agent platform's skills directory.
cp opensearch-dsl-validator.skill ./skills/
3
Fetch platform-specific details via the Install Guide API.
GET https://aiskillstore.io/v1/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/install-guide?platform=CustomAgent

Security Vetting Report

Vetting Result APPROVED

Findings: ["메타데이터 경고: 권장 필드 없음: 'tags' (SKILL.md v2 권장)", "메타데이터 경고: 권장 필드 없음: 'requirements' (SKILL.md v2 권장)", "메타데이터 경고: 권장 필드 없음: 'changelog' (SKILL.md v2 권장)", '정보: spec: usk/1.0 미선언 — v2 패키지로 처리됩니다. 자동 변환 및 에이전트 검색 기능을 사용하려면 USK v3로 업그레이드하세요.']

✅ No security risks found.

AI Review Stage

Reviewer gemini Risk Level 🟢 Low Review Summary OpenSearch/Elasticsearch DSL 유효성 검사 스킬로, 선언된 권한을 준수하며 악의적인 동작 없이 안전합니다.

Issues Found

  • AI 응답이 토큰 한도로 잘렸으나 verdict 추출 성공
Reasoning

{ "verdict": "approved", "risk_level": "low", "summary": "OpenSearch/Elasticsearch DSL 유효성 검사 스킬로, 선언된 권한을 준수하며 악의적인 동작 없이 안전합니다.", "issues": [], "reasoning": "제공된 스킬 메타데이터, 코드 파일 및 정적 분석 결과를 바탕으로 다음과 같이 판단합니다.\n\n1. **선언된 permissions(network/filesystem/subprocess)과 실제 코드가 일치하는가?**\n * 메타데이터에 `network: false`, `filesystem: false`, `subprocess: false`로 선언되어 있습니다.\n * `main.py` 및 `lib/validator.py` 코드 분석 결과, `sys.stdin`, `sys.stdout`을 통한 표준 입출력과 `json` 모듈을 사용한 데이터 처리, 그리고 `os.

Version History

Version USK v3 Vetting Status Packaged At Downloads Changelog
v1.0.0 approved 2026-06-17 ⬇ 2

Examples 6

Representative input/output examples for this skill. Agents can use these to understand how to invoke the skill and what output to expect.

bool_must_not_array
# bool# error# must

Agent-generated bool query where must is an object instead of array

📥 Input
{
  "dialect": "opensearch",
  "query": {
    "query": {
      "bool": {
        "must": {
          "match": {
            "title": "error"
          }
        }
      }
    }
  },
  "strict": false
}
📤 Output
{
  "complexity_score": 1,
  "errors": [
    {
      "code": "BOOL_MUST_NOT_ARRAY",
      "message": "must clause must be an array, got dict",
      "path": "query.bool.must",
      "severity": "error"
    }
  ],
  "query_type": "bool",
  "valid": false,
  "warnings": []
}
aggregation_name_duplicate
# aggs# valid

Two aggregations share the same name at the same level

📥 Input
{
  "dialect": "opensearch",
  "query": {
    "aggs": {
      "price_stats": {
        "avg": {
          "field": "price"
        }
      }
    }
  },
  "strict": false
}
📤 Output
{
  "complexity_score": 1,
  "errors": [],
  "query_type": "none",
  "valid": true,
  "warnings": []
}
range_invalid_param
# range# error

range query contains unsupported 'from' parameter

📥 Input
{
  "dialect": "opensearch",
  "query": {
    "query": {
      "range": {
        "price": {
          "from": 50,
          "gte": 100
        }
      }
    }
  },
  "strict": false
}
📤 Output
{
  "complexity_score": 1,
  "errors": [
    {
      "code": "RANGE_INVALID_PARAM",
      "message": "Parameter \u0027from\u0027 is not allowed in range query",
      "path": "query.range.price.from",
      "severity": "error"
    }
  ],
  "query_type": "range",
  "valid": false,
  "warnings": []
}
nested_path_required
# nested# error

nested query is missing the required 'path' field

📥 Input
{
  "dialect": "elasticsearch",
  "query": {
    "query": {
      "nested": {
        "query": {
          "match": {
            "reviews.score": {
              "query": 5
            }
          }
        }
      }
    }
  },
  "strict": false
}
📤 Output
{
  "complexity_score": 3,
  "errors": [
    {
      "code": "NESTED_PATH_REQUIRED",
      "message": "nested query requires \u0027path\u0027 field",
      "path": "query.nested",
      "severity": "error"
    }
  ],
  "query_type": "nested",
  "valid": false,
  "warnings": []
}
valid_multi_level_bool
# bool# aggs# valid# complexity

Valid multi-level bool query — returns valid=true with complexity score

📥 Input
{
  "dialect": "opensearch",
  "query": {
    "aggs": {
      "by_status": {
        "terms": {
          "field": "status"
        }
      }
    },
    "query": {
      "bool": {
        "filter": [
          {
            "range": {
              "date": {
                "gte": "2024-01-01"
              }
            }
          }
        ],
        "must": [
          {
            "match": {
              "title": "opensearch"
            }
          },
          {
            "bool": {
              "minimum_should_match": 1,
              "should": [
                {
                  "term": {
                    "status": "published"
                  }
                },
                {
                  "term": {
                    "status": "draft"
                  }
                }
              ]
            }
          }
        ]
      }
    }
  },
  "strict": false
}
📤 Output
{
  "complexity_score": 8,
  "errors": [],
  "query_type": "bool",
  "valid": true,
  "warnings": []
}
deprecated_named_query_strict
# deprecated# strict# elasticsearch

ES 8.x dialect with deprecated _name in match query — strict mode enabled

📥 Input
{
  "dialect": "elasticsearch",
  "query": {
    "query": {
      "match": {
        "title": {
          "_name": "title_match",
          "query": "search engine"
        }
      }
    }
  },
  "strict": true
}
📤 Output
{
  "complexity_score": 1,
  "errors": [],
  "query_type": "match",
  "valid": true,
  "warnings": [
    {
      "code": "DEPRECATED_NAMED_QUERIES",
      "message": "_name parameter in leaf queries is deprecated; use top-level named_queries instead",
      "path": "query.match._name",
      "severity": "warning"
    }
  ]
}

All examples are also available via the agent API: /v1/agent/skills/568fc87d-5801-4d2f-ab94-67d76e7356f1/schema

Reviews & Ratings

No reviews yet. Be the first to leave one!

✍️ Write a Review