Add crm-query and crm-reports skills (CLI-friendly CRM data querying)#1
Draft
m-roll wants to merge 1 commit into
Draft
Add crm-query and crm-reports skills (CLI-friendly CRM data querying)#1m-roll wants to merge 1 commit into
m-roll wants to merge 1 commit into
Conversation
crm-query: translates the Breeze crm-query skill into hubspot CLI equivalents — objects search, properties list, pipelines, associations, and owners commands. Covers schema discovery, record filtering, counting, and owner lookup. crm-reports: wraps hubspot reports create "<sql>" for server-side aggregations, GROUP BY, time series, and cross-object filters in a single call. The two skills are designed to work together: crm-query for simple filter/list/count, crm-reports for anything requiring server-side computation. Gaps with no CLI path (web analytics, marketing email metrics, LLM content analysis) are surfaced explicitly in crm-query. Co-Authored-By: Claude Sonnet 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
crm-queryskill — CLI equivalent of the Breezecrm-queryskill, usinghubspot objects search,properties list,pipelines,associations, andownerscommands for schema discovery, record filtering, counting, and owner lookupcrm-reportsskill — wrapshubspot reports create "<sql>"for server-side aggregations, GROUP BY, time series, and cross-object filters in a single callcrm-query/resources/filter-operators.md(full filter syntax),crm-query/resources/aggregation-patterns.md(jq fallback cookbook),crm-reports/resources/sql-syntax.md(canonical SQL grammar)The two skills are designed to work together:
crm-queryfor simple filter/list/count,crm-reportsfor anything requiring server-side computation. Gaps with no CLI path (web analytics, marketing email metrics, LLM content analysis) are surfaced explicitly incrm-queryrather than producing misleading workarounds.Test plan
crm-queryandcrm-reportsfrontmatter (name, description, triggers) are coherent and non-overlappingcrm-lookup,crm-reports,sales-reporting,bulk-operations) point to existing skillscrm-querycorrectly delegates aggregation/cross-object cases tocrm-reportscrm-reportsSQL examples match the syntax documented inresources/sql-syntax.mdaggregation-patterns.mdare syntactically valid🤖 Generated with Claude Code