agentsclimarketplace

Review compliance

Skill s27183/adi-atp-plugin/skills/review-compliance

Review whether an activity is truly compliant — not just legally covered, but defensible in practice. Can the system prove compliance and enforce it?From its SKILL.md

Install
npx -y skills add s27183/adi-atp-plugin --skill review-compliance

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

8.4 KB, as published. Nobody here has run it

You are orchestrating a compliance review. Your job is to gather context and evidence, then assess whether the system can prove and enforce compliance — not just claim it.

You will be provided with:

  • Context: What this skill does. Delimited with <context> tags.
  • Goal: What the user is asking for. Delimited with <goal> tags.
  • Safety: Operational constraints. Delimited with <safety> tags.
  • Instructions: Sequential tasks to execute. Delimited with <instructions> tags.
<context>

This skill reviews compliance across domains. A system can be legally compliant and still fail when it can't prove compliance or enforce obligations in practice. True compliance = obligations defined AND provable AND enforceable.

See references/report-architecture.md for report rendering guidance.

</context> <goal>

$ARGUMENTS

</goal> <safety>

Do not retry, abort, or report failure for ATP tool calls until you receive a final response or an explicit error. Tool calls may take up to 10 minutes — the skill pipeline runs multiple AI agents sequentially. If you see a timeout warning, ignore it and wait for the result.

</safety> <instructions>

Execute the following nine tasks sequentially.

Task 1 — Create context questions: Call the gather_context tool with factual, correct, and detailed information from <goal>. Stop and wait for the tool to return its output that includes context questions for the user to answer. Don't proceed to task 2 until the tool has returned output.

Task 2 — Gather context: Present the context questions gathered in task 1 to the user. Stop and wait for their responses.

Task 3 — Gather evidence: Call the gather_evidence tool with: (1) factual, correct, and detailed information from <goal>; (2) and the users' answers to the questions in task 2. The tool returns an evidence summary with an evidence_id. Save this ID — you will pass it to the evaluation tool. Proceed to task 4.

Task 4 — Enrich with web search: Use web search to supplement both context and evidence gathered in task 2 and 3. Once the web search process returns output, proceed to task 5.

Task 5 — Evaluate Legal: Call the evaluate_legal tool with:

  • user_query: concise — e.g. "Crypto exchange pilot compliance under NQ 05/2025"
  • evidence_id: the evidence ID string from task 3
  • evidence: structured dict containing gather_context_result (user answers from task 2). The server resolves the full evidence internally using evidence_id.
  • The response includes an evaluation_id and the full legal report — cited Vietnamese legal findings with verbatim text, obligations, restrictions, and penalties. Retain the returned blob for task 9. Proceed to task 6.

Task 6 — Evaluate Review: Call the evaluate_review tool with:

  • user_query: same as task 5
  • subtype: "compliance"
  • evidence_id: the evidence ID string from task 3
  • evidence: structured dict containing gather_context_result (user answers from task 2). The server resolves the full evidence internally using evidence_id. The server also injects the legal findings from task 5 automatically — do not pass legal_output.
  • audiences: audience aspects with specific needs
  • The response includes an evaluation_id and the full review report (compliance gaps, remediations, provable/enforceable assessment). Retain the returned blob for task 9. Pass only the evaluation_id to task 7. Proceed to task 7.

Task 7 — Simulate: Call the simulate tool with:

  • user_query: same as task 5
  • evaluation_id: the evaluation_id from task 6. The server resolves the full evaluation and also injects legal findings from task 5 automatically.
  • The simulation agent runs scenarios against operational tools (delegation, policy, identity, intervention) and checks them against cited legal obligations. The response includes the full simulation output with per-scenario setup, action, expected, and outcome. Retain the returned blob for task 9. Proceed to task 8.

Task 8 — Present simulation results: Summarize the simulation findings for the user. Highlight any scenarios that failed or produced unexpected outcomes — these indicate design gaps that need attention before implementation. Proceed to task 9.

Task 9 — Craft reports: Produce a markdown report and a self-contained HTML report for the user, grounded in the full blobs returned by task 5 (legal), task 6 (review), and task 7 (simulation). Three references govern the work:

  • references/report-architecture.md defines the section map for a compliance review report — sidebar, collapsible state, and the Obligations Assessment Table as the centerpiece.
  • references/report-base.html is the HTML skeleton (sidebar, page header, card/callout/mermaid CSS, download buttons). Fill in the marker comments <!-- TITLE -->, <!-- SIDEBAR_NAV -->, <!-- CONTENT_SECTIONS -->, <!-- MARKDOWN_CONTENT -->, <!-- JSON_CONTENT -->.
  • ../../references/report-format.md is the shared rendering ruleset — page header, severity-coded finding cards, callouts, legal-citation pattern, simulation-outcome rendering, section ownership, safety, and VN language conventions. Stay within its CSS class vocabulary; the skeleton's stylesheet will not render invented classes.

Sections to emit:

  1. Page header with risk badge, date, target, scope. The subtitle should state the compliance verdict in one sentence (e.g., "Pilot-ready with three enforcement gaps").
  2. Overview section — one-paragraph summary with the compliance verdict, followed by a Key Findings list.
  3. Obligations Assessment table as an always-open card — sortable columns: requirement, source (legal citation), status (MET / UNMET / AMBIGUOUS with badge-low green / badge-critical red / badge-medium amber), provable (yes / no / partial), enforceable (yes / no / partial). This is the centerpiece — render every obligation from obligations[].
  4. Analysis section — Gap Assessment cards (severity-coded) and Compound Vulnerabilities cards that show obligation → provable? → enforceable? → where it breaks.
  5. Gaps section — three visually distinct sub-sections, each always-visible:
    • Regulatory Gaps (amber accent, badge-medium) — obligations that are unclear or inapplicable. Frame as regulatory silence per report-format.md.
    • Enforcement Gaps (red accent, badge-critical) — obligations the system cannot enforce in practice. Each card states the obligation, the gap, and the compliance impact.
    • Evidence Gaps (orange accent, badge-high) — obligations the system cannot prove to a third party.
  6. Legal Analysis section — a card per legal topic from legal_findings[]. Blockquote the verbatim Vietnamese text from verbatim_text, cite the law reference from applicable_laws in <strong>, and include obligations/restrictions/penalties. Follow the Legal Analysis pattern in report-format.md.
  7. Simulation section — a scenario results table (scenario / outcome badge / finding) followed by a discoveries callout. Use the outcome rendering rules in report-format.md — regulatory_gap gets amber + gap framing, not red + failure framing. Failed scenarios should link by id to the remediation that addresses them.
  8. Remediations section — priority timeline using badge-p0 / badge-p1 / badge-p2 pills for immediate / short-term / medium-term. Each row: action, which gap it closes, provable-and-enforceable checklist.

Diagrams to emit:

  • At least one mermaid sequenceDiagram showing the primary regulated workflow (e.g., AML reporting, KYC onboarding) across actors with governance touchpoints marked.
  • A mermaid stateDiagram-v2 for any obligation with a lifecycle (e.g., transaction AML state, reporting state machine).

Assemble and sanitise: Bundle the source markdown inside the HTML via the <script id="report-markdown" type="text/markdown"> block in the skeleton so the "Download Markdown" button works. Do not re-expose any internal tool names, IDs, or agent names in either the markdown or the HTML — strip them per the safety section of report-format.md.

This completes the skill.

</instructions>

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.