validate-oas
Skill by elastic
Runs a scoped OpenAPI validation for Kibana API paths and returns VALID or NOT VALID. Built for Kibana developers who need a quick pass or fail check on generated oas_docs.
Install validate-oas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/.agents/skills/validate-oas ~/.claude/skills/validate-oasRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kibana/.agents/skills/validate-oas ~/.gemini/antigravity-cli/skills/validate-oasAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
validate-oas is an agent skill for Kibana developers who need a quick pass or fail result for a specific HTTP API area. It asks which APIs the developer is working on and which route paths to check, then runs the validate_oas_docs.js script with route-style --path filters. The result is limited to VALID, NOT VALID, or VALID with a warning when no paths matched.
Before validating, the skill can refresh the generated oas_docs inputs. This covers bootstrapping dependencies, regenerating OAS snapshots from the include-path list in a Buildkite script, running the openapi bundling scripts, and running make api-docs. When the result is NOT VALID, the skill points the developer to the debug-oas skill for details.
Written from the project's SKILL.md and checked against it.
What it can do
- Scoped validationRuns validate_oas_docs.js against one or more route-style API paths.
- Pass or fail resultReturns only VALID or NOT VALID, with a warning when no paths matched.
- Environment refreshRegenerates oas_docs inputs before validation when the developer asks or files may be stale.
- Traditional and serverless scopeUses the traditional variant by default and serverless only when requested.
- Handoff to debug-oasPoints the developer to the debug-oas skill when detailed issues are needed.
What you need
- Node.js
- pnpm
- A Kibana repository checkout
- make
- bash
Try asking
- Check if the Fleet agent policies API spec is valid
- Validate /api/fleet/agent_policies with traditional scope
- Refresh oas_docs and validate the Fleet agent policy routes
Good to know
- Returns only VALID or NOT VALID and does not list issues by default.
- Stale generated oas_docs can give misleading results unless refreshed first.
- Serverless validation runs only when the developer explicitly asks for it.
- The skill does not write to the .buildkite/ directory.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/validate-oas/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml43 B
Alternatives to validate-oas
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
validate-oas: common questions
Does validate-oas show the list of errors?
No. It runs with --skip-printing-issues and returns only VALID or NOT VALID. For categorized issues and examples, the source says to use the debug-oas skill.
Why does validate-oas refresh oas_docs first?
The source says stale generated files can cause misleading results. The skill refreshes inputs when switching branches, pulling changes, or when a CI-like run is requested.
Which API variant is validated by default?
The traditional variant, using --only traditional. The source says serverless is used only when the developer explicitly asks for it.
How do I install validate-oas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is validate-oas free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is validate-oas safe to use?
It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to validate-oas?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
