USAspending for Openclaw

A comprehensive CLI tool for retrieving federal spending data, contracts, grants, and agency information directly from USAspending.gov.

aiwithabidi
v1.0.0
Mar 7, 2026
0
279
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install usaspending

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install usaspending using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is USAspending?

The USAspending skill provides a direct interface to the official federal spending database, allowing users to search and analyze billions of dollars in government awards. As a core component of the AgxntSix Skill Suite for Openclaw Skills, it enables AI agents and developers to extract structured financial data without the need for an API key or complex authentication processes.

Built using Python's standard library for maximum compatibility, this tool simplifies the process of tracking government contracts, identifying grant recipients, and monitoring agency spending. It serves as a vital bridge for research and transparency, delivering high-quality data in a machine-readable JSON format that is perfect for integration into larger automation pipelines.

USAspending Use Cases

  • Tracking federal contract awards and grant distributions for market research.
  • Auditing government agency spending trends over multiple fiscal years.
  • Performing recipient due diligence by searching funding histories and award details.
  • Identifying active CFDA programs to find relevant government assistance opportunities.
  • Automating the collection of federal financial data for reporting and data visualization.

How USAspending Works

  1. The user invokes the Python script with a specific command such as search-awards or list-agencies.
  2. The script processes input parameters like keywords, award types, or fiscal year filters.
  3. A request is sent to the public USAspending.gov API endpoints using standard Python libraries.
  4. The API returns federal financial records, which the script then cleans and structures.
  5. The final output is printed to the console in JSON format, making it ready for use by other tools in the Openclaw Skills ecosystem.

USAspending Setup

Ensure you have Python 3.10+ installed. This skill utilizes the standard library, so no additional pip installations are required.

To begin searching for awards, use the following command structure:

python3 scripts/usaspending.py search-awards --keywords "cybersecurity" --award-type "contracts"

USAspending Data Schema & Taxonomy

The skill returns structured JSON data. Below is the primary taxonomy for award-related queries:

Property Description
award_id The unique identifier for the federal contract or grant.
recipient_name The legal name of the entity receiving the funds.
awarding_agency The federal department responsible for the award.
amount The total obligated amount for the specific award.
fiscal_year The year in which the funds were allocated.
cfda_number The Catalog of Federal Domestic Assistance identifier for grants.

USAspending Advanced Features

  • Support for complex JSON filters to drill down into specific spending categories.
  • Time-series grouping for tracking financial allocations over fiscal years.
  • Detailed agency and recipient profile retrieval for deep-dive research.
  • Autocomplete search utility to help users find the correct search terms for entities.
  • Integration-ready design specifically optimized for Openclaw Skills and automated agents.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*