regulatory-fallback-research
它能做什么
这项技能在官方网站和网络工具无法响应时,引导 AI 智能体进行法规研究。它适合在无法访问主要来源时,需要合规摘要或清单的人。
适用场景
- ✓当你需要某个政府或受监管主题的合规摘要,而官方网站无法加载的时候。
- ✓当网页读取或搜索工具持续返回未知错误的时候。
- ✓当你需要一份清单草稿,并打算事后自己核对官方规则的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/regulatory-fallback-research/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我所在州的药房配药制定一份合规清单。官方网站无法加载。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先尝试官方来源。如果失败,它会记录失败情况,并请辅助智能体从其他来源寻找摘要和指南。然后它把找到的内容与已有知识结合起来,并注明哪些内容尚未核实。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Regulatory/Government Content Research with Fallback Strategy
Overview
When researching regulatory, government, or compliance-related content, primary sources (official websites, PDFs, regulatory databases) often become inaccessible due to tool failures, access restrictions, or technical issues. This skill provides a resilient workflow to complete research tasks despite these obstacles.
When to Use This Skill
Use this workflow when:
- You need to research regulatory/government content (FDA, CMS, DEA, state boards, etc.)
- Primary source tools (read_webpage, search_web) return 'unknown error' or fail repeatedly
- You need to produce compliance documentation, checklists, or regulatory summaries
Step-by-Step Procedure
Step 1: Attempt Primary Source Access
First, try to access official sources directly:
1. Use read_webpage on known regulatory URLs
2. Use search_web for specific regulatory queries
3. Attempt read_file on any available PDFs or documents
Expected outcomes:
- Success: Proceed with content extraction
- 'unknown error' or repeated failures: Document the failure and proceed to Step 2
Step 2: Deploy Shell Agent for Secondary Research
When primary tools fail, use shell_agent for alternative information gathering:
shell_agent task: "Research [topic] compliance requirements using alternative sources.
Search for summaries, guides, or cached versions of regulatory information.
Focus on established compliance frameworks and best practices."
Strategies for shell_agent:
- Request research from multiple angles (state vs federal, industry guides, etc.)
- Ask for aggregated information from secondary sources
- Request compliance checklist templates from industry resources
Step 3: Apply Domain Knowledge
When both primary and secondary research tools fail:
1. Acknowledge the tool limitations explicitly
2. State you will proceed using established domain knowledge
3. Create content based on well-known regulatory frameworks
Key domains to leverage:
- Pharmacy compliance: HIPAA, OBRA-90, controlled substance handling, prescription verification, drug storage, patient counseling
- Healthcare compliance: OSHA, HIPAA privacy/security, Medicare/Medicaid billing, infection control
- General regulatory: Documentation requirements, audit trails, staff training, record retention
Step 4: Produce Deliverables Despite Limitations
Continue to completion:
1. Create required outputs (checklists, summaries, documentation)
2. Note any limitations due to inaccessible sources
3. Recommend verification against current official sources
4. Structure content for easy updating when sources become available
Code Examples
Example: Handling Multiple Tool Failures
# Document failures transparently
"Note: Primary regulatory sources (FDA.gov, state board websites)
returned access errors. Content compiled from established
compliance frameworks and industry standards."
# Proceed with domain knowledge
create_pharmacy_checklist(
categories=["prescription_handling", "controlled_substances",
"patient_counseling", "record_keeping"],
basis="OBRA-90 and standard pharmacy practice guidelines"
)
# Add verification disclaimer
"Recommendation: Verify all requirements against current state
board regulations before implementation."
Example: Shell Agent Fallback Query
shell_agent task: "Gather pharmacy compliance requirements from
secondary sources including:
1. Industry association guidelines (NCPDP, ASHP)
2. Academic pharmacy practice resources
3. State board examination study materials
4. Compliance training program outlines
Compile into structured checklist format."
Best Practices
Never abandon the task - Tool failures are common with government sites; persist using available methods
Be transparent - Always document which sources were inaccessible and what basis you used instead
Structure for updates - Create modular content that can be easily revised when sources become available
Prioritize safety-critical items - When uncertain, include conservative compliance measures
Recommend verification - Always advise end-users to verify against current official sources
Common Failure Scenarios
| Failure | Fallback Action |
|---|---|
| read_webpage 'unknown error' | Try search_web, then shell_agent |
| search_web 'unknown error' | Try shell_agen |
常见问题
这个回答会对照官方来源核实吗?
这项技能要求智能体标注哪些要点无法核实,以便你向官方来源核对。
它能取代阅读官方规则吗?
不能。这项技能把输出视为起点,并建议核对主要来源。
辅助智能体是做什么的?
当主要工具失败时,它用于次要研究,例如寻找摘要和指南。
详情
作者的原始描述
Handle tool failures when researching regulatory/government content by using fallback methods and domain knowledge
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12964
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。