Skip to content

feat: add source discovery guidance to skills#20

Merged
patrick204nqh merged 1 commit into
mainfrom
feat/skill-source-discovery
Feb 11, 2026
Merged

feat: add source discovery guidance to skills#20
patrick204nqh merged 1 commit into
mainfrom
feat/skill-source-discovery

Conversation

@patrick204nqh
Copy link
Copy Markdown
Owner

Summary

  • Add Phase 2: Discover Log Sources to the /sumo-query:investigate skill, before the monitors check
  • Add Step 2: Discover Sources to the /sumo-query:query skill, when scope is unknown
  • Update /sumo-query:discover skill to use new filtering flags for scoped discovery
  • Update _reference.md with new CLI flags and compound time examples

Why

The hardest part of an investigation is finding the correct _sourceCategory. Without guidance, the skills waste most of their query budget on trial-and-error source discovery, often querying stale or wrong sources.

Changes by file

File Change
skills/sumo-query/investigate.md Added Phase 2 (source discovery), renumbered phases 3-7, updated Phase 4 guidelines
skills/sumo-query/query.md Added Step 2 (discover sources if scope unknown), renumbered steps 3-6
skills/sumo-query/discover.md Added filtering examples for collectors, sources, and metadata discovery
skills/sumo-query/_reference.md Added flag tables for list-collectors, list-sources, discover-source-metadata; added compound time examples

Test plan

Closes #14, closes #15

Add a source discovery phase to the investigate and query skills so
they identify the correct _sourceCategory before running queries.
This prevents wasting search API quota on trial-and-error discovery.

Update the reference skill with new CLI flags (list-collectors -q/-l,
list-sources --collector/--name/--category/-l, discover-source-metadata
-k/-l) and compound relative time examples.

Update the discover skill to use filtering flags for scoped discovery.

Closes #14, closes #15.
@patrick204nqh patrick204nqh merged commit 53dcfeb into main Feb 11, 2026
2 checks passed
@patrick204nqh patrick204nqh deleted the feat/skill-source-discovery branch February 11, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill: Add source category reference/auto-discovery guidance Skill: Add source discovery phase to /sumo-query:investigate

1 participant