360 Secure SkillHub
360 安全技能中心

Usaspending

该 Skill 提供一个基于 Python 标准库的命令行脚本,用于查询 USAspending.gov 的联邦支出数据:可按关键词检索奖项与受赠方、查看奖项/受赠方/机构详情、列出顶级机构与 CFDA 项目、按类别或时间汇总支出,并支持自动补全。所有命令输出 JSON,无需 API 密钥。

aiwithabidi
aiwithabidi
热度 49.04
最近更新 2026-05-10 17:41:45
分类:数据依赖:代码执行 / 第三方 API应用场景:研究 / 数据处理 / 财务 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add usaspending
Metadata
name
usaspending
description
USAspending.gov — federal spending data, contracts, grants, awards, agencies, and recipient search. No API key required.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"🏛️","requires":{},"primaryEnv":"","homepage":"https://www.agxntsix.ai"}}

🏛️ USAspending

USAspending.gov — federal spending data, contracts, grants, awards, agencies, and recipient search. No API key required.

Requirements

No API key required for basic usage.

Quick Start

# Search federal awards
python3 {{baseDir}}/scripts/usaspending.py search-awards --keywords <value> --award-type "contracts" --limit "25" --page "1"

# Get award details
python3 {{baseDir}}/scripts/usaspending.py get-award <id>

# Search recipients
python3 {{baseDir}}/scripts/usaspending.py search-recipients --keyword <value> --limit "25"

# Get recipient details
python3 {{baseDir}}/scripts/usaspending.py get-recipient <id>

# List top-tier agencies
python3 {{baseDir}}/scripts/usaspending.py list-agencies

# Get agency details
python3 {{baseDir}}/scripts/usaspending.py get-agency --code <value>

# Spending by category
python3 {{baseDir}}/scripts/usaspending.py spending-by-category --category "awarding_agency" --filters "JSON"

# Spending over time
python3 {{baseDir}}/scripts/usaspending.py spending-over-time --group "fiscal_year" --filters "JSON"

# List CFDA programs
python3 {{baseDir}}/scripts/usaspending.py list-cfda

# Autocomplete search
python3 {{baseDir}}/scripts/usaspending.py autocomplete --search-text <value>

Output Format

All commands output JSON by default.

Script Reference

Script Description
{baseDir}/scripts/usaspending.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation