/accordo:build-commercial-operationsfrom Accordo — agent-native CRM framework
Add or extend Commercial Operations in an Accordo project - catalog providers, products and price books, quotes with server-priced lines, immutable quote versions, and versioned discount policies with human approval. Use for catalog/quote/discount/CPQ work. Do not use for CRUD module changes (create-crm-module) or lead scoring/routing (build-lead-intelligence).
Ships in Accordo — agent-native CRM framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
npm run crm -- app inspect --json
Read valid, then problems[], then limitations[], in that order. Every problem is fixed or reported before anything is built on top of it, and every limitation is a hard boundary on what you may claim. Then read packages[], capabilities[], resources[], actions[], policies[] and providers[]: that list is what exists. A capability absent from the report does not exist, whatever a record name, a label or a document suggests.
If the repository documents this skill names are absent, you are in a project built from this framework rather than in the framework itself. The inspection report is then the source of truth and those documents are optional background — do not guess at their contents, and do not assume a path exists because this skill names it.
Background, where they exist: ARCHITECTURE.md, DECISIONS.md (ADR-016) and docs/COMMERCIAL_OPERATIONS.md. They are the deeper source for the rules below, not a prerequisite for them — the rules stand on their own.
{ name, version, label, config, async fetchCatalog(input, ctx) } returning { sourceRef?, priceBooks[], products[], offers[] }. An offer is the sellable package: { sourceKey, priceBookSourceKey, productSourceKey, name, active, externalOfferId?, components[] }. A component is { sourceKey, label, chargeType: 'one_time'|'recurring', pricingModel: 'flat_fee'|'per_unit'|'volume'|'graduated', interval?, intervalCount?, unitAmountCents? (per_unit), flatAmountCents? (flat_fee), tiers? (volume/graduated), externalPriceId?, sourcePricingModel? }. Tiers are ordered { upTo (inclusive, null on the final open-ended tier), unitAmountCents, flatAmountCents? }. Out-of-contract output is refused (PROVIDER_INVALID) — never loosen the normalizer.tiers_mode volume/graduated, and Zuora one-time/recurring with Volume and Tiered/Cumulative pricing, onto the four supported models and keep sourcePricingModel + external ids. For anything unsupported (metered usage, overage, proration, ramps, minimums, attribute-based pricing), mark the component unsupportedModel: '<name>' — the offer persists quoteEligible: false with a reason and is refused for quoting. Approximating it as a flat price is a defect.createCommercialDomain({ catalogProviders: [...] }) in packages/domains/generated/index.js (static import — the composition file is the only place a project names its packages).PROVIDER_FAILED, hang → PROVIDER_TIMEOUT, bad shapes → PROVIDER_INVALID): no partial catalog, honest failed trace.writable: "managed" → capabilities get/list, no public create/update). Never add a public write path to a commercial record; use the trusted createManaged/applyManaged from action code.offerId, quantity and discountBps — never an amount, a tier or a total.computeComponentAmount/computeLineBreakdown/groupComponentTotals from packages/commercial/src/money.js (the neutral value bounds — requireAmount, requireBps, requireQuantity — are public kernel API in packages/core/index.js). Do not hand-roll money arithmetic and never use floating-point percentages. Respect quantity semantics: flat fees are charged once per line, per-unit multiplies, volume prices the whole quantity at the reached tier, graduated prices each band.(currency, interval, intervalCount). Do not derive ARR/MRR/TCV — a term records calendar dates, never an annualization basis.expectedRevision (optimistic concurrency) and gate every action with fromStates. A quote binds one price book and one currency; a mismatched, inactive, incomplete or quote-ineligible offer is refused. A draft line re-prices only from its pinned offer revision.{ name, version, label, config, evaluate(context) } — evaluate gets a deep-frozen context (totals, maxLineDiscountBps, effectiveDiscountBps, lines, opportunity evidence, actor, frozen config) and must return synchronously { decision: 'auto_approve'|'approval_required'|'reject', reason?, requiredApprovalKey?, matchedRule? }. Promises, network calls, LLM calls and DB writes are forbidden.config. The fingerprint is a declared-definition fingerprint: closure-held values are invisible to it. A closure threshold changes silently — put it in config.pending_approval.Only actor.type === 'user' may approve or reject (agent actors get 403 HUMAN_APPROVAL_REQUIRED), one decision per version, decision + quote lifecycle committed atomically. requiredApprovalKey is a label — never claim Sales-Manager or Finance role enforcement before the Production Spine (auth, tenancy, RBAC).
Signature, envelopes, signed artifacts, Orders, taxes, currency conversion, ISO exponent handling, metered usage, overage, proration, ramps, minimum commitments, attribute-based pricing, quote PDFs, payment, billing — Signature and Order are Milestone 11; the rest is later CPQ work. Volume and graduated tiering ARE supported (M10); usage-based rating is not.
Finish with npm run verify and the starter (node examples/starters/b2b-lead-qualification/install.mjs).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub khaoss85/agent-crm --plugin accordo11 skills in this plugin
/build-contract-activationAdd or extend contract activation and renewal/amendment execution in an Accordo project - turning a signed immutable Order into a Commercial Contract, Contract Version and Lines, a Subscription with its lines and pending delivery/service obligations through a versioned Order Activation Policy, and executing a governed SUCCESSOR agreement from a later signed Order with immutable lineage. Use for contract, subscription, obligation, activation-policy, renewal, amendment, successor or contract-lineage work, and for building a new optional domain package. Do not use for signature/order work (build-signature-order), catalog/quote/discount work (build-commercial-operations), billing or cancellation (neither exists) or CRUD module changes (create-crm-module)./build-custom-domain-packageCreate or extend a domain package in an Accordo repository - a bounded domain with its own resources, actions, policies, capabilities and schema metadata, registered statically and removable without touching the kernel. Use for "add a custom package", package contract, package dependency/capability, package validation or new-domain work, including customer-specific packages. Do not use for a single custom object (create-crm-module) or one lifecycle step on an existing record (create-crm-workflow)./build-delivery-handoverAdd or extend delivery handover, delivery execution, delivery economics and delivery change, deliverables and acceptance evidence in an Accordo project - turning the pending delivery obligations of an activated contract into a planned delivery project with work packages, milestones and an optional third-party partner engagement through a versioned handover policy, running that project through bounded human-driven state transitions, and recording governed change requests, plan revisions, deliverables and customer acceptance evidence. Use for delivery project/commessa, work package, delivery milestone, partner engagement, handover, starting/blocking/resuming/completing delivery work, change requests, deliverables or recorded customer acceptance. Do not use for invoicing or billing (neither exists), renewal or amendment execution (build-contract-activation), contract activation (build-contract-activation), signature/order work (build-signature-order) or a single custom object (create-crm-module)./build-lead-intelligenceAdd or extend Lead Intelligence in an Accordo project - enrichment providers, versioned explainable scoring models, versioned routing policies and routing targets. Use for enrich/score/route work on leads. Do not use for CRUD module changes (create-crm-module) or approval processes (create-crm-workflow)./build-service-operationsAdd or extend service operations in an Accordo project - activating the pending service obligations of an activated contract into an operational Service Coverage with immutable Entitlements through a versioned activation policy, and recording support cases over an explicit transition table with elapsed-time SLA evidence and manually recorded escalation. Use for service coverage, support entitlement, support case/ticket, first response, SLA target or evaluation, case escalation, ending coverage, or the Service Admin section. Do not use for a second legal contract, billing, invoicing or an authenticated customer portal (none of which exist), renewal or amendment execution (build-contract-activation), contract activation (build-contract-activation), delivery work (build-delivery-handover) or a single custom object (create-crm-module)./build-signature-orderAdd or extend Signature and Order in an Accordo project - signature providers, envelope/signer/event state, verified webhooks, signed-artifact evidence, reconciliation and immutable Orders built from an approved Quote Version. Use for signature, envelope, webhook or order work. Do not use for catalog/quote/discount work (build-commercial-operations) or CRUD module changes (create-crm-module).