analyze-contract

Trace government contract subcontractor chains and payment anomalies via USASpending, HigherGov, and SAM.gov APIs.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/tcole333/ithildin --skill analyze-contract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-contract
Source: https://github.com/tcole333/ithildin/tree/main/.claude/skills/analyze-contract
Command: npx skills add https://github.com/tcole333/ithildin --skill analyze-contract

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uvicorn, pyyaml, requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit automates the process of investigating and analyzing government contracts to identify patterns, anomalies, and relationships, making complex forensics accessible.

Core Features & Use Cases

  • Contract Lifecycle Tracing: Follows government contracts from prime awards to subcontractor chains, payment timelines, vehicle competition, and partnerships.
  • Payment Anomaly Detection: Identifies irregular payment patterns, potentially indicating financial irregularities.
  • Cross-Reference Analysis: Links contractors to an investigation database for flagging relevant entities.

Quick Start

Use the analyze-contract skill to trace a government contract and uncover patterns with the command: /analyze-contract "Palantir Technologies".

Frequently Asked Questions about analyze-contract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace subcontractor chains in government contracts?

Tracing subcontractor chains in government contracts requires querying USASpending, HigherGov, and SAM.gov APIs to map prime awards to downstream partnerships. This analysis automates that data retrieval to trace the full contract lifecycle from prime awards to subcontractors.

What is contract forensics for government transaction data?

Contract forensics is the investigation of government transaction data to detect payment anomalies and hidden partnerships. This Skill automates that process by cross-referencing contractors against investigation databases to flag relevant entities and irregular payment patterns.

How do I detect payment anomalies in USASpending contract data?

Detecting payment anomalies in USASpending data involves analyzing payment timelines across awarded contracts to identify irregular patterns. The Skill parses transaction data to flag potentially irregular payments indicating financial irregularities.

Can I analyze government contracts using Python without manual API queries?

Yes, analyzing government contracts is possible using Python with automated querying and parsing tools. The Skill requires Python to query USASpending, HigherGov, and SAM.gov APIs, handling the data retrieval and parsing without manual intervention.

Does this government contract analysis tool require SAM.gov registration data?

Yes, the analysis utilizes SAM.gov APIs alongside USASpending and HigherGov to cross-reference contractors. It links contractor entities to an investigation database, flagging relevant entities by querying these three platforms.

What are the limitations of automated contract forensics for transaction analysis?

Automated contract forensics relies on data availability from USASpending, HigherGov, and SAM.gov APIs. Analysis is limited to the transaction data these APIs expose, meaning anomalies in undocumented subcontractor agreements or private payment channels will not be detected.