usfiscaldata SKILL.md skillA
usfiscaldata from k-dense-ai/scientific-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add k-dense-ai/scientific-agent-skills/usfiscaldata@v1.5Pins v1.5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- k-dense-ai/scientific-agent-skills
- Path
skills/usfiscaldata/SKILL.md- Versions recorded
- 7
- Latest version
- v1.5, committed Oct 1, 2026
- First version recorded
- May 27, 2026
- Size
- 9,626 bytes
- Repository stars
- 56,497
- License
- MIT
Queries the U.S. Treasury Fiscal Data REST API for federal financial data. No API key required. Use for national debt (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates, foreign exchange rates, savings bonds, or U.S. government revenue and spending statistics.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# U.S. Treasury Fiscal Data API
Free, open REST API from the U.S. Department of the Treasury for federal financial data. No API key or registration required.
**Base URL:** `https://api.fiscaldata.treasury.gov/services/api/fiscal_service`
Browse [the current dataset catalog](https://fiscaldata.treasury.gov/datasets/) via the dataset search. Verify endpoint paths on each dataset's API Quick Guide — paths change over time.
## Installation
```bash
uv pip install requests pandas
```
## Quick Start
```python
import requests
import pandas as pd
BASE_URL = "https://api.fiscaldata.treasury.gov/services/api/fiscal_service"
# Get the current national debt (Debt to the Penny)
resp = requests.get(f"{BASE_URL}/v2/accounting/od/debt_to_penny", params={
"sort": "-record_date",
"page[size]": 1
}, timeout=30)
resp.raise_for_status()
data = resp.json()["data"][0]
print(f"Total public debt as of {data['record_date']}: ${float(data['tot_pub_debt_out_amt']):,.0f}")
```
```python
# Preview Treasury exchange-rate rows for recent quarters (first page only)
resp = requests.get(f"{BASE_URL}/v1/accounting/od/rates_of_exchange", params={
…Read the whole file at its exact version.
How to install
mdr add k-dense-ai/scientific-agent-skills/usfiscaldata@sha256:7cdcb756489ae8e9The line at the top of this page pins the label v1.5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_5cw2jmzqhn2foo62)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between May 27, 2026 and Oct 1, 2026, about one every 21 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.5 latest | 2026-10-01 | a92663a | 9,626 B | A | view · diff |
| v1.4 | 2026-09-30 | ce9e6e9 | 8,225 B | A | view · diff |
| v1.3 | 2026-09-10 | 27e3483 | 7,840 B | A | view · diff |
| v1.2 | 2026-09-02 | 1e5eeff | 7,840 B | A | view · diff |
| v1.1 | 2026-07-26 | b085e11 | 6,882 B | A | view · diff |
| git:20260611.1b8fae3 | 2026-06-11 | 1b8fae3 | 6,887 B | A | view · diff |
| v1.0 | 2026-05-27 | 0936740 | 6,489 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9626 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
k-dense-ai/scientific-agent-skills · 56,497 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5cw2jmzqhn2foo62 GET https://markdownregistry.com/api/v1/resolve?ref=k-dense-ai/scientific-agent-skills/usfiscaldata GET https://markdownregistry.com/api/v1/blob/7cdcb756489ae8e94a73df1eebfb9abef554e912af6559ebd28dffa021ab63d5
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from k-dense-ai/scientific-agent-skills
Every file in k-dense-ai/scientific-agent-skills