Openfec

v1.0.0

OpenFEC — campaign finance data, candidates, committees, filings, and contribution search.

0· 264·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for aiwithabidi/openfec.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Openfec" (aiwithabidi/openfec) from ClawHub.
Skill page: https://clawhub.ai/aiwithabidi/openfec
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: FEC_API_KEY
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install openfec

ClawHub CLI

Package manager switcher

npx clawhub@latest install openfec
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the code and required env var. The only required secret is FEC_API_KEY, which is exactly what's needed to call the FEC API.
Instruction Scope
SKILL.md instructs running the bundled Python CLI and the script does only HTTP calls to the official OpenFEC API. As a convenience, the script will fall back to reading a .env file from WORKSPACE or ~/.openclaw/workspace — it only extracts the requested env name, but this file access is outside the minimal expectation of 'read process env' and is worth noting.
Install Mechanism
No install spec — instruction-only skill with a single stdlib Python script. Nothing is downloaded or written to disk by an installer.
Credentials
Only FEC_API_KEY is declared and used. The script's fallback to read a .env file is limited to the requested variable name and does not enumerate or exfiltrate other envs.
Persistence & Privilege
Skill does not request always:true and does not modify other skills or system-wide settings; it is user-invocable only.
Assessment
This skill appears to do what it claims: a small CLI that calls api.open.fec.gov and uses a single FEC_API_KEY. Before installing, confirm you trust the skill author/homepage and consider these points: (1) the script will try a fallback .env at $WORKSPACE or ~/.openclaw/workspace — avoid storing unrelated secrets there if you want to limit exposure; (2) the code contains some URL/parameter bugs (unreplaced '{api_key}' in path strings) that are functional issues, not malicious behavior; (3) you can test with the DEMO_KEY or inspect/execute the script in a sandbox to verify network calls go only to https://api.open.fec.gov. If you need stronger assurance, ask the author for a signed release or run the code in an isolated environment.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🗳️ Clawdis
EnvFEC_API_KEY
Primary envFEC_API_KEY
latestvk97d1jhr2nnck86t5152tapbxh82awas
264downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

🗳️ OpenFEC

OpenFEC — campaign finance data, candidates, committees, filings, and contribution search.

Requirements

VariableRequiredDescription
FEC_API_KEYFEC API key (or DEMO_KEY)

Quick Start

# Search candidates
python3 {{baseDir}}/scripts/openfec.py search-candidates --q <value> --office <value> --state <value> --party <value> --cycle <value> --per-page "20"

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

# Get candidate financial totals
python3 {{baseDir}}/scripts/openfec.py candidate-totals <id> --cycle <value>

# Search committees
python3 {{baseDir}}/scripts/openfec.py search-committees --q <value> --committee-type <value> --per-page "20"

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

# List filings
python3 {{baseDir}}/scripts/openfec.py list-filings --candidate-id <value> --committee-id <value> --per-page "20"

# Search individual contributions
python3 {{baseDir}}/scripts/openfec.py search-contributions --contributor-name <value> --contributor-state <value> --min-amount <value> --max-amount <value> --per-page "20"

# Search disbursements
python3 {{baseDir}}/scripts/openfec.py search-disbursements --committee-id <value> --recipient-name <value> --per-page "20"

# Get election results
python3 {{baseDir}}/scripts/openfec.py election-results --office "president" --cycle <value>

# Totals by entity type
python3 {{baseDir}}/scripts/openfec.py get-totals --cycle <value>

Output Format

All commands output JSON by default.

Script Reference

ScriptDescription
{baseDir}/scripts/openfec.pyMain 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

Comments

Loading comments...