By defog-ai
Answer economic and financial data questions with real data from FactIQ — and publish shareable charts and reports.
A Claude Code plugin that lets Claude answer economic and financial data questions using FactIQ's data tools over HTTP — catalog search, read-only SQL, series lookup, market data, earnings-call search, and shareable chart publishing. Claude orchestrates the whole analysis itself; no codebase or database access is required, only a FactIQ account.
Inside Claude Code:
/plugin marketplace add defog-ai/factiq-claude-code-plugin
/plugin install factiq@factiq
This adds the skill (Claude invokes it automatically for economic/financial data questions) plus three slash commands:
| Command | Purpose |
|---|---|
/factiq:set-key | Store your FactIQ API key (guides you through getting one) |
/factiq:status | Check auth, plan, and monthly usage |
/factiq:ask <question> | Run a full analysis and get a shareable chart |
git clone [email protected]:defog-ai/factiq-claude-code-plugin.git ~/.claude/skills/factiq
The skill auto-invokes the same way; store your key with
python3 ~/.claude/skills/factiq/scripts/factiq.py set-key.
fiq_... key immediately — it is shown only once and cannot be
retrieved later (the server stores only a hash).Then run /factiq:set-key in Claude Code and follow the instructions. The
key is verified against the API and cached in ~/.factiq/config.json
(chmod 600) — never stored in this folder. Alternatively, set the
FACTIQ_API_KEY env var, which overrides the config.
SKILL.md — the skill definition Claude loads (setup, workflow, limits)commands/ — the /factiq:* slash commandsscripts/factiq.py — self-contained stdlib-only CLI for the FactIQ
/tools/* API (Python 3.10+, no dependencies)references/ — SQL idioms, ChartSpec format, and dataset schema overview.claude-plugin/ — plugin + marketplace manifestsThe CLI targets https://api.worlddb.ai (API) and https://www.factiq.com
(share links) by default. Override with FACTIQ_API_URL / FACTIQ_WEB_URL
env vars or --base-url / --web-url flags — e.g. http://localhost:8000
and http://localhost:3000 for local development against the worlddb repos.
set-key remembers the URL it verified the key against in the config file.
If that remembered URL later stops working (say, a local dev server that is
no longer running), the next set-key run falls back to verifying against
the default API and saves that instead — explicit --base-url /
FACTIQ_API_URL overrides are always honored as given, with no fallback.
No secrets belong in this repo. Auth uses per-user API keys (set-key
prompts via getpass; FACTIQ_API_KEY env var also works); the key lives only
in ~/.factiq/config.json. The backend stores keys hashed, and enforces a
1 request/second rate limit and a monthly tool-call quota per plan.
No model invocation
Executes directly as bash, bypassing the AI model
Runs pre-commands
Contains inline bash commands via ! syntax
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub defog-ai/factiq-claude-code-plugin --plugin factiqComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research