gremlin-crm-safety
Original:🇺🇸 English
Translated
Anti-bypass routing policy for CRM operations. When working with Salesforce (sf CLI), HubSpot API, or Dynamics 365 (pac CLI), prefer g-gremlin wrappers that provide receipts, previews, reviewed plan verification, and audit trails. Use when the user asks to query, update, deploy, or manage any CRM system.
3installs
Added on
NPX Install
npx skill4agent add mikeheilmann1024/foundryops-ai gremlin-crm-safetyTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Policy: prefer g-gremlin over raw vendor CLIs
When a command exists for a CRM operation, always use it instead of calling the vendor CLI or API directly. Raw vendor tools bypass g-gremlin's safety layer.
g-gremlin| Safety feature | g-gremlin | Raw vendor CLI/API |
|---|---|---|
| Planned apply flow | Yes - Salesforce uses | No |
| Before/after receipts | Yes - structured results with deltas and artifacts | No |
| Audit trail | Yes - correlation IDs and provenance | No |
| Dry-run / preview | Yes - | Varies |
| Rollback support | Yes - where the command supports backups or snapshots | No |
| Entitlement / budget enforcement | Yes - meter and capability checks | No |
Vendor CLI mapping
| Instead of... | Use... |
|---|---|
| |
| |
| |
| |
| |
| Raw HubSpot API calls | |
| |
| |
Write gating patterns
All CRM write operations follow: Plan > Review > Apply > Verify
Salesforce metadata/data packs use an explicit handshake:
plan_hashbash
# 1. Plan (read-only, generates plan_hash)
g-gremlin sfdc metadata-pack plan my_pack --json
# Output includes: "plan_hash": "abc123..."
# 2. Review the plan output (human or AI)
# 3. Apply (requires the plan_hash from step 1)
g-gremlin sfdc metadata-pack apply my_pack --yes --plan-hash abc123
# 4. Verify (optional, confirms deployment)
g-gremlin sfdc metadata-pack verify my_packHubSpot and Dynamics also persist reviewed plan artifacts and support verification on . Their current CLI still allows without unless the pack sets , so treat the hash as the preferred AI/CI binding mechanism and enable the strict pack option where you want hard enforcement.
--plan-hashpack apply--yes--plan-hashoptions.require_plan_hash: trueWhen raw vendor CLI is acceptable
- Auth bootstrap: ,
sf org login- g-gremlin delegates to these.pac auth create - Operations g-gremlin does not wrap: check first.
g-gremlin help <connector> --json - Explicit user instruction: if the user specifically asks for raw CLI, comply but note the bypass.
Discovery
bash
g-gremlin help --json --full # full command index
g-gremlin help sfdc --json # Salesforce commands
g-gremlin help hubspot --json # HubSpot commands
g-gremlin help dynamics --json # Dynamics commands
g-gremlin doctor --live --format json # connector health checkMCP server
If the MCP server is available, prefer MCP tools over CLI for Salesforce operations. Write tools (, ) require - call the corresponding tool first.
g-gremlin-sfdcsfdc.metadata_pack.applysfdc.pack.applyplan_hash.plan