Atlas / Skills / revfactory / Regulatory Filing

Regulatory FilingSAFE

skills/revfactory/regulatory-filing
Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
—
License
Apache-2.0
Stars
1,297
01

Overview

An agent skill published by revfactory.

Read from source at commit 459e1bb8f76eOBSERVED · 2026-10-12
02

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

```markdown
---
name: regulatory-filing
description: "A full pipeline where an agent team collaborates to handle the entire process from requirements research to submission checklists for regulatory permits and filings. Use this skill for all document preparation related to permits, filings, and registrations — including requests like 'prepare permit documents', 'business registration documents', 'business license application', 'building permit preparation', 'food manufacturing permit', 'medical device licensing', 'prepare filing documents', 'required document list', 'permit requirements research', 'submission checklist'. Also supports validation and supplementation of existing documents. However, acting as a representative for electronic civil affairs submissions at administrative agencies, providing legal advice (replacing attorneys/administrative agents), or representing in administrative appeals/litigation is outside the scope of this skill."
---

# Regulatory Filing — Full Permit & Filing Pipeline

An agent team collaborates to generate the complete pipeline in one pass: requirements research → required document list → application drafting → attachment preparation → submission checklist.

## Execution Modes

**Agent Team** — 4 agents communicate directly via SendMessage and perform cross-validation.

## Agent Composition

| Agent | File | Role | Type |
|---------|------|------|------|
| requirements-investigator | `.claude/agents/requirements-investigator.md` | Laws & requirements research, required document list | general-purpose |
| document-drafter | `.claude/agents/document-drafter.md` | Application forms, business plans, form drafting | general-purpose |
| attachment-preparer | `.claude/agents/attachment-preparer.md` | Attachment preparation guide, consistency checks | general-purpose |
| submission-verifier | `.claude/agents/submission-verifier.md` | Final verification, submission checklist | general-purpose |

## Workflow

### Phase 1: Preparation (Orchestrator performs directly)

1. Extract from user input:
    - **Permit type**: What permit/registration/filing is being sought
    - **Industry/business content**: Specific business area
    - **Business location info** (optional): Address, area, facility status
    - **Applicant info** (optional): Individual/corporation, qualifications, experience
    - **Existing documents** (optional): Documents already prepared
2. Create a `_workspace/` directory at the project root
3. Organize the input and save to `_workspace/00_input.md`
4. If existing documents are provided, copy them to `_workspace/` and skip the corresponding phase
5. **Determine execution mode** based on the scope of the request (see "Mode by Task Scale" below)

### Phase 2: Team Formation and Execution

| Order | Task | Owner | Depends On | Output |
|------|------|------|------|--------|
| 1 | Requirements research & document list | investigator | None | `_workspace/01_requirements_research.md`, `_workspace/02_document_list.md` |
| 2a | Application form drafting | drafter | Task 1 | `_workspace/03_application_draft.md` |
| 2b | Attachment preparation guide | preparer | Task 1 | `_workspace/04_attachments_guide.md` |
| 3 | Submission verification & checklist | verifier | Tasks 2a, 2b | `_workspace/05_submission_checklist.md` |

Tasks 2a (application drafting) and 2b (attachment preparation) are executed **in parallel**.

**Team communication flow:**
- investigator completes → sends form types & entry notes to drafter, sends required document list & issuing offices to preparer
- drafter completes → sends entered figures & names to preparer (for consistency check), sends completed documents to verifier
- preparer completes → sends document preparation status & consistency check results to verifier
- verifier cross-validates all outputs. If 🔴 rejection reasons are found, sends correction requests to the relevant agent → rework → re-verification (maximum 2 times)

### Phase 3: Integration and Final Output

1. Review all files in `_workspace/`
2. Confirm all 🔴 rejection reasons in the verification report have been resolved
3. Report final summary to the user:
    - Requirements research report — `01_requirements_research.md`
    - Required document list — `02_document_list.md`
    - Application draft — `03_application_draft.md`
    - Attachment guide — `04_attachments_guide.md`
    - Submission checklist — `05_submission_checklist.md`

## Mode by Task Scale

| User Request Pattern | Execution Mode | Agents Deployed |
|----------------|----------|-------------|
| "Prepare the full set of permit documents" | **Full Pipeline** | All 4 agents |
| "Just tell me what documents I need" | **Requirements Research Mode** | investigator only |
| "Review this application" (existing file) | **Verification Mode** | verifier only |
| "Just draft the application" (requirements already known) | **Drafting Mode** | drafter + verifier |
| "Tell me how to prepare the attachments" | **Document Preparation Mode** | investigator + preparer |

**Leveraging existing files**: If the user provides existing documents, copy those files to the appropriate location in `_workspace/` and skip the corresponding agent's phase.

## Data Transfer Protocol

| Strategy | Method | Purpose |
|------|------|------|
| File-based | `_workspace/` directory | Storing and sharing primary outputs |
| Message-based | SendMessage | Real-time key information delivery, correction requests |
| Task-based | TaskCreate/TaskUpdate | Progress tracking, dependency management |

File naming convention: `{sequence}_{agent}_{output}.{extension}`

## Error Handling

| Error Type | Strategy |
|----------|------|
| Web search failure | Work from general legal knowledge base; note "verification of current regulations required" in the report |
| Ambiguous regulations | List multiple interpretations; recommend preliminary consultation with the competent authority |
| Insufficient user information | Insert placeholders + entry guide; pro
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · skill.no_frontmatter · CWE-1104
SKILL.md:1
Why it matters. SKILL.md lacks name/description frontmatter

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 459e1bb8f76efull audit observations/trust-audit/skill/revfactory__regulatory-filing.json · Report an issue / request a re-scan
04

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-12459e1bb8f76eSAFEB89first audit
05

Questions

Is Regulatory Filing safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Regulatory Filing access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

How current is this page?

The grade is for one exact copy of the source (459e1bb8f76e), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement