/accordo:build-contract-activationfrom Accordo — agent-native CRM framework
Add 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).
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-018 and its addenda), docs/CONTRACT_ACTIVATION.md and docs/PACKAGE_AUTHORING.md. They are the deeper source for the rules below, not a prerequisite for them — the rules stand on their own.
packages/<domain>/ and is registered through the checked-in packages/domains/generated/index.js — the same path a third-party package uses. The kernel must never import it, and removing that one static import must leave every other milestone working. Prove it: boot the same project without the package and assert the kernel is unchanged.definePackage from the public surface packages/core/index.js: { packageContract: 1, name, version, label, resources[], requires[], capabilities[], actions[], policies[{kind, definition}], metadata() }. metadata() returns function-free JSON for /api/schema; never a handler, a credential or a path. Import nothing else under packages/core — docs/PACKAGE_AUTHORING.md and crm package validate are the contract.packages/core. M12 needed exactly three: the domain registry seam, a strict boolean input type and an injectable application clock.writable: "managed" throughout → capabilities get/list) applied by the project, not written by hand.commercialActivation), and does it owe anything beyond the money (obligations)? Annual support answers yes to both — a single exclusive label has to drop one, and dropping the first removes real recurring money from the subscription. A recurring API charge may owe nothing; a one-time migration owes delivery work.defineOrderActivationPolicy({name, version, config, classifyComponent}). Deterministic, synchronous, total — no clock, no network, no database, no randomness. Thresholds and mappings go in config so the fingerprint covers them; a closure-held table is invisible to it.ambiguous, and an ambiguous axis blocks activation until a human resolves that axis with its own reason. obligations: [] is a decision that nothing further is owed; 'ambiguous' is the absence of one. Do not add a default that guesses.409 CLASSIFICATION_INCOHERENT).plan-activation is read-only: no domain record, no business audit, no event. Any actor may prepare it — that is how an agent contributes without committing the business.activate-contract requires actor.type === 'user' (an agent is 403 HUMAN_APPROVAL_REQUIRED). It is a human-actor boundary, not Finance/Legal role enforcement — real roles need the Production Spine.{orderComponentId, dimension, value, reason}): bounded non-blank reason, never the ambiguity it is meant to resolve, never a component of another order, never the same component and dimension twice, no control characters (SQLite ends a text value at the first NUL byte). Store the policy's answer and the human's on each axis.accepted, envelope completed and belonging to the same quote version, artifact belonging to that envelope, the three agreeing on the document hash, and the snapshot complete. Each refusal gets a stable code.YYYY-MM-DD), validated by round-trip so 2026-02-30 is refused rather than normalized. State inclusivity, bound the term, refuse a notice period without auto-renewal, and record auto-renew and notice days as recorded only — there is no scheduler, so nothing fires on them.termsSource) and require a human reason. When the order DOES carry a signed term snapshot (order-term), copy it verbatim as signed-order-terms, refuse manual term inputs (SIGNED_TERMS_AUTHORITATIVE) and collect no reason — the signature is the reason. Check what the document package actually contains before writing "the signed term" anywhere, and never collapse the two provenances.scheduled and stays scheduled (no scheduler exists), and an ended term is refused rather than recorded as active.contract:order:<orderId>, contract-version:<contractId>:1, subscription:contract:<contractId>, contract-line:<versionId>:<componentId>. Prove it with two concurrent activations in one app and across two connections.Plan control, both axes of every classification with their reasons, each undecided axis highlighted with its own override editor that demands a reason, calendar term inputs carrying the term's provenance, one activation control that disables on submit, the human-actor caveat stated. After activation: evidence only — no control to progress, complete, bill, renew or cancel anything. The section renders only when /api/schema publishes the domain.
A renewal or amendment does not edit the agreement. It produces a
successor agreement — its own signed Order, its own document hash, its own
term and its own Subscription — written by the same activation writer, plus
one immutable contract-succession row naming what it replaces. Issue no
UPDATE against any historical contract, version, line, subscription or
obligation row.
order-term, covered by the signed
documentHash). An Order whose signed document carried no term is refused
409 SUCCESSOR_TERMS_NOT_SIGNED. Never promote post-signature operational
dates into a signed renewal term, and never collapse the three provenances
(signed / post-signature operational / absent-unknown) into one badge.ready is an
observation with a timestamp and never an authorisation.contract-succession.sourceContractId, .successorContractId,
.successorOrderId and .executionRef are each UNIQUE. No in-process lock.offerLogicalKey|componentKey and derive renewal | expansion | contraction | mixed | commercial_change from the delta. Claim a narrow label only when
the evidence supports exactly one reading — a price movement with no quantity
movement is commercial_change, because nothing about it expanded.contiguous | gap | overlap | unknown against the source's inclusive end date. Overlap is a mid-term
amendment and a gap is a lapse; only a successor term starting before the
source term started is refused.planned → awaiting_signed_order | ready → executed, plus abandoned from any non-terminal state; both terminals never
regress and nothing in the table reads a clock.Billing, invoicing, payment, usage rating, proration, ramps, minimum commitments, tax, FX, revenue recognition, MRR/ARR/TCV, seat changes on a live subscription, automatic or scheduled renewal, renewal-notice delivery, customer notification, cancellation, delivery execution, partner assignment, time/expense/margin, change requests, customer acceptance, service contracts, entitlements, SLA, support cases, a scheduler, a durable outbox, authentication.
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
11 skills in this plugin
/build-commercial-operationsAdd 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)./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).Other plugins' skills for the same job
npx claudepluginhub khaoss85/agent-crm --plugin accordo