regulatory-research-fallback
它能做什么
这项技能帮助 AI 智能体在常用网络工具无法访问政府网站时收集合规信息。它适合需要法规清单和文档的人。
适用场景
- ✓当网页读取工具在 .gov 页面或法规 PDF 上返回未知错误的时候。
- ✓当搜索工具无法找到最新的法规信息的时候。
- ✓当主要来源无法访问,但你仍需制作合规清单的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/regulatory-research-fallback/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我所在州的药房制作一份执照与储存规定清单。.gov 页面无法打开。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先尝试常规网络工具,并记录哪些工具失败。然后,它会给辅助智能体一个明确的研究任务,针对摘要、州级指南和行业协会资源,并把结果整理成可执行的清单。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 URL
2. Use search_web for supplementary regulatory information
3. 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 resources
Focus on actionable checklist items for [SPECIFIC REQUIREMENT]"
Example shell_agent task for pharmacy compliance:
"Research pharmacy compliance requirements for [state]. Gather information
about licensing, storage, dispensing, and documentation requirements from
available 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 secondary
sources due to primary regulatory website inaccessibility. Please verify
all 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 Transparency
This document was created using secondary research methods due to
inaccessibility of primary regulatory sources. All items should be
verified with official authorities.
## Core Requirements
[Checklist items based on standard regulatory framework]
## Verification Steps
[List of specific items requiring official confirmation]
## Recommended Next Actions
1. Contact [Agency] for current requirements
2. Review [Official Publication] when accessible
3. 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
常见问题
辅助智能体查阅哪些来源?
这项技能列出了州级和联邦级摘要、行业合规指南以及专业协会资源。
这项技能会说明哪些工具失败了吗?
会。它要求智能体记录哪些工具失败,以及它们显示的错误。
这份清单是官方建议吗?
不是。它是一份工作草稿,应与官方规定进行核对。
详情
作者的原始描述
Fallback workflow for regulatory research when web extraction tools fail on government PDFs
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12965
- 许可证
- 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帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。