agoragentic-transaction-assurance
Skill40 starsChanged 2 months agoMITView on GitHub
Prepare, evaluate, and reconcile autonomous agent transactions without self-granting payment or owner authority. Use when an agent must bind principal authority, seller terms, payment evidence, execution, delivered outcome, and reconciliation; handle paid retries safely; or prepare an authority request for owner review.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agoragentic-assure.mdcCursor rule
- .cursor/rules/agoragentic-deploy.mdcCursor rule
- .cursor/rules/agoragentic-execute.mdcCursor rule
- .cursor/rules/agoragentic-govern.mdcCursor rule
- .cursor/rules/agoragentic-integrate.mdcCursor rule
- .cursor/rules/agoragentic.mdcCursor rule
- .cursor/rules/agoragentic-prove.mdcCursor rule
- .cursor/rules/agoragentic-sell.mdcCursor rule
- .cursor/rules/agoragentic-use.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-payments-assurance-challengeSkill
- agoragentic-assureSkill
- agoragentic-deploySkill
- agoragentic-executeSkill
- agoragentic-governSkill
- agoragentic-integrateSkill
- agoragentic-proveSkill
- agoragentic-sellSkill
- agoragenticSkill
- agoragentic-useSkill
- integration-qualificationSkill
- agoragentic-prime-agentSkill
- agoragenticSkill
- agoragentic-assureSkill
- agoragentic-deploySkill
- agoragentic-executeSkill
- agoragentic-governSkill
- agoragentic-integrateSkill
- agoragentic-proveSkill
- agoragentic-sellSkill
- agoragenticSkill
- agoragentic-useSkill
- agoragentic-transaction-assurance-evalSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when a task involves an autonomous agent buying work, invoking a paid API or MCP tool, using delegated payment authority, …
- Distinctive: line 36
create a proposal-only authority request.
- Distinctive: line 48
treat protocol recognition or parsed fields as signature verification.
- Distinctive: line 55
Before a paid action, inspect the current platform/rail availability and the source authority artifact.
- Very specific: line 105
Use the local external-verification-adapters export only when a transaction already carries the exact pinned Mycelium action-reference v1 …
- Distinctive: line 144
Use decimal strings for money.
- Distinctive: line 162
Keep the same transaction, idempotency, and payment identifiers.
- Distinctive: line 164
If the call times out or the connection drops, do not blindly retry.
- Very specific: line 190
When payment succeeded but delivery failed, preserve payment_observed or failed, request missing seller/validator evidence, and prepare the …
- Distinctive: line 192
When delivery succeeded but settlement is not verified and final, do not mark the seller paid or the transaction reconciled.
- Distinctive: line 213
Never include secret values in the report.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agoragentic Transaction Assurance
Use this skill when a task involves an autonomous agent buying work, invoking a paid API or MCP tool, using delegated payment authority, validating delivery, reconciling an ambiguous result, or preparing a refund/dispute evidence packet.
Core rule
Payment evidence proves that money moved. It does not by itself prove that the authorized job ran or that the promised outcome was delivered.
Build and evaluate one evidence chain:
principal
→ delegated authority
→ agent
→ seller and terms
→ payment
→ execution
→ delivered outcome
→ verification
→ reconciliationAuthority boundary
You may autonomously:
- inspect public schemas and current availability;
- install and run the local no-network assurance package;
- detect a protocol family;
- normalize an artifact as
unverified; - create a proposal-only authority request;
- build a transaction-assurance envelope;
- evaluate an envelope;
- request missing evidence;
- prepare a refund or dispute packet without filing it.
You may not autonomously:
- invent or impersonate the principal;
- approve your own authority request;
- increase budget or expand merchant, category, action, rail, currency, or time scope;
- fund or debit an owner payment method without delegated authority;
- treat protocol recognition or parsed fields as signature verification;
- retry an ambiguous paid call without the same idempotency/payment identifiers and reconciliation evidence;
- declare
reconciledwhile required authority, payment, execution, delivery, validation, or finality evidence is missing; - expose private keys, seed phrases, card data, payment credentials, raw prompts, raw tool output, wallet-private data, or private owner data.
First action
Before a paid action, inspect the current platform/rail availability and the source authority artifact. Unknown availability or authority means no spend.
For Agoragentic-hosted setup, read:
https://agoragentic.com/agent-bootstrap.json
https://agoragentic.com/agent-setup.mdFor local repository work:
cd transaction-assurance
npm run self-testWorkflow
1. Detect, but do not verify by recognition
node bin/agora-assure.mjs detect authority.jsonSupported structural profiles include native Agoragentic mandates, AP2, Visa TAP, official OpenAI/Stripe ACP, x402, Circle Agent Wallet policy evidence, Skyfire KYA/KYAPay, and Verifiable Intent markers.
A detection result describes structure only. Do not change verification status from unverified unless a version-specific verifier produced evidence.
2. Normalize the authority artifact
node bin/agora-assure.mjs normalize authority.json \
--artifact-ref vault://authority/123 \
--verification-status unverified \
--revocation-status not_checkedStore a reference and stable hash, not the raw private artifact.
Fail closed when any required field is unknown:
- principal or agent identity;
- issuer/signature verification;
- audience or merchant binding;
- issue/expiry;
- revocation;
- action, seller, category, rail, currency, or amount limits.
Optional: bind Mycelium public anchor evidence
Use the local external-verification-adapters export only when a transaction already carries the exact pinned Mycelium action-reference v1 profile and a separately reviewed host can supply public AnchorRegistry observations through the trusted synchronous callback boundary.
The adapter is no-network and read-only. A checked_match proves only reference anchoring, public block timestamp, and event inclusion. It does not prove principal authority, execution correctness, delivery, settlement, or single execution, and it never grants spend, execution, deployment, publication, or trust authority. Keep authenticated_action_ref and delivery/payment/reconciliation state independent from external_action_refs and external_verification.
See docs/MYCELIUM_EXTERNAL_VERIFICATION.md for immutable pins, the callback contract, and the exact claim boundary.
3. Prepare authority for owner review
Use buildAuthorityRequest() or:
node bin/agora-assure.mjs authority-request authority-request-input.jsonThe request must remain:
status = pending_principal_approval
approval = null
request_grants_authority = false
all authority flags = falseSend the request through an approved owner-control channel. Do not edit it into an approval.
4. Build the pre-execution envelope
Bind:
- principal and agent;
- verified source authority;
- exact action;
- seller, capability, category, quote, and terms;
- payment rail, amount, and payment identifier;
- idempotency key hash;
- input hash;
- required outcome validators;
- expected reconciliation behavior.
Use decimal strings for money. Preserve explicit unknowns.
5. Evaluate before execution
node bin/agora-assure.mjs evaluate envelope.json --phase pre_executionInterpret decisions precisely:
allow: the local pre-execution contract passed; re-check live rail availability before acting;review: evidence is missing or ambiguous; request it and re-evaluate;deny: authority, scope, terms, amount, merchant, rail, expiry, revocation, or replay failed.
allow is not a payment signature, owner approval, execution, or guarantee.
6. Execute once under the approved identifiers
Keep the same transaction, idempotency, and payment identifiers. Save returned references before doing anything else.
If the call times out or the connection drops, do not blindly retry. Check payment, invocation, receipt, and reconciliation state first.
7. Add post-execution evidence
Record references and hashes for:
- payment offer/challenge and receipt;
- verified settlement and finality;
- invocation and attempts;
- input and output;
- returned artifacts;
- seller delivery attestation;
- independent validators;
- refund/dispute state;
- unresolved unknowns.
A seller attestation is not automatically independent verification.
8. Evaluate the complete chain
node bin/agora-assure.mjs evaluate envelope.json --phase post_executioncomplete_chain_verified=true requires all configured authority, terms, payment, execution, outcome, and reconciliation gates to pass.
When payment succeeded but delivery failed, preserve payment_observed or failed, request missing seller/validator evidence, and prepare the configured refund/dispute path.
When delivery succeeded but settlement is not verified and final, do not mark the seller paid or the transaction reconciled.
Required final report
Protocol profile: ...
Protocol verification: verified | unverified | failed | unknown
Authority: active | expired | revoked | unknown
Terms: match | changed | unknown
Payment: not started | submitted | observed | settled | failed | refunded | unknown
Execution: not started | pending | success | failed | timed out | ambiguous
Outcome: not observed | partial | delivered | failed | unknown
Outcome verification: verified | unverified | failed | unknown
Reconciliation: not started | pending | complete | failed | refunded | disputed | unknown
Complete chain verified: true | false
Blockers: [...]
Unknowns: [...]
Next safe action: ...
Authority granted by this report: falseNever include secret values in the report.
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.

