Add sre-diagnose Claude Code skill for subscription-mode runs - #211
Closed
pintxxo wants to merge 1 commit into
Closed
Add sre-diagnose Claude Code skill for subscription-mode runs#211pintxxo wants to merge 1 commit into
pintxxo wants to merge 1 commit into
Conversation
Adds a project skill that reproduces the agent workflow from core/agent.py without an Anthropic API key. Claude Code acts as the agent loop, the local cw-mcp-server replaces the boto3 CloudWatch tool, the Slack connector replaces the Slack MCP sidecar, and a local checkout or the gh CLI replaces the GitHub MCP server. The skill mirrors system_prompt.txt and diagnosis_prompt.txt: open a Slack thread first, query logs, read code only when logs exist, reply in the same thread, and return an ErrorDiagnosis JSON. It adds a Logs Insights fallback for log groups that do not use the log_processed envelope, and uses explicit start/end windows because Insights rejects relative @timestamp filters. defaults.json holds per-user values (log group, Slack channel, AWS profile and region) and is overridden by command-line flags. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Author
|
Opened against upstream by mistake; this skill is for our fork only. Closing. |
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.
Adds a project skill that reproduces the agent workflow from core/agent.py without an Anthropic API key. Claude Code acts as the agent loop, the local cw-mcp-server replaces the boto3 CloudWatch tool, the Slack connector replaces the Slack MCP sidecar, and a local checkout or the gh CLI replaces the GitHub MCP server.
The skill mirrors system_prompt.txt and diagnosis_prompt.txt: open a Slack thread first, query logs, read code only when logs exist, reply in the same thread, and return an ErrorDiagnosis JSON. It adds a Logs Insights fallback for log groups that do not use the log_processed envelope, and uses explicit start/end windows because Insights rejects relative @timestamp filters.
defaults.json holds per-user values (log group, Slack channel, AWS profile and region) and is overridden by command-line flags.
Write a short description which explains what this pull request does and, briefly, how.
What
Why
How
Extra
If new dependencies are introduced to the project, please list them here:
Checklist
Please ensure you have done the following:
Type of change
Make sure to update label on right hand panel.
MacOS tests
To trigger the CI to run on a macOS backed workflow, add the
macos-ci-testlabel to the pull request (PR).Our advice is to only run this workflow when testing the compatability between operating systems for a change that you've made, e.g., adding a new dependency to the virtual environment.