crm
Skill109 starsChanged 4 months agoMITView on GitHub
Operate HubSpot CRM from a terminal or agent: list and search contact records, view deal pipeline stages, and — with explicit confirmation — move deals between stages, backed by a bundled crm-cli script that is read-only by default and gates every stage change behind a --dry-run/--yes confirmation. Use when an agent needs to answer questions about contacts or deals, produce pipeline views, or apply a confirmed stage change. Do not use for building HubSpot apps or workflow automations (that is HubSpot app development), marketing/sequence automation, or other CRMs like Salesforce (that is their own tooling).
5 other projects use a version of this.
Adopted by
Most recently taken up by
- harshsinghmp/muse-skillstheir own version, first seen Sep 8, 2026
- ShawhinT/non-coding-skillstheir own version, first seen Jul 28, 2026
- GTMify/aigtmtheir own version, first seen May 25, 2026
- getnao/sylphtheir own version, first seen May 19, 2026
- liangdabiao/monica-crm-claude-skilltheir own version, first seen Feb 3, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- getnao/sylph★ 209same name
- ShawhinT/non-coding-skills★ 40same name
- GTMify/aigtm★ 25same name
- liangdabiao/monica-crm-claude-skill★ 13same name
- harshsinghmp/muse-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository180 other files it gives its agents.
- agent-production-operations/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- forward-deployed-engineering/AGENTS.mdAGENTS.md
- production-excellence/AGENTS.mdAGENTS.md
- product-lifecycle/AGENTS.mdAGENTS.md
- tailscale/AGENTS.mdAGENTS.md
- workflow-architect/AGENTS.mdAGENTS.md
- llms.txtllms.txt
- actuarial-risk-modelingSkill
- adr-authoringSkill
- agent-councilSkill
- agent-evals-and-observabilitySkill
- agent-production-operationsSkill
- agent-skillsSkill
- ai-governanceSkill
- ai-operating-economicsSkill
- analog-occultismSkill
- anydocSkill
- api-design-and-evolutionSkill
- artifact-pyramidsSkill
- ascii-city-engineSkill
- autogenSkill
- backend-engineeringSkill
- binary-analysisSkill
- bmadSkill
- brand-designerSkill
- c4-diagrammingSkill
- capacity-and-cost-engineeringSkill
- chief-of-staff-methodologySkill
- cli-builderSkill
- cncf-landscapeSkill
- color-managementSkill
- community-guidesSkill
- conditional-customer-successSkill
- confluence-cliSkill
- constrained-optimizationSkill
- crewaiSkill
- crowdsecSkill
- cryptpadSkill
- cyberpunkSkill
- daily-life-discoverySkill
- data-architectSkill
- data-cleaningSkill
- data-engineeringSkill
- data-scientistSkill
- de-spinSkill
- digital-twinSkill
- docker-composeSkill
- documentsSkill
- dsm5Skill
- dspySkill
- electronicsSkill
- emailSkill
- enterprise-architectureSkill
- epubSkill
- esp32-developmentSkill
- ffmpegSkill
- financial-modelingSkill
- firefliesSkill
- flaresolverr-cliSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 61
Act with confirmation: only a human directive to change, previewed with --dry-run and confirmed with --yes.
- Very specific: line 102
Never move a deal without a human directive, --dry-run preview, and --yes confirmation — pipeline changes feed revenue reporting and audit …
- Distinctive: line 103
Never claim a record is missing when the token may lack object scope.
- Very specific: line 104
Never page reads past --limit.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HubSpot CRM Operations
Use this skill to read and, with explicit confirmation, update HubSpot CRM data through the HubSpot CRM v3 API: contact records, contact search, deal pipeline views, and deal stage changes. This is a tool skill for one CRM vendor (HubSpot). Building HubSpot apps or workflows is application development; this skill owns the everyday agent workflow: answering "who is this contact?", "what is in the pipeline?", and applying a confirmed stage change.
Operating contract
- Read-only discovery before any mutation. List and search contacts, view deals and pipelines freely. The bundled
crm-cliscript makes reads without writing anything. - Confirm the target, scope, and rollback path before acting. Moving a deal to a new stage changes a shared pipeline that revenue reporting reads: it requires an explicit human directive naming the deal and the target stage, plus
--dry-runpreview and--yesconfirmation throughcrm-cli. Stage moves are reversible but leave audit history — confirm before acting. - Respect bounded reads. HubSpot pages with
limit; never page past what the task needs.crm-cli --limitcaps every listing and search. - Keep evidence bounded. Quote short names, emails, amounts, and stage labels; never dump full records, tokens, or raw payloads into chat.
- Know the object model. Contacts and deals are distinct objects with property maps; stage transitions must use a stage ID from the deal's pipeline (
pipelines list), not a stage label.
The crm-cli script
scripts/crm-cli is an agent-first, stdlib-only CLI over the HubSpot CRM v3 API. It covers the full issue scope: records, search, and pipeline views.
crm/scripts/crm-cli --help # no token or network needed
crm/scripts/crm-cli --json --limit 20 contacts list
crm/scripts/crm-cli --json contacts get --id 51
crm/scripts/crm-cli --json contacts search --query "ada"
crm/scripts/crm-cli --json --limit 20 deals list
crm/scripts/crm-cli --json deals list --pipeline default --stage appointmentscheduled
crm/scripts/crm-cli --json pipelines list
crm/scripts/crm-cli deals update-stage --id 901 --stage closedwon --dry-run # preview
crm/scripts/crm-cli deals update-stage --id 901 --stage closedwon --yes # confirmedExit codes: 0 success, 1 API error or failed check, 2 usage error. Stage changes are guarded: without --dry-run or --yes the script refuses with exit 1 and never calls the API. Reads are bounded by --limit (default 20, max 100).
Operating loop
- Scope the question: is this a lookup (who/what is in the CRM) or a change (move a deal)? Locate the object with
contacts search/contacts listordeals list. - Read with bounds:
contacts getfor one record,deals listfor the pipeline view (optionally filtered by pipeline and stage),pipelines listto resolve stage labels to IDs. - Triage the answer: map the question to evidence (contact details, deal amount/stage, pipeline distribution).
- Act with confirmation: only a human directive to change, previewed with
--dry-runand confirmed with--yes. - Verify: re-read the deal (
deals list --stage <target>) and confirm the stage moved.
Records, search, pipeline views
- Contact records (
/objects/contacts): list (GET) or retrieve one (GET by ID); the CLI summarizes first/last name, email, company, and created date. Search (POST /objects/contacts/search) finds contacts by query text, bounded by--limit. - Deal pipeline views (
/objects/deals): list deals with amount, pipeline, and stage, optionally filtered to one pipeline or stage.pipelines list(/pipelines/deals) returns the pipelines with their stage IDs and labels — use the stage ID when filtering or updating. - Stage changes (
PATCH /objects/deals/{id}): a guarded mutation that sets thedealstageproperty. Preview the target stage with--dry-run, confirm with--yes, and verify with a follow-up read. Only stage moves are in scope; other deal property edits are application work.
Access model
- HubSpot private app access tokens (
pat_...) scope per object and read/write. Reads needcrm.objects.contacts.readandcrm.objects.deals.read; stage updates needcrm.objects.deals.write. - Records carry a
propertiesmap keyed by property names (e.g.dealstage,dealname,amount). Property values are strings; the CLI summarizes the fields this skill uses. - Tokens are credentials: store in
HUBSPOT_TOKEN, never in code, chat, or commits. Rotate a leaked token in the private app settings.
Reference routing
| Load when | Reference |
| Sources, scope tables, refresh procedure | references/00-source-index.md |
| Endpoints, pagination, object model, stage updates, errors | references/01-hubspot-crm-operations.md |
Included artifacts
scripts/crm-cli: bounded, stdlib-only CLI (contacts list/get/search, deals list/update-stage, pipelines list;--json;--limit; mutations gated by--dry-run/--yes).tests/test_crm_cli.py: 13 deterministic tests against a stub HubSpot API, including the mutation gate and the read-only contract.references/: dated source index + HubSpot CRM operations reference.evals/evals.json: six output-quality evaluation cases for agent runs.
Verification boundary
| Claim | Minimum evidence |
| A contact exists | crm-cli contacts search --query ... --json or contacts get returns the record |
| A pipeline view is accurate | crm-cli deals list --json returns deals with stage IDs and the filter applied |
| A stage label maps to an ID | crm-cli pipelines list --json returns the pipeline stage map |
| A stage change landed | crm-cli deals update-stage --yes exits 0 and a follow-up deals list --stage shows the deal |
| A mutation is safe to run | crm-cli deals update-stage --dry-run prints the exact deal + target stage |
Hard boundaries
- Never move a deal without a human directive,
--dry-runpreview, and--yesconfirmation — pipeline changes feed revenue reporting and audit history. - Never claim a record is missing when the token may lack object scope; check the access model first.
- Never page reads past
--limit; never dump full records, tokens, or raw payloads into chat. - This skill operates the HubSpot CRM API. It does not build HubSpot apps or cover other CRMs.
When not to use
- Building HubSpot apps, workflow automations, or custom objects — that is HubSpot app development; see backend-engineering for service design.
- Marketing, sequences, and email automation in HubSpot — that is the HubSpot Marketing surface, not the CRM API this skill covers.
- Other CRMs (Salesforce, Pipedrive, Zoho) — each has its own API and tooling; this skill covers HubSpot.
- CRM strategy, sales process design, or pipeline methodology — that is organizational/strategy work, not an API operation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

