Add RevenueQuerySkill - natural language revenue queries#283
Merged
lbartoszcze merged 3 commits intomainfrom Feb 8, 2026
Merged
Add RevenueQuerySkill - natural language revenue queries#283lbartoszcze merged 3 commits intomainfrom
lbartoszcze merged 3 commits intomainfrom
Conversation
…ueries (#1 priority from MEMORY) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
82c0186 to
599e0bc
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
RevenueQuerySkill- enables plain-English revenue data queries (e.g., "What was total revenue?", "Which source earns the most?", "Am I profitable?")revenue_analytics_dashboardorrevenue_observability_bridge) via SkillContextautonomous_agent.pyfor automatic registrationPillar: Revenue (primary) + Goal Setting (supporting)
This was the #1 priority from MEMORY. Without this, external users (via ServiceAPI) must know exact skill IDs and action names to query revenue. With this, they can ask questions in plain English. Also enables the agent itself to self-query revenue for strategic decisions.
Files Changed
singularity/skills/revenue_query.py- New skill (580 lines, 8 intents, 6 actions)singularity/autonomous_agent.py- Import and registration (+2 lines)tests/test_revenue_query.py- 30 new tests, all passingTest plan
🤖 Generated with Claude Code