Switch red-hat-product-lifecycle skill to API-based script#127
Switch red-hat-product-lifecycle skill to API-based script#127javierpena wants to merge 0 commit into
Conversation
|
I have run a test to compare the unchanged skill with my commit, and it is faster to provide a response with a smaller token usage, since it uses the API directly instead of fetching large web pages and scanning through them: New versionOld version |
|
Thank you for your contribution! |
|
Reopened as we restored this repo. Thanks for your understanding! |
|
@javierpena Could you please include the changes we discussed in RHEcosystemAppEng/agentic-collections-skills#1 again on this PR too? Thanks |
|
ping @javierpena |
|
Sorry for the delay, I was on vacation. I will update the PR later today. |
r2dedios
left a comment
There was a problem hiding this comment.
Hello @javierpena, you're right. The changes were added in that commit. To confirm nothing is lost, could you rebase your branch against the current main?
After the rebase, the PR diff will only show changes that aren't already in main. If the diff is empty (or nearly empty), we can safely close this PR. If anything remains, we'll review it.
If you think everything is OK, we could simply close the PR
Thanks!
| model: inherit | ||
| color: cyan | ||
| allowed-tools: | ||
| allowed-tools: Bash |
There was a problem hiding this comment.
Bash it's not a valid MCP tool
2fb6311 to
448abee
Compare
|
Once I rebased the commit on the main branch, there were no changes left, so closing. |
|
Great!! Thanks @javierpena |
Summary
Replace WebFetch scraping with a stdlib Python script that queries the official Red Hat lifecycle API directly, returning structured JSON for reliable parsing across all products and versions.
Pack(s) affected
ocp-adminrh-ai-engineerrh-automationrh-basicrh-developerrh-srerh-virtChange type
mcps.json)Contribution method
/agentic-contribution-skillmake validate+make validate-skill-design-changed)AGENTS.md compliance
${VAR}referencesValidation
make validatepasses locallyname,description)name,description)