JordanCoin

Openfoia β€” Data skill for Claude Code

Data community

Local-first FOIA automation with AI-powered document analysis.

How to install Openfoia

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JordanCoin/openfoia and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Openfoia does

Local-first FOIA automation with AI-powered document analysis. Your data never leaves your machine. πŸ”’πŸ‡ΊπŸ‡Έ

Alternatives in Data

  • Data Contract β€” This document defines which files belong to the system (auto-updatable) and which belong to the user (never to 32.5k β˜…
  • Azure Form Recognizer Java β€” Document analysis and form extraction 1.8k β˜…
  • Agentsview β€” Local-first session intelligence and analytics for coding agents, supporting Claude Code, Codex, and 14 other 824 β˜…

README

OpenFOIA

**Local-first investigation toolkit for journalists, researchers, and citizens.**

Your data never leaves your machine. Works offline. Works everywhere.

*One real government document β†’ 45 entities, 166 relationships, extracted locally in seconds. No cloud. No API keys.*

![Entity relationship graph β€” 45 entities, 166 relationships extracted from a Palantir police surveillance contract pulled from DocumentCloud](docs/entity-graph.png)

![Built-in document reader with entity highlighting β€” click any entity to jump to it in the source text, with a link to the original document](docs/document-reader.png)


Install

With Claude Code (recommended)

If you use [Claude Code](https://claude.ai/code), install the OpenFOIA plugin β€” you get the CLI plus a built-in copilot that knows every command:

/plugin marketplace add JordanCoin/openfoia
/plugin install openfoia@openfoia
/foia-install

The plugin ships a skill that teaches Claude how to run FOIA investigations, plus slash commands for the core loop: `/foia-search`, `/foia-investigate`, `/foia-graph`, `/foia-install`. The last one bootstraps the CLI on your machine.

Shell install (no Claude Code needed)

curl -fsSL https://raw.githubusercontent.com/JordanCoin/openfoia/main/install.sh | bash

Works on Linux, macOS, and Windows (WSL).

New to OpenFOIA? Run `openfoia guide` after installing.

What It Does

File FOIA requests. Analyze documents. Extract entities. Build relationship graphs. Cross-reference against public databases. All locally, all offline, all purgeable.

openfoia init                                          # 53 federal agencies pre-loaded
openfoia records search "EPA water" --source muckrock       # search 46k+ completed FOIA requests
openfoia records search "Palantir" --source documentcloud  # search 10M+ public documents
openfoia records fetch 3411897 --source documentcloud      # pull full text into local database
openfoia records download 68490 -