Repository navigation
feat(agent): add KHI agent plugin and khi-investigation skill - #1230
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces configuration files and a skill definition (SKILL.md) to integrate the Kubernetes History Inspector (KHI) as an agent plugin, along with a new test TestKHIInvestigationSkillToolsAndResources to validate that the tools, resources, and references documented in the skill match the registered MCP definitions. The review feedback suggests replacing a fragile regular expression used in the test to match tool names with a simpler and more robust slices.Contains check, which also allows for the removal of the unused "regexp" import.
kyasbal
marked this pull request as ready for review
November 5, 2026 06:41
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
November 5, 2026 06:41
16 of 23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1049
Closes #1048
Summary
Bundles the
khi-investigationagent skill and KHI MCP server connection configuration (${KHI_MCP_URL:-http://127.0.0.1:8080/mcp}) as an installable plugin across Claude Code, OpenAI Codex, and Gemini CLI:.claude-plugin/marketplace.jsonandplugins/khi/.claude-plugin/plugin.jsonfor Claude Code (/plugin marketplace add GoogleCloudPlatform/khi->/plugin install khi@khi)..agents/plugins/marketplace.jsonandplugins/khi/.codex-plugin/plugin.jsonfor Codex (codex plugin marketplace add GoogleCloudPlatform/khi).plugins/khi/gemini-extension.jsonfor Gemini CLI extensions andplugins/khi/.mcp.jsonfor HTTP MCP server configuration.khi-investigationSkill (plugins/khi/skills/khi-investigation/SKILL.md):khi://inspections,khi://inspections/{id},search_timelines,search_logs, detail/revision tools,render_timelines,validate_report, and sharingApplied filterYAML blocks), inspection creation (including reviewingWarning/Infofield hints beforerun_inspection), CEL filter authoring viareferences/cel-timeline.mdandreferences/cel-log.md, pagination/truncation, and structured error handling.