← 返回 Skills 市场
aipoch-ai

Funding Trend Forecaster

作者 AIpoch · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
104
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install funding-trend-forecaster
功能描述
Predict funding trend shifts using NLP analysis of grant abstracts from NIH, NSF, and Horizon Europe
使用说明 (SKILL.md)

Skill: Funding Trend Forecaster

ID: 200
Version: 1.0.0
Author: OpenClaw Agent
License: MIT


Overview

Funding Trend Forecaster is an intelligent analysis tool that uses Natural Language Processing (NLP) technology to analyze awarded project abstracts from major global research funding agencies (NIH, NSF, Horizon Europe) and predict funding preference shift trends for the next 3-5 years.

Features

  • Multi-source Data Collection: Automatically fetches awarded project data from NIH, NSF, Horizon Europe
  • NLP Deep Analysis: Uses advanced text mining techniques to extract topics, keywords, and research trends
  • Trend Prediction Model: Predicts funding direction changes based on time series analysis and topic modeling
  • Visualized Reports: Generates charts and trend reports for intuitive display of analysis results
  • Field Segmentation: Categorized analysis by medicine, engineering, natural sciences, and other fields

Installation

# Enter skill directory
cd skills/funding-trend-forecaster

# Install dependencies
pip install -r requirements.txt

# Download NLTK data
python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords'); nltk.download('wordnet')"

Dependencies

requests>=2.28.0
beautifulsoup4>=4.11.0
pandas>=1.5.0
numpy>=1.23.0
scikit-learn>=1.1.0
textblob>=0.17.1
nltk>=3.7
matplotlib>=3.6.0
seaborn>=0.12.0
wordcloud>=1.8.0
python-dateutil>=2.8.0

Usage

Command Line Interface

# Run full analysis workflow
python scripts/main.py --analyze-all --output report.json

# Analyze specific agency only
python scripts/main.py --source nih --months 6

# Generate visualization report
python scripts/main.py --visualize --input data.json --output charts/

# View trend forecast
python scripts/main.py --forecast --years 5 --output forecast.json

API Call

from scripts.main import FundingTrendForecaster

# Initialize forecaster
forecaster = FundingTrendForecaster()

# Collect data
forecaster.collect_data(sources=['nih', 'nsf', 'horizon_europe'], months=6)

# Execute analysis
results = forecaster.analyze_trends()

# Generate forecast
forecast = forecaster.predict_trends(years=5)

# Export report
forecaster.export_report(output_path='report.pdf', format='pdf')

Parameters

Parameter Type Default Required Description
--analyze-all flag false No Run full analysis workflow on all sources
--source string - No Specific agency to analyze (nih, nsf, horizon_europe)
--months int 6 No Number of months of historical data to analyze
--years int 5 No Years ahead for trend prediction
--visualize flag false No Generate visualization charts
--forecast flag false No Generate trend forecast
--input, -i string - No Input data file path (for visualization/forecast)
--output, -o string - No Output file path
--config string config.json No Path to configuration file

Data Sources

Agency Data Source URL Update Frequency
NIH https://reporter.nih.gov/ Daily
NSF https://www.nsf.gov/awardsearch/ Daily
Horizon Europe https://ec.europa.eu/info/funding-tenders/opportunities/ Weekly

Configuration

Create config.json file to customize analysis parameters:

{
  "sources": {
    "nih": {
      "enabled": true,
      "base_url": "https://reporter.nih.gov/",
      "max_results": 1000
    },
    "nsf": {
      "enabled": true,
      "base_url": "https://www.nsf.gov/awardsearch/",
      "max_results": 1000
    },
    "horizon_europe": {
      "enabled": true,
      "base_url": "https://ec.europa.eu/info/funding-tenders/",
      "max_results": 500
    }
  },
  "nlp": {
    "language": "en",
    "min_word_length": 3,
    "max_topics": 20,
    "stop_words": ["research", "study", "project"]
  },
  "forecast": {
    "method": "lda_trend",
    "confidence_level": 0.95,
    "years_ahead": 5
  }
}

Output Format

JSON Report Structure

{
  "metadata": {
    "generated_at": "2024-01-15T10:30:00Z",
    "data_period": "2023-07-01 to 2024-01-01",
    "sources": ["nih", "nsf", "horizon_europe"],
    "total_projects": 15420
  },
  "trend_analysis": {
    "top_keywords": [
      {"term": "artificial intelligence", "frequency": 342, "growth": 0.45},
      {"term": "climate change", "frequency": 298, "growth": 0.32}
    ],
    "emerging_topics": [
      {"topic": "Large Language Models", "projects": 89, "trend": "rising"},
      {"topic": "Carbon Capture", "projects": 156, "trend": "stable"}
    ],
    "funding_shifts": {
      "increasing": ["AI/ML", "Climate Tech", "Quantum Computing"],
      "decreasing": ["Traditional Materials", "Fossil Fuels Research"]
    }
  },
  "forecast": {
    "2025": {
      "predicted_hot_topics": ["Generative AI", "Gene Editing", "Fusion Energy"],
      "confidence": 0.87
    },
    "2026-2029": {
      "long_term_trends": ["AGI Safety", "Personalized Medicine", "Space Mining"],
      "confidence": 0.72
    }
  }
}

Architecture

funding-trend-forecaster/
├── scripts/
│   ├── main.py              # Main entry
│   ├── collectors/          # Data collection module
│   │   ├── __init__.py
│   │   ├── nih_collector.py
│   │   ├── nsf_collector.py
│   │   └── horizon_collector.py
│   ├── analyzers/           # NLP analysis module
│   │   ├── __init__.py
│   │   ├── text_processor.py
│   │   ├── topic_modeler.py
│   │   └── trend_detector.py
│   ├── predictors/          # Prediction module
│   │   ├── __init__.py
│   │   └── trend_forecaster.py
│   └── utils/               # Utility module
│       ├── __init__.py
│       ├── config.py
│       └── visualizer.py
├── data/                    # Data storage
│   ├── raw/
│   └── processed/
├── output/                  # Output directory
├── config.json              # Configuration file
├── requirements.txt         # Python dependencies
└── SKILL.md                 # This document

Roadmap

  • Basic architecture design
  • Core analysis module
  • More data source support (Wellcome Trust, JSPS, etc.)
  • Real-time data stream processing
  • Interactive web interface
  • Machine learning model optimization

License

MIT License - See LICENSE file in project root directory


Generated by OpenClaw Agent | Skill ID: 200

Risk Assessment

Risk Indicator Assessment Level
Code Execution Python scripts with tools High
Network Access External API calls High
File System Access Read/write data Medium
Instruction Tampering Standard prompt guidelines Low
Data Exposure Data handled securely Medium

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • API requests use HTTPS only
  • Input validated against allowed patterns
  • API timeout and retry mechanisms implemented
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no internal paths exposed)
  • Dependencies audited
  • No exposure of internal service architecture

Prerequisites

# Python dependencies
pip install -r requirements.txt

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support
安全使用建议
This skill appears to implement the advertised NLP and forecasting functionality, but there are a few red flags to check before installing or running it on a production machine: 1) Confirm the missing modules: SKILL.md claims collectors/analyzers files that are not in the package manifest — inspect scripts/main.py fully to ensure all collection code is present and readable. 2) Review all network endpoints in the code: make sure it only fetches from the public agency URLs you expect and does not post data to unknown servers or phone home. 3) Run in an isolated environment (container or VM) first and monitor network traffic while executing a small scrape to verify behavior and rate limits. 4) Limit scope via config.json (max_results, enabled sources) to avoid heavy scraping and possible IP blocking. 5) Because the skill downloads NLTK corpora at install time and installs PyPI packages, prefer running pip installs in a virtualenv; inspect requirements for supply-chain concerns. 6) Ask the author for provenance or a homepage/source repository — absence of a known source reduces trust. If you cannot inspect the full collector/analyzer code or cannot validate where data is being sent, avoid running it on sensitive hosts or with privileged credentials.
功能分析
Type: OpenClaw Skill Name: funding-trend-forecaster Version: 0.1.0 The `funding-trend-forecaster` skill is a legitimate NLP analysis tool designed to predict research grant trends from agencies like NIH and NSF. The implementation in `scripts/main.py` uses standard data science libraries (pandas, numpy, scikit-learn) for text processing and trend extrapolation, and while the `SKILL.md` documentation notes a high risk level due to intended network activities, the provided code is functional, transparent, and lacks any indicators of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name/description align with included code: NLP preprocessing, simple topic modeling, forecasting. The SKILL.md promises multi-source collection from NIH/NSF/Horizon Europe which is plausible for the task and does not require private credentials. However the documented architecture references collectors/analyzers modules (collectors/nih_collector.py, analyzers/*) that are not present in the file manifest (only scripts/main.py is shipped). That mismatch suggests the package is incomplete or the main file is expected to contain all functionality — the skill's claims are reasonable but the packaging is inconsistent.
Instruction Scope
Run instructions are explicit (pip install requirements, nltk.download, run scripts/main.py). The instructions require network access to download NLTK corpora and to fetch data from public agency sites (reporter.nih.gov, nsf.gov, ec.europa.eu). There are no instructions to read unrelated system files or to use secrets. Still, SKILL.md indicates automatic multi-source scraping — review the actual collectors code (or the remainder of main.py) to confirm scraping behavior, rate limits, and that no unexpected endpoints or telemetry are contacted.
Install Mechanism
No formal install spec in registry (instruction-only), but SKILL.md tells the user to pip install -r requirements.txt and to download NLTK data. That is a normal installation method but does pull packages from PyPI and will download NLTK corpora over the network. The requirements.txt is modest; there are minor duplicates (dateutil vs python-dateutil). No remote binary downloads or opaque third-party installers were specified.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. That is proportionate to publicly scraping/processing grant abstracts. There are no demands for unrelated secrets or broad cloud credentials.
Persistence & Privilege
The skill is not marked always:true and uses normal invocation. It does not request permanent agent privileges in the manifest. Nothing in the provided materials indicates modification of other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install funding-trend-forecaster
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /funding-trend-forecaster 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of Funding Trend Forecaster. - Predicts funding trend shifts using NLP analysis of grant abstracts from NIH, NSF, and Horizon Europe. - Features automated data collection, topic modeling, trend prediction, and visualized reporting. - Supports both CLI and Python API usage for flexible workflows. - Highly configurable via JSON, covering data sources, NLP parameters, and forecasting methods. - Includes detailed installation instructions, output schema, and security/risk assessment.
元数据
Slug funding-trend-forecaster
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Funding Trend Forecaster 是什么?

Predict funding trend shifts using NLP analysis of grant abstracts from NIH, NSF, and Horizon Europe. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。

如何安装 Funding Trend Forecaster?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install funding-trend-forecaster」即可一键安装,无需额外配置。

Funding Trend Forecaster 是免费的吗?

是的,Funding Trend Forecaster 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Funding Trend Forecaster 支持哪些平台?

Funding Trend Forecaster 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Funding Trend Forecaster?

由 AIpoch(@aipoch-ai)开发并维护,当前版本 v0.1.0。

💬 留言讨论