debug-oas
Skill by elastic
Debug OAS scopes Kibana OpenAPI validation to specific API routes and separates structural invalid-OAS failures from documentation quality gaps. It is for Kibana developers working on a particular API area.
Install debug-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/debug-oas ~/.claude/skills/debug-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/debug-oas ~/.gemini/antigravity-cli/skills/debug-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
The debug-oas skill helps developers debug OpenAPI issues in Kibana for a specific API area. It runs the validate_oas_docs.js script with one or more route-style --path filters, so the output stays focused on the routes being changed. Results are split into structural issues, which are invalid OAS, and quality issues, which are documentation gaps such as missing descriptions.
The skill first asks which APIs the developer is working on and which paths to check. It refreshes generated OAS when needed using the validate-oas setup flow, then reports issue counts with structural issues listed first. An optional helper script can extract structural issues from raw validator output. It is meant for Kibana developers who need an issue breakdown and examples, not a quick pass or fail check.
Written from the project's SKILL.md and checked against it.
What it can do
- Scoped OAS validationRuns validate_oas_docs.js with one or more --path filters for specific API routes.
- Issue categorizationSeparates structural invalid-OAS issues from quality documentation gaps.
- Structural issue summaryUses a helper script to extract structural issues from raw validator output.
- Scope narrowingSuggests narrower --path scopes when one area dominates the structural issues.
- Offering selectionRuns against traditional by default, or serverless when the developer asks for it.
What you need
- Node.js
- A Kibana repository checkout with the validate_oas_docs.js script
- The validate-oas skill for generated OAS setup
Try asking
- Debug OAS issues for /api/fleet/agent_policies in Kibana
- Check OAS structural issues for /internal/fleet/outputs only
- Summarize quality gaps for the fleet EPM routes in Kibana
Good to know
- Use validate-oas first for quick pass or fail checks.
- Serverless validation runs only when the developer explicitly asks for it.
- Summaries are used only when a run has more than 25 issues.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/debug-oas/SKILL.md, .agents/skills/debug-oas/scripts/extract_structural_oas_issues.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml43 B -
scripts/extract_structural_oas_issues.js7 KB
Alternatives to debug-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
debug-oas: common questions
What is the difference between structural and quality OAS issues?
Structural issues are invalid OAS problems such as schema violations, unresolved refs, or malformed structures. Quality issues are documentation gaps such as missing description, summary, example, or examples.
Why does the skill ask for API paths first?
The required flow asks which APIs the developer is working on and for one or more HTTP API paths, so validation can be scoped with --path.
What should I do if the OAS results look outdated?
The skill says to refresh generated OAS first using the environment setup flow in validate-oas, and to treat stale oas_docs as a setup problem.
How do I install debug-oas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-oas free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is debug-oas safe to use?
It scores 84 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 debug-oas?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
