agentleFS
itsmuskanagarwalitsmuskanagarwal/effective-agents-lab/skills/compliance-review/SKILL.md

compliance-review

Skill0 starsChanged 4 months agoMITView on GitHub

Use when a document or process needs to be checked against a policy or regulatory requirement — e.g. "is this compliant", "check this against our policy", or "does this need escalation". Composes document-analysis and extraction rather than re-parsing documents itself.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Apply document-analysis first: Don't re-parse the document from scratch — get its type, structure, and section summaries from that skill.

    line 12
  2. Distinctive:

    Never approve by default: If review is incomplete or blocked, the output is "needs human review," not silence or an assumed pass.

    line 17
  3. Distinctive:

    Every policy requirement is checked individually and cited, not reviewed in aggregate.

    line 25
  4. Distinctive:

    Every finding is classified compliant / non-compliant / cannot-determine — no silent skips.

    line 26

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Compliance review

The playbook's own composability example, implemented literally: "a compliance skill might call a document analysis skill, which in turn uses a specialized extraction skill."

Workflow

  1. Apply document-analysis first. Don't re-parse the document from scratch — get its type, structure, and section summaries from that skill.
  2. Apply extraction for the specific fields the policy cares about. Pull only what's needed to check compliance (e.g. dates, amounts, required-clause presence) as structured fields, with source pointers.
  3. Check each policy requirement against the extracted fields, one at a time. Don't eyeball the whole document against the whole policy at once — go requirement by requirement, citing which extracted field or document section satisfies (or fails) each one.
  4. Classify each finding. Compliant / non-compliant / cannot-determine (missing information). "Cannot determine" is a valid, honest outcome — don't force a compliant/non-compliant call without evidence.
  5. Apply escalation criteria explicitly. See references/escalation-criteria.md for the standard triggers (this repo's synthetic example). Any match escalates regardless of how minor the rest of the review looks.
  6. Never approve by default. If review is incomplete or blocked, the output is "needs human review," not silence or an assumed pass.

Composition

Calls document-analysis then extraction as its first two steps, per the workflow above. Can be paired with legal-contract-review or financial-analysis when the compliance check is domain-specific.

Quality bar

  • Every policy requirement is checked individually and cited, not reviewed in aggregate.
  • Every finding is classified compliant / non-compliant / cannot-determine — no silent skips.
  • Escalation criteria are checked explicitly, every time, not just when something "looks bad."
  • The review never defaults to "compliant" in the absence of evidence.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.