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に貼り付けるだけ。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エージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。