Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

regulationsgov-comments-fetch法规政府评论获取

Agent Skill

regulationsgov-comments-fetch 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

5

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:regulationsgov-comments-fetch(法规政府评论获取)
来源仓库:https://github.com/tiangong-ai/skills
仓库路径:skills/regulationsgov-comments-fetch
安装命令:
npx skills add https://github.com/tiangong-ai/skills --skill regulationsgov-comments-fetch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tiangong-ai/skills --skill regulationsgov-comments-fetch

简介

regulationsgov-comments-fetch 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它能辅助 Agent 结构化地组织政策反馈、匹配监管要求,并输出合规性分析报告。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 了解具体查询语法与返回格式。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Regulations.gov Comments Fetch

Core Goal

  • Fetch comments data from https://api.regulations.gov/v4/comments.
  • Filter by configurable time windows (lastModifiedDate or postedDate).
  • Apply optional filters (agencyId, commentOnId, searchTerm).
  • Return machine-readable JSON and optionally save JSONL records locally.
  • Keep execution observable with structured logs and optional log file.

Required Environment

  • Configure runtime with environment variables (see references/env.md).
  • Start from assets/config.example.env.
  • Load env values before running commands:
set -a
source assets/config.example.env
set +a

Workflow

  1. Validate effective configuration.
python3 scripts/regulationsgov_comments_fetch.py check-config --pretty
  1. Dry-run to verify query parameters without making remote calls.
python3 scripts/regulationsgov_comments_fetch.py fetch \
  --filter-mode last-modified \
  --start-datetime 2026-03-10T00:00:00Z \
  --end-datetime 2026-03-10T23:59:59Z \
  --max-pages 2 \
  --dry-run \
  --pretty
  1. Fetch comments with structure validation and logs.
python3 scripts/regulationsgov_comments_fetch.py fetch \
  --filter-mode last-modified \
  --start-datetime 2026-03-10T00:00:00Z \
  --end-datetime 2026-03-10T23:59:59Z \
  --agency-id EPA \
  --max-pages 3 \
  --max-records 300 \
  --output-dir ./data/regulationsgov-comments \
  --quarantine-dir ./data/regulationsgov-comments-quarantine \
  --log-level INFO \
  --log-file ./logs/regulationsgov-comments-fetch.log \
  --pretty

Built-in Robustness

  • Retry transient failures (429/500/502/503/504) with exponential backoff.
  • Respect Retry-After on rate-limit responses and stop if it exceeds configured cap.
  • Throttle request frequency with a minimum interval between requests.
  • Enforce safety caps:

- --max-pages limited by REGGOV_MAX_PAGES_PER_RUN - --max-records limited by REGGOV_MAX_RECORDS_PER_RUN

  • Validate transport and payload:

- HTTP/content-type checks - UTF-8 + JSON parse checks - JSON:API-style data/meta structure checks - comment item field checks (id, type, datetime field formats) - optional issue quarantine (--quarantine-dir)

Scope Decision

  • Keep one atomic endpoint implementation: comments list fetch.
  • Keep operations request-driven; do not add built-in scheduler/polling loops.
  • Preserve simple downstream integration by returning JSON and optional JSONL artifact.

References

  • references/env.md
  • references/regulationsgov-api-notes.md
  • references/regulationsgov-limitations.md
  • references/openclaw-chaining-templates.md

Script

  • scripts/regulationsgov_comments_fetch.py

OpenClaw Invocation Compatibility

  • Keep trigger metadata in name, description, and agents/openai.yaml.
  • Invoke in prompts with $regulationsgov-comments-fetch.
  • Keep the skill atomic: each invocation handles one configured window.
  • Use script parameters for fetch conditions (--filter-mode, time window, page caps).
  • If periodic polling is needed, let OpenClaw orchestrate repeated invocations externally.

OpenClaw Prompt Templates

Use these templates directly in OpenClaw and only replace bracketed placeholders.

  1. Recon (query plan check)
Use $regulationsgov-comments-fetch.
Run:
python3 scripts/regulationsgov_comments_fetch.py fetch \
  --filter-mode last-modified \
  --start-datetime [YYYY-MM-DDTHH:MM:SSZ] \
  --end-datetime [YYYY-MM-DDTHH:MM:SSZ] \
  --max-pages [N] \
  --dry-run \
  --pretty
Return only the JSON result.
  1. Fetch (time-window comments)
Use $regulationsgov-comments-fetch.
Run:
python3 scripts/regulationsgov_comments_fetch.py fetch \
  --filter-mode last-modified \
  --start-datetime [YYYY-MM-DDTHH:MM:SSZ] \
  --end-datetime [YYYY-MM-DDTHH:MM:SSZ] \
  --agency-id [OPTIONAL_AGENCY] \
  --max-pages [N] \
  --max-records [M] \
  --output-dir [OUTPUT_DIR] \
  --quarantine-dir [QUARANTINE_DIR] \
  --pretty
Return only the JSON result.
  1. Validate (quality gate)
Use $regulationsgov-comments-fetch.
Run:
python3 scripts/regulationsgov_comments_fetch.py fetch \
  --filter-mode posted \
  --start-date [YYYY-MM-DD] \
  --end-date [YYYY-MM-DD] \
  --max-pages 1 \
  --max-records 50 \
  --pretty
Check validation_summary.total_issue_count and stop_reason.
Return JSON plus one-line pass/fail verdict.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.33%
按下载量换算26

Claude

30.83%
按下载量换算22

Cursor

16.36%
按下载量换算12

Gemini CLI

8.61%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills