Skip to content
Back to skills

Source Compliance Gate

ASecurity

Evaluate source access, rights, robots, authorization, provenance, and freshness before automated acquisition or public reuse.

  • 211 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 21, 2026
ai-agentsgonoderailsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add jmagly/ai-writing-guide --skill source-compliance-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source Compliance Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source Compliance Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jmagly-source-compliance-gate-aiwg/badge)](https://www.skillsdirectory.com/skills/jmagly-source-compliance-gate-aiwg)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
namespace: aiwg
platforms: [all]
name: source-compliance-gate
description: Evaluate source access, rights, robots, authorization, provenance, and freshness before automated acquisition or public reuse.
script:
  entrypoint: scripts/source_compliance_gate.mjs
  runtime: node
  cwd: project-root
  argsHint: "<source-registry.json>"
triggers:
  - check whether a public source may be acquired
  - validate a civic source registry
  - review robots terms license and freshness
---

# Source Compliance Gate

## Process

1. Create a versioned source registry from `templates/source-registry.yaml`.
   Record owner, URL, API/feed/HTML/browser/OCR/manual-export/records/skip
   method, cadence, decision state, citation format, fallback, and provenance.
2. Run `aiwg run skill source-compliance-gate -- registry.json`.
3. Stop automated collection on prohibited/unknown terms, robots error or
   disallow, authorization uncertainty, control bypass, or expired approval.
4. Route jurisdiction, terms, license, and publication rights to a named human.
5. Compare observed and minimum records. An empty or under-count result follows
   the declared block/warn/authoritative-empty policy and never silently erases
   the reviewed last-good copy.

## Output

The executable emits a `compliance-gate-result` JSON report and exit `1` when
any blocking result exists. It validates observed fields; it does not decide
law, contractual permission, or fair use.

## References

- `schemas/source-registry.schema.json`
- `rules/civic-safety.md`
- `docs/research/civic-workflow-standards.md`
- `docs/research/legal-ethics-guardrails.md`
- `docs/research/control-source-matrix.md`

Files in this skill

  • SKILL.md1.6 KB
  • scripts/source_compliance_gate.mjs709 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.