← Back to Skills Marketplace
748
Downloads
2
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install fred-navigator
Description
Navigate FRED categories and series using fredapi, supporting natural-language queries with intent recognition and double validation.
README (SKILL.md)
FRED Navigator
Purpose
Provide a reliable workflow to navigate FRED categories and series, with support for:
- Direct
category_id - Direct
series_id - Natural-language
query→ intent recognition → double validation
Inputs
category_id: FRED category idseries_id: FRED series idquery: natural language requestlimit: number of candidates to return (default 5)api_key: read from environmentFRED_API_KEYonly
Required Resources
references/fred_categories_tree.jsonreferences/fred_categories_flat.json- Optional:
references/category_paths.json(precomputed) - Optional:
references/synonyms.json - Helper script:
scripts/fred_query.py - Path builder:
scripts/build_paths.py
Optional Resource Structure Notes
references/category_paths.jsonformat:{ "category_id": { "id": \x3Cint>, "name": "\x3Cstr>", "path": "\x3Cstr>" }, ... }
references/synonyms.jsonformat:{ "concept": ["alias1", "alias2", ...], ... }
Workflow
1. Category Exploration
- Load
fred_categories_tree.jsonfor hierarchical browsing. - If user provides
category_id, validate it exists. - If user provides
category_name, fuzzy match againstflatnames and return candidates.
2. Series Discovery
- Use
search_by_category(category_id)to list available series. - Prefer
scripts/fred_query.py category \x3Cid>for consistent output. - Return key columns:
id,title,frequency,units,seasonal_adjustment,last_updated.
3. Series Retrieval
- Use
get_series(series_id)for time series. - Use
get_series_info(series_id)for metadata. - Prefer
scripts/fred_query.py series \x3Cid>andscripts/fred_query.py series-info \x3Cid>. - Provide:
- data head/tail
- missing counts
- latest value and date
4. Natural Language Query
4.1 Intent Identification (Top-K)
- Use the IDE agent (Codex) to interpret the natural-language intent.
- Select the single best-matching category.
- If confidence is low, ask the user to confirm the category before proceeding.
- Use
references/category_paths.jsonandreferences/synonyms.jsonas supporting context if available.
4.2 Double Validation
Structural validation
- Candidate must exist in
fred_categories_tree.json. - Pass if at least one:
childrennon-emptysearch_by_category(id)returns >= 1 series- Prefer
scripts/fred_query.py check-category \x3Cid>for a quick check
Semantic validation (agent)
- Compare
querywith candidatename/path. - Return
pass/failor numeric relevance score.
4.3 Decision
- If structural + semantic validation both pass → accept category.
- Otherwise:
- return Top-5 candidates
- ask user to choose one explicitly
Failure Handling
- Always provide Top-5 candidates when uncertain.
- Never proceed to series retrieval if category validation fails.
Notes
- Do not hardcode API keys.
- Keep heavy reference data in
references/, not in this file. - When running Python functions for querying, execute them inside the sandbox environment.
Maintenance
- Update workflow or constraints: edit
SKILL.md. - Update category data: replace files in
references/. - Improve natural-language matching: add or edit
references/synonyms.json(key → list of related terms). - Regenerate precomputed paths (optional): run
scripts/build_paths.py. - Add helper scripts (optional): place in
scripts/and document usage here.
Usage Guidance
This package appears to implement exactly what it claims (FRED category/series navigation using fredapi) and contains only local helper scripts and reference JSON data. Before installing: (1) Note the runtime requires a FRED API key via the environment variable FRED_API_KEY — the registry metadata does not declare this, so you must supply it manually; (2) Review the large reference JSON files if you care about disk usage or data provenance; (3) The scripts will make network calls to FRED via fredapi (the official FRED API), so only provide an API key you trust and keep it secret; (4) Run the code in a sandboxed environment as suggested (it will abort if FRED_API_KEY is missing); and (5) If you plan to install widely, ask the publisher or registry to update the metadata to declare FRED_API_KEY so the requirement isn't silently omitted. If you want me to, I can extract the exact places the code reads environment variables and list the network endpoints it will call.
Capability Analysis
Type: OpenClaw Skill
Name: fred-navigator
Version: 1.0.0
The skill instructs the AI agent to execute local Python scripts (`scripts/fred_query.py`) with user-provided inputs (e.g., `category_id`, `series_id`) as outlined in `SKILL.md`. This creates a significant shell injection vulnerability if the agent constructs and executes these commands directly via a shell without proper sanitization, potentially allowing arbitrary code execution. While the Python script itself uses `argparse` for input, the agent's method of execution is the critical point of risk. Additionally, `scripts/fred_query.py` modifies the default SSL context, which is a minor flag.
Capability Assessment
Purpose & Capability
Name/description, Python deps (fredapi, pandas), helper scripts, and large reference JSON files all align with a FRED category/series navigation skill. The included scripts implement category listing, series retrieval, path-building and checks that are coherent with the stated purpose.
Instruction Scope
SKILL.md instructs the agent to read local reference files and run helper scripts (scripts/fred_query.py, scripts/build_paths.py) and to use the IDE agent for intent recognition. Those instructions stay within the stated FRED navigation scope. However SKILL.md requires reading FRED_API_KEY from the environment and instructs running Python helpers in a sandbox; the runtime scripts also abort if FRED_API_KEY is missing — this requirement is not reflected in the registry metadata.
Install Mechanism
There is no install spec (instruction-only install). The repo includes requirements.txt listing known Python packages (fredapi, pandas) and only local code and large reference JSON files. No external download URLs or archive extraction are used by the skill bundle itself.
Credentials
The runtime explicitly requires a FRED API key via the environment variable FRED_API_KEY (scripts/fred_query.py calls os.getenv and exits if missing), which is appropriate and proportional to the skill. The problem is that the registry metadata lists no required env vars — this mismatch is an incoherence that could mislead users into installing without supplying required credentials or expecting different behavior.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and contains no install-time persistence mechanism. Autonomous invocation is allowed (default) but not combined with any unusually broad privileges in this package.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fred-navigator - After installation, invoke the skill by name or use
/fred-navigator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of fred-navigator.
- Enables navigation of FRED categories and series using direct IDs or natural-language queries.
- Implements intent recognition and double validation for reliable category selection.
- Returns Top-5 candidates when query confidence is low or validation fails.
- Provides structured workflow for series lookup and metadata retrieval.
- Requires external references and scripts for data lookup and path building; does not hardcode API keys.
Metadata
Frequently Asked Questions
What is FRED-Navigator?
Navigate FRED categories and series using fredapi, supporting natural-language queries with intent recognition and double validation. It is an AI Agent Skill for Claude Code / OpenClaw, with 748 downloads so far.
How do I install FRED-Navigator?
Run "/install fred-navigator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is FRED-Navigator free?
Yes, FRED-Navigator is completely free (open-source). You can download, install and use it at no cost.
Which platforms does FRED-Navigator support?
FRED-Navigator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created FRED-Navigator?
It is built and maintained by kiszly (@kiszly); the current version is v1.0.0.
More Skills