Skill v1.0.2
currentAutomated scan100/1001 files
version: "1.0.2" name: regulatory-research-fallback description: Fallback workflow for regulatory research when web extraction tools fail on government PDFs
Regulatory Research Fallback Workflow
This skill provides a systematic approach to gathering regulatory/compliance information when primary web extraction tools fail on government or regulatory website URLs.
When to Use This Skill
read_webpagereturns "unknown error" on .gov or regulatory PDF URLssearch_webfails to retrieve current regulatory information- You need to create compliance checklists or regulatory documentation
- Primary sources are inaccessible but the task must be completed
Step-by-Step Procedure
Step 1: Attempt Primary Source Extraction
First, try standard web extraction tools:
1. Use read_webpage on the regulatory URL2. Use search_web for supplementary regulatory information3. Document which tools failed and with what errors
Step 2: Activate Fallback - Shell Agent Research
When primary tools fail, delegate to shell_agent for secondary research:
Task: "Research [TOPIC] compliance requirements using available system tools.Gather information from alternative sources including:- State/federal regulatory summaries- Industry compliance guides- Professional association resourcesFocus on actionable checklist items for [SPECIFIC REQUIREMENT]"
Example shell_agent task for pharmacy compliance:
"Research pharmacy compliance requirements for [state]. Gather informationabout licensing, storage, dispensing, and documentation requirements fromavailable sources. Create structured notes on mandatory compliance areas."
Step 3: Apply Domain Knowledge
When sources remain inaccessible, use established domain knowledge:
For pharmacy compliance, standard areas include:- Licensing and registration requirements- Controlled substance handling- Prescription record-keeping- Storage and security protocols- Patient counseling requirements- Continuing education obligations
Step 4: Create Documentation with Confidence Levels
Structure output with clear sourcing transparency:
## [Requirement Area]**Status**: Based on standard regulatory framework (primary sources inaccessible)**Key Requirements**:-[Item 1] - Standard industry requirement-[Item 2] - Common regulatory expectation-[Item 3] - Best practice guideline**Note**: Verify with [specific agency] for jurisdiction-specific requirements
Step 5: Flag Verification Needs
Always include disclaimers when using fallback approach:
⚠️ **Verification Required**: This checklist was created using secondarysources due to primary regulatory website inaccessibility. Please verifyall requirements with the official [Agency Name] before implementation.
Key Principles
- Persevere through failures - Tool errors don't mean task failure
- Layer your research - Try multiple approaches before concluding information is unavailable
- Be transparent - Clearly mark when information comes from secondary sources
- Provide value anyway - A best-effort checklist is better than no guidance
- Flag verification needs - Help users understand what needs official confirmation
Example Output Structure
# [Compliance Area] Checklist## Source TransparencyThis document was created using secondary research methods due toinaccessibility of primary regulatory sources. All items should beverified with official authorities.## Core Requirements[Checklist items based on standard regulatory framework]## Verification Steps[List of specific items requiring official confirmation]## Recommended Next Actions1.Contact [Agency] for current requirements2.Review [Official Publication] when accessible3.Consult with [Professional Association] for updates
Applicable Domains
This workflow applies to:
- Pharmacy/healthcare compliance
- Financial regulatory requirements
- Environmental compliance
- Building codes and permits
- Employment law requirements
- Any jurisdiction-specific regulatory research
name: regulatory-research-fallback category: workflow version: 1.0