fux-ingest

Batch-ingest URLs, PDFs, spreadsheets, and API specs into a governed draft rule review queue.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/arpitarya/fux --skill fux-ingest-arpitarya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fux-ingest
Source: https://github.com/arpitarya/fux/tree/main/archive/v0.1/fux/data/skills/ingest
Command: npx skills add https://github.com/arpitarya/fux --skill fux-ingest-arpitarya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning external documents — web pages, PDFs, Excel files, Word docs, images, and OpenAPI specs — into governed, reviewable rules is manual and error-prone. This Skill batch-ingests many sources at once, drafts each implied rule with provenance, and collects them into a single triage queue so nothing becomes active without human review. ## Core Features & Use Cases - Multi-format batch ingestion: Reads URLs (HTTP or CDP-rendered), PDF, Excel/CSV, Word, TXT/Markdown, images, JSON/YAML, and Swagger/OpenAPI specs, with partial-failure tolerance so one bad source never aborts the batch. - Provenance-tracked drafts: Every drafted rule is forced to status: draft and carries source, source_type, fetched, and source_hash, so fux ingest <id> --recheck later detects source or API contract drift. - Bounded link following and connectors: Optionally discovers documents linked from an HTML page (depth-1, same-origin, extension allow-list, capped) and ingests Jira/Confluence/GitHub items via server-side filtered queries — always list-and-confirm, never auto-active. - Token cost reduction: A deterministic reducer strips boilerplate and keeps rule-bearing sections before drafting, reporting before/after token counts. - Use Case: Point it at an OpenAPI spec and a regulatory PDF; it drafts one rule per endpoint contract and per regulatory clause, flags the regulatory items as verify-against-primary-source, and queues everything for human review and ratification. ## Quick Start Ask the agent to run /fux ingest on your source files or URLs, for example: ingest the OpenAPI spec at ./api/openapi.json and the PDF circular-2026.pdf into draft rules for review.

Frequently Asked Questions about fux-ingest

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

FAQPage Schema
How do I batch-ingest PDFs and web pages into governed rules?▼

Run /fux ingest with one or more URLs, file paths, or globs. The engine expands and dedups the source list, the agent extracts each source by type, and every implied rule is drafted as status: draft with provenance into a review queue.

How do I turn an OpenAPI or Swagger spec into rules?▼

Pass the spec file, raw-spec URL, or Swagger-UI page to /fux ingest. It drafts one rule per endpoint contract, required-param set, auth scheme, and deprecation, and a later --recheck flags contract drift when the spec changes.

Can ingested rules become active automatically?▼

No. Every ingested rule is forced to status: draft and lands in a review queue. A human must review it against the source and run /fux debate followed by fux ratify before it can bind.

Does link following turn ingestion into a web crawler?▼

No. --follow-links is opt-in and bounded: depth-1 only, same-origin by default, an extension allow-list excluding executables, and a cap of 20 links. Discovered links are listed and confirmed before ingestion.

How are OCR-read figures from images or scanned PDFs handled?▼

Figures read via OCR are treated as lower-confidence. Money amounts or regulatory figures get a verify-source note in the rule body and require human review against the original image or document before they can bind.

What happens when one source in a batch fails?▼

The batch is partial-failure-tolerant. A source that 404s or won't parse is recorded in the queue with status failed and a reason, and ingestion continues with the remaining sources.