/source-compliance-gate
Evaluate source access, rights, robots, authorization, provenance, and freshness before automated acquisition or public reuse.
Claude Code
$ npx -y skills add jmagly/aiwg --skill source-compliance-gate --agent claude-code
Codex
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a codex -y
Cursor
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a cursor -y
Gemini CLI
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a gemini-cli -y
GitHub Copilot
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a github-copilot -y
OpenCode
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a opencode -y
Windsurf
$ npx skills add jmagly/aiwg --skill source-compliance-gate -a windsurf -y
SKILL.md
source-compliance-gate.SKILL.mdnamespace: 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`
Read more
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`
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Other skills on aiwg.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about source-compliance-gate.
- Which coding agents can use source-compliance-gate?
- source-compliance-gate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

